diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-25 17:30:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-25 17:30:49 +0300 |
commit | 144d3912928e260a1d0446351cb18dc1011477b7 (patch) | |
tree | 028325fd449f0e24806b09a1aa9fda8bd8896074 | |
parent | 86ea4ef67a3a4ee16ad41bdd2a5e8a0a19635068 (diff) | |
download | manaverse-144d3912928e260a1d0446351cb18dc1011477b7.tar.gz manaverse-144d3912928e260a1d0446351cb18dc1011477b7.tar.bz2 manaverse-144d3912928e260a1d0446351cb18dc1011477b7.tar.xz manaverse-144d3912928e260a1d0446351cb18dc1011477b7.zip |
Add Catalan language to language selection list.
-rw-r--r-- | data/graphics/flags/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/graphics/flags/Makefile.am | 1 | ||||
-rw-r--r-- | data/graphics/flags/ca.png | bin | 0 -> 398 bytes | |||
-rw-r--r-- | src/gui/models/langlistmodel.h | 10 |
4 files changed, 8 insertions, 4 deletions
diff --git a/data/graphics/flags/CMakeLists.txt b/data/graphics/flags/CMakeLists.txt index cba3f0a12..a61336461 100644 --- a/data/graphics/flags/CMakeLists.txt +++ b/data/graphics/flags/CMakeLists.txt @@ -1,4 +1,5 @@ SET(FILES + ca.png cn.png cz.png de.png diff --git a/data/graphics/flags/Makefile.am b/data/graphics/flags/Makefile.am index bf41796c8..2251ed45b 100644 --- a/data/graphics/flags/Makefile.am +++ b/data/graphics/flags/Makefile.am @@ -1,6 +1,7 @@ flagsdir = $(pkgdatadir)/data/graphics/flags flags_DATA = \ + ca.png \ cn.png \ cz.png \ de.png \ diff --git a/data/graphics/flags/ca.png b/data/graphics/flags/ca.png Binary files differnew file mode 100644 index 000000000..5041e308e --- /dev/null +++ b/data/graphics/flags/ca.png diff --git a/src/gui/models/langlistmodel.h b/src/gui/models/langlistmodel.h index f442982ff..97a921449 100644 --- a/src/gui/models/langlistmodel.h +++ b/src/gui/models/langlistmodel.h @@ -37,17 +37,21 @@ struct Language final std::string icon; }; -const int langs_count = 18; +const int langs_count = 19; const Language LANG_NAME[langs_count] = { // TRANSLATORS: language {N_("(default)"), "", ""}, // TRANSLATORS: language + {N_("Catalan"), "ca_ES", "ca.png"}, + // TRANSLATORS: language {N_("Chinese (China)"), "zh_CN", "cn.png"}, // TRANSLATORS: language {N_("Czech"), "cs_CZ", "cz.png"}, // TRANSLATORS: language + {N_("Dutch (Belgium/Flemish)"), "nl_BE", "nl_BE.png"}, + // TRANSLATORS: language {N_("English"), "C", "en.png"}, // TRANSLATORS: language {N_("Finnish"), "fi_FI", "fi.png"}, @@ -60,11 +64,9 @@ const Language LANG_NAME[langs_count] = // TRANSLATORS: language {N_("Italian"), "it_IT", "it.png"}, // TRANSLATORS: language - {N_("Polish"), "pl_PL", "pl.png"}, - // TRANSLATORS: language {N_("Japanese"), "ja_JP", "jp.png"}, // TRANSLATORS: language - {N_("Dutch (Belgium/Flemish)"), "nl_BE", "nl_BE.png"}, + {N_("Polish"), "pl_PL", "pl.png"}, // TRANSLATORS: language {N_("Portuguese"), "pt_PT", "pt.png"}, // TRANSLATORS: language |