summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-05 01:34:05 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-05 01:57:11 +0300
commit644b2b7eb21e6348c814af7d438975db35c847b2 (patch)
tree88071185e0e58fdcc355a09baddb649d1f9dd99e
parenta498132aa32be5fdf8d4227a7332016fc90ed87d (diff)
downloadplus-644b2b7eb21e6348c814af7d438975db35c847b2.tar.gz
plus-644b2b7eb21e6348c814af7d438975db35c847b2.tar.bz2
plus-644b2b7eb21e6348c814af7d438975db35c847b2.tar.xz
plus-644b2b7eb21e6348c814af7d438975db35c847b2.zip
add Turkish language.
-rw-r--r--po/LINGUAS2
-rw-r--r--src/gui/setup_theme.cpp5
2 files changed, 4 insertions, 3 deletions
diff --git a/po/LINGUAS b/po/LINGUAS
index aed6d68d8..7b38dbd60 100644
--- a/po/LINGUAS
+++ b/po/LINGUAS
@@ -32,7 +32,7 @@ ru
#sv # Not enough translations
#te # Disabled because of current client limitations (font fallbacking)
#th # Disabled because of current client limitations (font fallbacking)
-#tr # Not enough translations
+tr
#uk # Not enough translations
zh_CN
#zh_HK # Disabled because of current client limitations (font fallbacking)
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp
index 9c618473e..d95dc368a 100644
--- a/src/gui/setup_theme.cpp
+++ b/src/gui/setup_theme.cpp
@@ -120,7 +120,7 @@ struct Language final
std::string icon;
};
-const int langs_count = 16;
+const int langs_count = 17;
const Language LANG_NAME[langs_count] =
{
@@ -139,7 +139,8 @@ const Language LANG_NAME[langs_count] =
{N_("Portuguese"), "pt_PT", "pt.png"},
{N_("Portuguese (Brazilian)"), "pt_BR", "pt_BR.png"},
{N_("Russian"), "ru_RU", "ru.png"},
- {N_("Spanish (Castilian)"), "es_ES", "es.png"}
+ {N_("Spanish (Castilian)"), "es_ES", "es.png"},
+ {N_("Turkish"), "tr_TR", "tr.png"}
};
class LangListModel final : public ExtendedListModel