diff options
author | Vincent-Michael <Vincent_Michael@gmx.de> | 2015-04-10 18:10:52 +0200 |
---|---|---|
committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2015-04-10 18:16:00 +0200 |
commit | 653954c14d6136295691e18d7e21918d46d0761f (patch) | |
tree | e842dec20cb3c73968ee65151c6c9176d12f3df3 /src/server/shared/Common.cpp | |
parent | 38def5969a3e3c7aa07f9ab6fdad0103ef265b21 (diff) |
Core/Misc:
- Update LocaleConstant enum
- Update Quest locale system for WoD
- Fix some rnd typo in quest template
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 |