mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
VS2003: Add missed fix to eliminate plLocalization::GetLocalizationCodes() on VS2003
This commit is contained in:
@ -57,6 +57,7 @@ const char* plLocalization::fLangTags[] =
|
||||
};
|
||||
const int kLangTagLen = 4;
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER >= 1800
|
||||
std::string fLangCodes_en[] = {"eng", "en"};
|
||||
std::string fLangCodes_fr[] = {"fre", "fra", "fr"};
|
||||
std::string fLangCodes_de[] = {"ger", "deu", "de"};
|
||||
@ -72,6 +73,7 @@ const std::set<std::string> plLocalization::fLangCodes[] =
|
||||
std::set<std::string>(std::begin(fLangCodes_it), std::end(fLangCodes_it)),
|
||||
std::set<std::string>(std::begin(fLangCodes_ja), std::end(fLangCodes_ja))
|
||||
};
|
||||
#endif
|
||||
|
||||
const char* plLocalization::fLangNames[] =
|
||||
{
|
||||
|
@ -77,7 +77,9 @@ public:
|
||||
protected:
|
||||
static Language fLanguage;
|
||||
static const char* fLangTags[kNumLanguages];
|
||||
#if defined(_MSC_VER) && _MSC_VER >= 1800
|
||||
static const std::set<std::string> fLangCodes[kNumLanguages];
|
||||
#endif
|
||||
static const char* fLangNames[kNumLanguages];
|
||||
static bool fUsesUnicode[kNumLanguages];
|
||||
static encodingTypes fUnicodeEncoding[kNumLanguages];
|
||||
|
Reference in New Issue
Block a user