Bazaar developer reference

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

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

Code

509template<typename T1, typename T2, typename T3, typename T4>510inline CvString GetLocalizedText(const char* szString, const T1& arg1, const T2& arg2, const T3& arg3, const T4& arg4)511{512	Localization::String text = Localization::Lookup(szString);513	text << arg1 << arg2 << arg3 << arg4;514515	size_t bytes = 0;516	const char* szComposedString = text.toUTF8(bytes);517	CvString str;518	str.assign(szComposedString, bytes);519	return str;520}

Calls