summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rwxr-xr-xpo/compile.py2
-rw-r--r--res/lang/es.binbin0 -> 17761 bytes
-rw-r--r--res/lang/fi.binbin17150 -> 17404 bytes
-rw-r--r--res/lang/ru.binbin25157 -> 26554 bytes
-rw-r--r--res/lang/zh_Hans.binbin15251 -> 15406 bytes
-rw-r--r--src/lang.c1
-rw-r--r--src/ui/util.c1
8 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 18573960..c942c864 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,6 +75,7 @@ set (EMBED_RESOURCES
75 res/fonts/SourceSansPro-Bold.ttf 75 res/fonts/SourceSansPro-Bold.ttf
76 res/fonts/Symbola.ttf 76 res/fonts/Symbola.ttf
77 res/lang/en.bin 77 res/lang/en.bin
78 res/lang/es.bin
78 res/lang/fi.bin 79 res/lang/fi.bin
79 res/lang/ru.bin 80 res/lang/ru.bin
80 res/lang/zh_Hans.bin 81 res/lang/zh_Hans.bin
diff --git a/po/compile.py b/po/compile.py
index 58aa5220..0bda0a07 100755
--- a/po/compile.py
+++ b/po/compile.py
@@ -4,7 +4,7 @@
4 4
5import os, sys 5import os, sys
6 6
7BUILD_LANGS = ['en', 'fi', 'ru', 'zh_Hans'] 7BUILD_LANGS = ['en', 'es', 'fi', 'ru', 'zh_Hans']
8MODE = 'compile' 8MODE = 'compile'
9ESCAPES = { 9ESCAPES = {
10 '\\': '\\', 10 '\\': '\\',
diff --git a/res/lang/es.bin b/res/lang/es.bin
new file mode 100644
index 00000000..50593ebd
--- /dev/null
+++ b/res/lang/es.bin
Binary files differ
diff --git a/res/lang/fi.bin b/res/lang/fi.bin
index 11ac7d29..693bbcfb 100644
--- a/res/lang/fi.bin
+++ b/res/lang/fi.bin
Binary files differ
diff --git a/res/lang/ru.bin b/res/lang/ru.bin
index e13599d6..304b2e53 100644
--- a/res/lang/ru.bin
+++ b/res/lang/ru.bin
Binary files differ
diff --git a/res/lang/zh_Hans.bin b/res/lang/zh_Hans.bin
index 672c0665..56e2bd9e 100644
--- a/res/lang/zh_Hans.bin
+++ b/res/lang/zh_Hans.bin
Binary files differ
diff --git a/src/lang.c b/src/lang.c
index f12c7bba..6dedd07e 100644
--- a/src/lang.c
+++ b/src/lang.c
@@ -54,6 +54,7 @@ static void load_Lang_(iLang *d, const char *id) {
54 iUnused(id); 54 iUnused(id);
55 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded 55 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded
56 : equal_CStr(id, "ru") ? &blobRu_Embedded 56 : equal_CStr(id, "ru") ? &blobRu_Embedded
57 : equal_CStr(id, "es") ? &blobEs_Embedded
57// : equal_CStr(id, "de") ? &blobDe_Embedded 58// : equal_CStr(id, "de") ? &blobDe_Embedded
58 : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded 59 : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded
59 : &blobEn_Embedded; 60 : &blobEn_Embedded;
diff --git a/src/ui/util.c b/src/ui/util.c
index 7db2c9bc..bb274996 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1832,6 +1832,7 @@ iWidget *makePreferences_Widget(void) {
1832 const iMenuItem langItems[] = { 1832 const iMenuItem langItems[] = {
1833// { "${lang.de} - de", 0, 0, "uilang id:de" }, 1833// { "${lang.de} - de", 0, 0, "uilang id:de" },
1834 { "${lang.en} - en", 0, 0, "uilang id:en" }, 1834 { "${lang.en} - en", 0, 0, "uilang id:en" },
1835 { "${lang.es} - es", 0, 0, "uilang id:es" },
1835 { "${lang.fi} - fi", 0, 0, "uilang id:fi" }, 1836 { "${lang.fi} - fi", 0, 0, "uilang id:fi" },
1836 { "${lang.ru} - ru", 0, 0, "uilang id:ru" }, 1837 { "${lang.ru} - ru", 0, 0, "uilang id:ru" },
1837 { "${lang.zh.hans} - zh", 0, 0, "uilang id:zh_Hans" }, 1838 { "${lang.zh.hans} - zh", 0, 0, "uilang id:zh_Hans" },