diff options
Diffstat (limited to 'src/common/Common.cpp')
-rw-r--r-- | src/common/Common.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/common/Common.cpp b/src/common/Common.cpp index 1d1beddddc6..0cc12877db1 100644 --- a/src/common/Common.cpp +++ b/src/common/Common.cpp @@ -19,21 +19,21 @@ char const* localeNames[TOTAL_LOCALES] = { - "enUS", - "koKR", - "frFR", - "deDE", - "zhCN", - "zhTW", - "esES", - "esMX", - "ruRU", - "none", - "ptBR", - "itIT" + "enUS", + "koKR", + "frFR", + "deDE", + "zhCN", + "zhTW", + "esES", + "esMX", + "ruRU", + "none", + "ptBR", + "itIT" }; -LocaleConstant GetLocaleByName(std::string const& name) +LocaleConstant GetLocaleByName(std::string_view name) { for (uint32 i = 0; i < TOTAL_LOCALES; ++i) if (name == localeNames[i]) |