summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-26 17:57:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-26 18:01:31 +0300
commitc265873c7d84e4e5b50b1f6205593d6ffb5e41f3 (patch)
treef05ab69caf2596e5aa69d8f0974a54cea9fd764b
parent0f646c79eb6a9160eaa080728ddec990bee9fd64 (diff)
downloadplus-c265873c7d84e4e5b50b1f6205593d6ffb5e41f3.tar.gz
plus-c265873c7d84e4e5b50b1f6205593d6ffb5e41f3.tar.bz2
plus-c265873c7d84e4e5b50b1f6205593d6ffb5e41f3.tar.xz
plus-c265873c7d84e4e5b50b1f6205593d6ffb5e41f3.zip
Add Sweden language into list in settings.
-rw-r--r--data/graphics/flags/CMakeLists.txt1
-rw-r--r--data/graphics/flags/Makefile.am1
-rw-r--r--data/graphics/flags/se.pngbin0 -> 542 bytes
-rw-r--r--src/gui/models/langlistmodel.h4
4 files changed, 5 insertions, 1 deletions
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
--- /dev/null
+++ b/data/graphics/flags/se.png
Binary files 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"}
};