Bazaar developer reference

GetLocalizedText(const char *, const T1 &, const T2 &)

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

Code

483template<typename T1, typename T2>484inline CvString GetLocalizedText(const char* szString, const T1& arg1, const T2& arg2)485{486	Localization::String text = Localization::Lookup(szString);487	text << arg1 << arg2;488489	size_t bytes = 0;490	const char* szComposedString = text.toUTF8(bytes);491	CvString str;492	str.assign(szComposedString, bytes);493	return str;494}

Calls