From c265873c7d84e4e5b50b1f6205593d6ffb5e41f3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 26 Jul 2014 17:57:40 +0300 Subject: Add Sweden language into list in settings. --- data/graphics/flags/CMakeLists.txt | 1 + data/graphics/flags/Makefile.am | 1 + data/graphics/flags/se.png | Bin 0 -> 542 bytes src/gui/models/langlistmodel.h | 4 +++- 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 data/graphics/flags/se.png diff --git a/data/graphics/flags/CMakeLists.txt b/data/graphics/flags/CMakeLists.txt index f1fd637e8..cba3f0a12 100644 --- a/data/graphics/flags/CMakeLists.txt +++ b/data/graphics/flags/CMakeLists.txt @@ -14,6 +14,7 @@ SET(FILES pt_BR.png pt.png ru.png + se.png tr.png ) diff --git a/data/graphics/flags/Makefile.am b/data/graphics/flags/Makefile.am index b25889edb..bf41796c8 100644 --- a/data/graphics/flags/Makefile.am +++ b/data/graphics/flags/Makefile.am @@ -16,6 +16,7 @@ flags_DATA = \ pt_BR.png \ pt.png \ ru.png \ + se.png \ tr.png EXTRA_DIST = \ diff --git a/data/graphics/flags/se.png b/data/graphics/flags/se.png new file mode 100644 index 000000000..1994653da Binary files /dev/null and b/data/graphics/flags/se.png differ diff --git a/src/gui/models/langlistmodel.h b/src/gui/models/langlistmodel.h index d039b61b0..124d86cf4 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 = 17; +const int langs_count = 18; const Language LANG_NAME[langs_count] = { @@ -74,6 +74,8 @@ const Language LANG_NAME[langs_count] = // TRANSLATORS: language {N_("Spanish (Castilian)"), "es_ES", "es.png"}, // TRANSLATORS: language + {N_("Swedish (Sweden)"), "sv_SE", "se.png"}, + // TRANSLATORS: language {N_("Turkish"), "tr_TR", "tr.png"} }; -- cgit v1.2.3-70-g09d2