Merge pull request #1293 from Gymnasiast/fix-italian

Fix Italian config
This commit is contained in:
Ted John 2015-06-10 13:05:00 +01:00
commit ff314f7664
2 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,7 @@ config_enum_definition _languageEnum[] = {
{ "pl-PL", LANGUAGE_POLISH },
{ "es-ES", LANGUAGE_SPANISH },
{ "sv-SE", LANGUAGE_SWEDISH },
{ "it-IT", LANGUAGE_ITALIAN },
END_OF_ENUM
};

View File

@ -632,6 +632,9 @@ uint16 platform_get_locale_language(){
else if (strcmp(langCode, "SVE") == 0){
return LANGUAGE_SWEDISH;
}
else if (strcmp(langCode, "ITA") == 0){
return LANGUAGE_ITALIAN;
}
return LANGUAGE_UNDEFINED;
}