Bazaar developer reference

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

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

Code

522template<typename T1, typename T2, typename T3, typename T4, typename T5>523inline CvString GetLocalizedText(const char* szString, const T1& arg1, const T2& arg2, const T3& arg3, const T4& arg4, const T5& arg5)524{525	Localization::String text = Localization::Lookup(szString);526	text << arg1 << arg2 << arg3 << arg4 << arg5;527528	size_t bytes = 0;529	const char* szComposedString = text.toUTF8(bytes);530	CvString str;531	str.assign(szComposedString, bytes);532	return str;533}

Calls