From 14e2afaacbede2c7d565a7f6bd0f1f22dc96f110 Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Wed, 10 Jun 2015 12:57:57 +0200 Subject: [PATCH] Fix Italian config --- src/config.c | 1 + src/platform/windows.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/config.c b/src/config.c index 9849a759d6..d514091732 100644 --- a/src/config.c +++ b/src/config.c @@ -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 }; diff --git a/src/platform/windows.c b/src/platform/windows.c index eed058f77b..cacfd1870a 100644 --- a/src/platform/windows.c +++ b/src/platform/windows.c @@ -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; }