summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-25 17:37:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-25 17:37:16 +0300
commita886446d41ed6656afbdd348b6dc6cb617309040 (patch)
tree3cad1e2b562d08833807a0344dc5856b7fbfe3f1
parent144d3912928e260a1d0446351cb18dc1011477b7 (diff)
downloadmv-a886446d41ed6656afbdd348b6dc6cb617309040.tar.gz
mv-a886446d41ed6656afbdd348b6dc6cb617309040.tar.bz2
mv-a886446d41ed6656afbdd348b6dc6cb617309040.tar.xz
mv-a886446d41ed6656afbdd348b6dc6cb617309040.zip
Add Ukrainian language to language selection list.
-rw-r--r--data/graphics/flags/CMakeLists.txt1
-rw-r--r--data/graphics/flags/Makefile.am3
-rw-r--r--data/graphics/flags/ua.pngbin0 -> 446 bytes
-rw-r--r--src/gui/models/langlistmodel.h6
4 files changed, 7 insertions, 3 deletions
diff --git a/data/graphics/flags/CMakeLists.txt b/data/graphics/flags/CMakeLists.txt
index a61336461..363655df8 100644
--- a/data/graphics/flags/CMakeLists.txt
+++ b/data/graphics/flags/CMakeLists.txt
@@ -17,6 +17,7 @@ SET(FILES
ru.png
se.png
tr.png
+ ua.png
)
INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/graphics/flags)
diff --git a/data/graphics/flags/Makefile.am b/data/graphics/flags/Makefile.am
index 2251ed45b..6d7eb674a 100644
--- a/data/graphics/flags/Makefile.am
+++ b/data/graphics/flags/Makefile.am
@@ -18,7 +18,8 @@ flags_DATA = \
pt.png \
ru.png \
se.png \
- tr.png
+ tr.png \
+ ua.png
EXTRA_DIST = \
$(flags_DATA) \
diff --git a/data/graphics/flags/ua.png b/data/graphics/flags/ua.png
new file mode 100644
index 000000000..09563a219
--- /dev/null
+++ b/data/graphics/flags/ua.png
Binary files differ
diff --git a/src/gui/models/langlistmodel.h b/src/gui/models/langlistmodel.h
index 97a921449..b7bb2c82b 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 = 19;
+const int langs_count = 20;
const Language LANG_NAME[langs_count] =
{
@@ -78,7 +78,9 @@ const Language LANG_NAME[langs_count] =
// TRANSLATORS: language
{N_("Swedish (Sweden)"), "sv_SE", "se.png"},
// TRANSLATORS: language
- {N_("Turkish"), "tr_TR", "tr.png"}
+ {N_("Turkish"), "tr_TR", "tr.png"},
+ // TRANSLATORS: language
+ {N_("Ukraine"), "uk_UA", "ua.png"}
};
class LangListModel final : public ExtendedListModel