1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

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
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;
}