diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-23 13:17:23 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-23 13:17:23 +0200 |
commit | 47a2257d2973e065f3334fa66ac3f72a53d46d48 (patch) | |
tree | 96f2bbcfd060c1e9bb0fb9796308f3d3d8e08153 | |
parent | 46556c5a05c4678987c59db84dbd9d259294a7a4 (diff) |
Added UI language for Dutch (nl)
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rwxr-xr-x | po/compile.py | 1 | ||||
-rw-r--r-- | res/about/version.gmi | 2 | ||||
-rw-r--r-- | res/lang/eo.bin | bin | 24957 -> 24963 bytes | |||
-rw-r--r-- | res/lang/gl.bin | bin | 28915 -> 28913 bytes | |||
-rw-r--r-- | res/lang/nl.bin | bin | 0 -> 28092 bytes | |||
-rw-r--r-- | res/lang/ru.bin | bin | 44131 -> 44148 bytes | |||
-rw-r--r-- | res/lang/tok.bin | bin | 26772 -> 26777 bytes | |||
-rw-r--r-- | res/lang/uk.bin | bin | 43474 -> 43480 bytes | |||
-rw-r--r-- | res/lang/zh_Hant.bin | bin | 25155 -> 25345 bytes | |||
-rw-r--r-- | src/lang.c | 1 | ||||
-rw-r--r-- | src/resources.c | 2 | ||||
-rw-r--r-- | src/resources.h | 1 | ||||
-rw-r--r-- | src/ui/util.c | 1 |
14 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 321014ed..44865833 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -84,6 +84,7 @@ set (RESOURCES | |||
84 | res/lang/ia.bin | 84 | res/lang/ia.bin |
85 | res/lang/ie.bin | 85 | res/lang/ie.bin |
86 | res/lang/isv.bin | 86 | res/lang/isv.bin |
87 | res/lang/nl.bin | ||
87 | res/lang/pl.bin | 88 | res/lang/pl.bin |
88 | res/lang/ru.bin | 89 | res/lang/ru.bin |
89 | res/lang/sk.bin | 90 | res/lang/sk.bin |
diff --git a/po/compile.py b/po/compile.py index d29cbb8b..9daa39f1 100755 --- a/po/compile.py +++ b/po/compile.py | |||
@@ -17,6 +17,7 @@ BUILD_LANGS = [ 'en', # base strings | |||
17 | 'ia', | 17 | 'ia', |
18 | 'ie', | 18 | 'ie', |
19 | 'isv', | 19 | 'isv', |
20 | 'nl', | ||
20 | 'pl', | 21 | 'pl', |
21 | 'ru', | 22 | 'ru', |
22 | 'sk', | 23 | 'sk', |
diff --git a/res/about/version.gmi b/res/about/version.gmi index 8f2d63c8..bbc1298a 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi | |||
@@ -7,6 +7,8 @@ | |||
7 | # Release notes | 7 | # Release notes |
8 | 8 | ||
9 | ## 1.9.3 | 9 | ## 1.9.3 |
10 | * Added UI language for Dutch. | ||
11 | * Updated UI translations. | ||
10 | * Fixed the simple text renderer (build error, hanging). | 12 | * Fixed the simple text renderer (build error, hanging). |
11 | 13 | ||
12 | ## 1.9.2 | 14 | ## 1.9.2 |
diff --git a/res/lang/eo.bin b/res/lang/eo.bin index 7156b7c8..d7f9cebf 100644 --- a/res/lang/eo.bin +++ b/res/lang/eo.bin | |||
Binary files differ | |||
diff --git a/res/lang/gl.bin b/res/lang/gl.bin index 4269b5ed..02482f3a 100644 --- a/res/lang/gl.bin +++ b/res/lang/gl.bin | |||
Binary files differ | |||
diff --git a/res/lang/nl.bin b/res/lang/nl.bin new file mode 100644 index 00000000..6ae01202 --- /dev/null +++ b/res/lang/nl.bin | |||
Binary files differ | |||
diff --git a/res/lang/ru.bin b/res/lang/ru.bin index 0a7b5d86..f0762eea 100644 --- a/res/lang/ru.bin +++ b/res/lang/ru.bin | |||
Binary files differ | |||
diff --git a/res/lang/tok.bin b/res/lang/tok.bin index 1b0c0733..6a93803c 100644 --- a/res/lang/tok.bin +++ b/res/lang/tok.bin | |||
Binary files differ | |||
diff --git a/res/lang/uk.bin b/res/lang/uk.bin index f999a8c5..4154c354 100644 --- a/res/lang/uk.bin +++ b/res/lang/uk.bin | |||
Binary files differ | |||
diff --git a/res/lang/zh_Hant.bin b/res/lang/zh_Hant.bin index 7da4b273..ffad7072 100644 --- a/res/lang/zh_Hant.bin +++ b/res/lang/zh_Hant.bin | |||
Binary files differ | |||
@@ -101,6 +101,7 @@ static void load_Lang_(iLang *d, const char *id) { | |||
101 | : equal_CStr(id, "ia") ? &blobIa_Resources | 101 | : equal_CStr(id, "ia") ? &blobIa_Resources |
102 | : equal_CStr(id, "ie") ? &blobIe_Resources | 102 | : equal_CStr(id, "ie") ? &blobIe_Resources |
103 | : equal_CStr(id, "isv") ? &blobIsv_Resources | 103 | : equal_CStr(id, "isv") ? &blobIsv_Resources |
104 | : equal_CStr(id, "nl") ? &blobNl_Resources | ||
104 | : equal_CStr(id, "pl") ? &blobPl_Resources | 105 | : equal_CStr(id, "pl") ? &blobPl_Resources |
105 | : equal_CStr(id, "sk") ? &blobSk_Resources | 106 | : equal_CStr(id, "sk") ? &blobSk_Resources |
106 | : equal_CStr(id, "sr") ? &blobSr_Resources | 107 | : equal_CStr(id, "sr") ? &blobSr_Resources |
diff --git a/src/resources.c b/src/resources.c index 5c7e41ea..03ca7cbb 100644 --- a/src/resources.c +++ b/src/resources.c | |||
@@ -48,6 +48,7 @@ iBlock blobHu_Resources; | |||
48 | iBlock blobIa_Resources; | 48 | iBlock blobIa_Resources; |
49 | iBlock blobIe_Resources; | 49 | iBlock blobIe_Resources; |
50 | iBlock blobIsv_Resources; | 50 | iBlock blobIsv_Resources; |
51 | iBlock blobNl_Resources; | ||
51 | iBlock blobPl_Resources; | 52 | iBlock blobPl_Resources; |
52 | iBlock blobRu_Resources; | 53 | iBlock blobRu_Resources; |
53 | iBlock blobSk_Resources; | 54 | iBlock blobSk_Resources; |
@@ -83,6 +84,7 @@ static struct { | |||
83 | { &blobIa_Resources, "lang/ia.bin" }, | 84 | { &blobIa_Resources, "lang/ia.bin" }, |
84 | { &blobIe_Resources, "lang/ie.bin" }, | 85 | { &blobIe_Resources, "lang/ie.bin" }, |
85 | { &blobIsv_Resources, "lang/isv.bin" }, | 86 | { &blobIsv_Resources, "lang/isv.bin" }, |
87 | { &blobNl_Resources, "lang/nl.bin" }, | ||
86 | { &blobPl_Resources, "lang/pl.bin" }, | 88 | { &blobPl_Resources, "lang/pl.bin" }, |
87 | { &blobRu_Resources, "lang/ru.bin" }, | 89 | { &blobRu_Resources, "lang/ru.bin" }, |
88 | { &blobSk_Resources, "lang/sk.bin" }, | 90 | { &blobSk_Resources, "lang/sk.bin" }, |
diff --git a/src/resources.h b/src/resources.h index b00fde51..3852cc3e 100644 --- a/src/resources.h +++ b/src/resources.h | |||
@@ -50,6 +50,7 @@ extern iBlock blobHu_Resources; | |||
50 | extern iBlock blobIa_Resources; | 50 | extern iBlock blobIa_Resources; |
51 | extern iBlock blobIe_Resources; | 51 | extern iBlock blobIe_Resources; |
52 | extern iBlock blobIsv_Resources; | 52 | extern iBlock blobIsv_Resources; |
53 | extern iBlock blobNl_Resources; | ||
53 | extern iBlock blobPl_Resources; | 54 | extern iBlock blobPl_Resources; |
54 | extern iBlock blobRu_Resources; | 55 | extern iBlock blobRu_Resources; |
55 | extern iBlock blobSk_Resources; | 56 | extern iBlock blobSk_Resources; |
diff --git a/src/ui/util.c b/src/ui/util.c index cfb2b230..efcb8b9f 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -2238,6 +2238,7 @@ iWidget *makePreferences_Widget(void) { | |||
2238 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | 2238 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, |
2239 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | 2239 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, |
2240 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | 2240 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, |
2241 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | ||
2241 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | 2242 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, |
2242 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | 2243 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, |
2243 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | 2244 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, |