summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-08 22:11:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-08 22:11:54 +0300
commitc8034cdf0c88943c354c09f4d27d32894dc3f04c (patch)
tree6455af3f5dd87902c7515907e37d3653d1e3abd7
parent14f8745ad9cbda7642b3c670bc509bcde5f13381 (diff)
downloadmanaplus-c8034cdf0c88943c354c09f4d27d32894dc3f04c.tar.gz
manaplus-c8034cdf0c88943c354c09f4d27d32894dc3f04c.tar.bz2
manaplus-c8034cdf0c88943c354c09f4d27d32894dc3f04c.tar.xz
manaplus-c8034cdf0c88943c354c09f4d27d32894dc3f04c.zip
Add esperanto language in language selection.
-rw-r--r--data/graphics/flags/CMakeLists.txt1
-rw-r--r--data/graphics/flags/Makefile.am1
-rw-r--r--data/graphics/flags/eo.pngbin0 -> 425 bytes
-rw-r--r--src/gui/models/langlistmodel.h6
4 files changed, 6 insertions, 2 deletions
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
--- /dev/null
+++ b/data/graphics/flags/eo.png
Binary files 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