diff options
Diffstat (limited to 'src/server/shared/Common.cpp')
-rw-r--r-- | src/server/shared/Common.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/server/shared/Common.cpp b/src/server/shared/Common.cpp index 56e3c4faaf5..22560012b49 100644 --- a/src/server/shared/Common.cpp +++ b/src/server/shared/Common.cpp @@ -18,7 +18,8 @@ #include "Common.h" -char const* localeNames[TOTAL_LOCALES] = { +char const* localeNames[TOTAL_LOCALES] = +{ "enUS", "koKR", "frFR", @@ -27,13 +28,16 @@ char const* localeNames[TOTAL_LOCALES] = { "zhTW", "esES", "esMX", - "ruRU" + "ruRU", + "none", + "ptBR", + "itIT" }; LocaleConstant GetLocaleByName(const std::string& name) { for (uint32 i = 0; i < TOTAL_LOCALES; ++i) - if (name==localeNames[i]) + if (name == localeNames[i]) return LocaleConstant(i); return LOCALE_enUS; // including enGB case |