summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-28 03:23:28 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-28 03:23:28 +0300
commit66e51db38d1b11aa74b38951238fc8a5501f87db (patch)
tree2d4c317350f6c255e609777cfec1b3da7cb898d9
parenta02df69300f6fb5e3423c904419d65591d906cad (diff)
downloadplus-66e51db38d1b11aa74b38951238fc8a5501f87db.tar.gz
plus-66e51db38d1b11aa74b38951238fc8a5501f87db.tar.bz2
plus-66e51db38d1b11aa74b38951238fc8a5501f87db.tar.xz
plus-66e51db38d1b11aa74b38951238fc8a5501f87db.zip
Add to language selection list language Chinese (Hong Kong).
-rw-r--r--data/graphics/flags/CMakeLists.txt1
-rw-r--r--data/graphics/flags/Makefile.am1
-rw-r--r--data/graphics/flags/hk.pngbin0 -> 527 bytes
-rw-r--r--src/gui/models/langlistmodel.h4
4 files changed, 5 insertions, 1 deletions
diff --git a/data/graphics/flags/CMakeLists.txt b/data/graphics/flags/CMakeLists.txt
index 363655df8..8bea02b66 100644
--- a/data/graphics/flags/CMakeLists.txt
+++ b/data/graphics/flags/CMakeLists.txt
@@ -7,6 +7,7 @@ SET(FILES
es.png
fi.png
fr.png
+ hk.png
id.png
it.png
jp.png
diff --git a/data/graphics/flags/Makefile.am b/data/graphics/flags/Makefile.am
index 6d7eb674a..d82fecf6c 100644
--- a/data/graphics/flags/Makefile.am
+++ b/data/graphics/flags/Makefile.am
@@ -9,6 +9,7 @@ flags_DATA = \
es.png \
fi.png \
fr.png \
+ hk.png \
id.png \
it.png \
jp.png \
diff --git a/data/graphics/flags/hk.png b/data/graphics/flags/hk.png
new file mode 100644
index 000000000..d5c380ca9
--- /dev/null
+++ b/data/graphics/flags/hk.png
Binary files differ
diff --git a/src/gui/models/langlistmodel.h b/src/gui/models/langlistmodel.h
index b7bb2c82b..38ccdc5d3 100644
--- a/src/gui/models/langlistmodel.h
+++ b/src/gui/models/langlistmodel.h
@@ -37,7 +37,7 @@ struct Language final
std::string icon;
};
-const int langs_count = 20;
+const int langs_count = 21;
const Language LANG_NAME[langs_count] =
{
@@ -48,6 +48,8 @@ const Language LANG_NAME[langs_count] =
// TRANSLATORS: language
{N_("Chinese (China)"), "zh_CN", "cn.png"},
// TRANSLATORS: language
+ {N_("Chinese (Hong Kong)"), "zh_HK", "hk.png"},
+ // TRANSLATORS: language
{N_("Czech"), "cs_CZ", "cz.png"},
// TRANSLATORS: language
{N_("Dutch (Belgium/Flemish)"), "nl_BE", "nl_BE.png"},