From c8034cdf0c88943c354c09f4d27d32894dc3f04c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Sep 2016 22:11:54 +0300 Subject: Add esperanto language in language selection. --- data/graphics/flags/CMakeLists.txt | 1 + data/graphics/flags/Makefile.am | 1 + data/graphics/flags/eo.png | Bin 0 -> 425 bytes src/gui/models/langlistmodel.h | 6 ++++-- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 data/graphics/flags/eo.png diff --git a/data/graphics/flags/CMakeLists.txt b/data/graphics/flags/CMakeLists.txt index 8bea02b66..56be4f632 100644 --- a/data/graphics/flags/CMakeLists.txt +++ b/data/graphics/flags/CMakeLists.txt @@ -4,6 +4,7 @@ SET(FILES cz.png de.png en.png + eo.png es.png fi.png fr.png diff --git a/data/graphics/flags/Makefile.am b/data/graphics/flags/Makefile.am index d82fecf6c..a6dfc5f50 100644 --- a/data/graphics/flags/Makefile.am +++ b/data/graphics/flags/Makefile.am @@ -6,6 +6,7 @@ flags_DATA = \ cz.png \ de.png \ en.png \ + eo.png \ es.png \ fi.png \ fr.png \ diff --git a/data/graphics/flags/eo.png b/data/graphics/flags/eo.png new file mode 100644 index 000000000..ec0502c07 Binary files /dev/null and b/data/graphics/flags/eo.png differ diff --git a/src/gui/models/langlistmodel.h b/src/gui/models/langlistmodel.h index 1c7ee99dd..ec5a4e667 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 = 21; +const int langs_count = 22; const Language LANG_NAME[langs_count] = { @@ -82,7 +82,9 @@ const Language LANG_NAME[langs_count] = // TRANSLATORS: language {N_("Turkish"), "tr_TR", "tr.png"}, // TRANSLATORS: language - {N_("Ukrainian"), "uk_UA", "ua.png"} + {N_("Ukrainian"), "uk_UA", "ua.png"}, + // TRANSLATORS: language + {N_("Esperanto"), "eo", "eo.png"} }; class LangListModel final : public ExtendedListModel -- cgit v1.2.3-70-g09d2