Bazaar developer reference

GetLocalizedText(const char *)

Defined in
CvGameCoreUtils.h, line 459
Not a hook point
written in a header

Code

458//The following templates are used to aide migration from the old text system to the new one.459inline CvString GetLocalizedText(const char* szString)460{461	Localization::String text = Localization::Lookup(szString);462463	size_t bytes = 0;464	const char* szComposedString = text.toUTF8(bytes);465	CvString str;466	str.assign(szComposedString, bytes);467	return str;468}

Calls

Called by

75 functions in 19 files