aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2018-11-03 17:11:19 +0000
committerD G Turner2018-11-03 17:13:54 +0000
commit4c4ede54b91fd7b4f2cd8e24ee1e571e46b06474 (patch)
tree6a514cedf8625e10267f1098cf03eef18c11903c
parent75c6f2fd609b16d6f122bee8cd7a04e7a300f325 (diff)
downloadscummvm-rg350-4c4ede54b91fd7b4f2cd8e24ee1e571e46b06474.tar.gz
scummvm-rg350-4c4ede54b91fd7b4f2cd8e24ee1e571e46b06474.tar.bz2
scummvm-rg350-4c4ede54b91fd7b4f2cd8e24ee1e571e46b06474.zip
COMMON: Add Portuguese (Portugal) Language.
The current Portuguese entry is Brazilian dialect, so modifying the description and adding an entry for European Portuguese. This is required to deal with bug Trac #10791.
-rw-r--r--common/language.cpp3
-rw-r--r--common/language.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/common/language.cpp b/common/language.cpp
index 44e46c7ef4..a4cd1056d1 100644
--- a/common/language.cpp
+++ b/common/language.cpp
@@ -50,7 +50,8 @@ const LanguageDescription g_languages[] = {
{ "lv", "lv_LV", "Latvian", LV_LAT },
{ "nb", "nb_NO", "Norwegian Bokm\xE5l", NB_NOR },
{ "pl", "pl_PL", "Polish", PL_POL },
- { "br", "pt_BR", "Portuguese", PT_BRA },
+ { "br", "pt_BR", "Portuguese (Brazil)", PT_BRA },
+ { "pt", "pt_PT", "Portuguese (Portugal)", PT_POR },
{ "ru", "ru_RU", "Russian", RU_RUS },
{ "sk", "sk_SK", "Slovak", SK_SVK },
{ "es", "es_ES", "Spanish", ES_ESP },
diff --git a/common/language.h b/common/language.h
index ac3361b5ac..ed8305aac8 100644
--- a/common/language.h
+++ b/common/language.h
@@ -56,6 +56,7 @@ enum Language {
NB_NOR,
PL_POL,
PT_BRA,
+ PT_POR,
RU_RUS,
SK_SVK,
ES_ESP,