diff options
author | DDuarte <dnpd.dd@gmail.com> | 2014-09-14 15:12:31 +0100 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2014-09-14 15:12:31 +0100 |
commit | 2e026fab0d5eec28d559e43ee7bfb4db20a6ca49 (patch) | |
tree | 66bde119186c85b0e95b9ed04b0902671dc8d5bc /src | |
parent | a432bc7168a74d5b890bad6fea03d95004172232 (diff) |
Tools/Extractors: Add new locales: ptBR, ptPT and itIT
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/map_extractor/System.cpp | 14 | ||||
-rw-r--r-- | src/tools/vmap4_extractor/vmapexport.cpp | 8 |
2 files changed, 15 insertions, 7 deletions
diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp index a4de6f92a8d..ab3ebda584d 100644 --- a/src/tools/map_extractor/System.cpp +++ b/src/tools/map_extractor/System.cpp @@ -111,17 +111,21 @@ uint32 const Builds[] = {13164, 13205, 13287, 13329, 13596, 13623, 13914, 14007, #define LAST_DBC_IN_DATA_BUILD 13623 // after this build mpqs with dbc are back to locale folder #define NEW_BASE_SET_BUILD 15211 -char const* Locales[] = +#define LOCALES_COUNT 15 + +char const* Locales[LOCALES_COUNT] = { "enGB", "enUS", "deDE", "esES", "frFR", "koKR", "zhCN", "zhTW", "enCN", "enTW", - "esMX", "ruRU" + "esMX", "ruRU", + "ptBR", "ptPT", + "itIT" }; -TCHAR const* LocalesT[] = +TCHAR const* LocalesT[LOCALES_COUNT] = { _T("enGB"), _T("enUS"), _T("deDE"), _T("esES"), @@ -129,10 +133,10 @@ TCHAR const* LocalesT[] = _T("zhCN"), _T("zhTW"), _T("enCN"), _T("enTW"), _T("esMX"), _T("ruRU"), + _T("ptBR"), _T("ptPT"), + _T("itIT"), }; -#define LOCALES_COUNT 12 - void CreateDir(std::string const& path) { if (chdir(path.c_str()) == 0) diff --git a/src/tools/vmap4_extractor/vmapexport.cpp b/src/tools/vmap4_extractor/vmapexport.cpp index fbb7cb87ebe..92878e680dc 100644 --- a/src/tools/vmap4_extractor/vmapexport.cpp +++ b/src/tools/vmap4_extractor/vmapexport.cpp @@ -77,7 +77,7 @@ uint32 const Builds[] = {13164, 13205, 13287, 13329, 13596, 13623, 13914, 14007, #define LAST_DBC_IN_DATA_BUILD 13623 // after this build mpqs with dbc are back to locale folder #define NEW_BASE_SET_BUILD 15211 -#define LOCALES_COUNT 12 +#define LOCALES_COUNT 15 char const* Locales[LOCALES_COUNT] = { @@ -86,7 +86,9 @@ char const* Locales[LOCALES_COUNT] = "frFR", "koKR", "zhCN", "zhTW", "enCN", "enTW", - "esMX", "ruRU" + "esMX", "ruRU", + "ptBR", "ptPT", + "itIT" }; TCHAR const* LocalesT[LOCALES_COUNT] = @@ -97,6 +99,8 @@ TCHAR const* LocalesT[LOCALES_COUNT] = _T("zhCN"), _T("zhTW"), _T("enCN"), _T("enTW"), _T("esMX"), _T("ruRU"), + _T("ptBR"), _T("ptPT"), + _T("itIT"), }; typedef struct |