1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fix Italian config

This commit is contained in:
Gymnasiast
2015-06-10 12:57:57 +02:00
parent 472d546542
commit 14e2afaacb
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;
}