diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-11 09:05:06 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-11 09:05:06 +0300 |
commit | 4af9c94b268cd0a0da0c5d2cd274e8d675335288 (patch) | |
tree | 9f96248176a691de729c1d099a87a642fbca1122 | |
parent | afba358a4849a84819cca146641e2c653af1d2d5 (diff) |
Lang: Added German translation
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rwxr-xr-x | po/compile.py | 2 | ||||
-rw-r--r-- | res/lang/de.bin | bin | 0 -> 17600 bytes | |||
-rw-r--r-- | src/lang.c | 2 | ||||
-rw-r--r-- | src/ui/util.c | 2 |
5 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bb937fa0..dd675410 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -75,6 +75,7 @@ set (EMBED_RESOURCES | |||
75 | res/fonts/SourceSansPro-Regular.ttf | 75 | res/fonts/SourceSansPro-Regular.ttf |
76 | res/fonts/SourceSansPro-Bold.ttf | 76 | res/fonts/SourceSansPro-Bold.ttf |
77 | res/fonts/Symbola.ttf | 77 | res/fonts/Symbola.ttf |
78 | res/lang/de.bin | ||
78 | res/lang/en.bin | 79 | res/lang/en.bin |
79 | res/lang/es.bin | 80 | res/lang/es.bin |
80 | res/lang/fi.bin | 81 | res/lang/fi.bin |
diff --git a/po/compile.py b/po/compile.py index 0bff919f..9b64c3d0 100755 --- a/po/compile.py +++ b/po/compile.py | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | import os, sys | 5 | import os, sys |
6 | 6 | ||
7 | BUILD_LANGS = ['en', 'es', 'fi', 'ie', 'ru', 'sr', 'zh_Hans', 'zh_Hant'] | 7 | BUILD_LANGS = ['en', 'de', 'es', 'fi', 'ie', 'ru', 'sr', 'zh_Hans', 'zh_Hant'] |
8 | MODE = 'compile' | 8 | MODE = 'compile' |
9 | ESCAPES = { | 9 | ESCAPES = { |
10 | '\\': '\\', | 10 | '\\': '\\', |
diff --git a/res/lang/de.bin b/res/lang/de.bin new file mode 100644 index 00000000..691538a8 --- /dev/null +++ b/res/lang/de.bin | |||
Binary files differ | |||
@@ -55,7 +55,7 @@ static void load_Lang_(iLang *d, const char *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, "es") ? &blobEs_Embedded |
58 | // : equal_CStr(id, "de") ? &blobDe_Embedded | 58 | : equal_CStr(id, "de") ? &blobDe_Embedded |
59 | : equal_CStr(id, "ie") ? &blobIe_Embedded | 59 | : equal_CStr(id, "ie") ? &blobIe_Embedded |
60 | : equal_CStr(id, "sr") ? &blobSr_Embedded | 60 | : equal_CStr(id, "sr") ? &blobSr_Embedded |
61 | : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded | 61 | : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded |
diff --git a/src/ui/util.c b/src/ui/util.c index 047fa7af..754545bd 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -2009,7 +2009,7 @@ iWidget *makePreferences_Widget(void) { | |||
2009 | /* UI languages. */ { | 2009 | /* UI languages. */ { |
2010 | iArray *uiLangs = collectNew_Array(sizeof(iMenuItem)); | 2010 | iArray *uiLangs = collectNew_Array(sizeof(iMenuItem)); |
2011 | const iMenuItem langItems[] = { | 2011 | const iMenuItem langItems[] = { |
2012 | // { "${lang.de} - de", 0, 0, "uilang id:de" }, | 2012 | { "${lang.de} - de", 0, 0, "uilang id:de" }, |
2013 | { "${lang.en} - en", 0, 0, "uilang id:en" }, | 2013 | { "${lang.en} - en", 0, 0, "uilang id:en" }, |
2014 | { "${lang.es} - es", 0, 0, "uilang id:es" }, | 2014 | { "${lang.es} - es", 0, 0, "uilang id:es" }, |
2015 | { "${lang.fi} - fi", 0, 0, "uilang id:fi" }, | 2015 | { "${lang.fi} - fi", 0, 0, "uilang id:fi" }, |