From a886446d41ed6656afbdd348b6dc6cb617309040 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Tue, 25 Aug 2015 17:37:16 +0300
Subject: Add Ukrainian language to language selection list.

---
 data/graphics/flags/CMakeLists.txt |   1 +
 data/graphics/flags/Makefile.am    |   3 ++-
 data/graphics/flags/ua.png         | Bin 0 -> 446 bytes
 src/gui/models/langlistmodel.h     |   6 ++++--
 4 files changed, 7 insertions(+), 3 deletions(-)
 create mode 100644 data/graphics/flags/ua.png

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
Binary files /dev/null and b/data/graphics/flags/ua.png 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
-- 
cgit v1.2.3-70-g09d2