From 47a2257d2973e065f3334fa66ac3f72a53d46d48 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 23 Dec 2021 13:17:23 +0200 Subject: Added UI language for Dutch (nl) --- CMakeLists.txt | 1 + po/compile.py | 1 + res/about/version.gmi | 2 ++ res/lang/eo.bin | Bin 24957 -> 24963 bytes res/lang/gl.bin | Bin 28915 -> 28913 bytes res/lang/nl.bin | Bin 0 -> 28092 bytes res/lang/ru.bin | Bin 44131 -> 44148 bytes res/lang/tok.bin | Bin 26772 -> 26777 bytes res/lang/uk.bin | Bin 43474 -> 43480 bytes res/lang/zh_Hant.bin | Bin 25155 -> 25345 bytes src/lang.c | 1 + src/resources.c | 2 ++ src/resources.h | 1 + src/ui/util.c | 1 + 14 files changed, 9 insertions(+) create mode 100644 res/lang/nl.bin diff --git a/CMakeLists.txt b/CMakeLists.txt index 321014ed..44865833 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,6 +84,7 @@ set (RESOURCES res/lang/ia.bin res/lang/ie.bin res/lang/isv.bin + res/lang/nl.bin res/lang/pl.bin res/lang/ru.bin 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 'ia', 'ie', 'isv', + 'nl', 'pl', 'ru', '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 @@ # Release notes ## 1.9.3 +* Added UI language for Dutch. +* Updated UI translations. * Fixed the simple text renderer (build error, hanging). ## 1.9.2 diff --git a/res/lang/eo.bin b/res/lang/eo.bin index 7156b7c8..d7f9cebf 100644 Binary files a/res/lang/eo.bin and b/res/lang/eo.bin differ diff --git a/res/lang/gl.bin b/res/lang/gl.bin index 4269b5ed..02482f3a 100644 Binary files a/res/lang/gl.bin and b/res/lang/gl.bin differ diff --git a/res/lang/nl.bin b/res/lang/nl.bin new file mode 100644 index 00000000..6ae01202 Binary files /dev/null and b/res/lang/nl.bin differ diff --git a/res/lang/ru.bin b/res/lang/ru.bin index 0a7b5d86..f0762eea 100644 Binary files a/res/lang/ru.bin and b/res/lang/ru.bin differ diff --git a/res/lang/tok.bin b/res/lang/tok.bin index 1b0c0733..6a93803c 100644 Binary files a/res/lang/tok.bin and b/res/lang/tok.bin differ diff --git a/res/lang/uk.bin b/res/lang/uk.bin index f999a8c5..4154c354 100644 Binary files a/res/lang/uk.bin and b/res/lang/uk.bin differ diff --git a/res/lang/zh_Hant.bin b/res/lang/zh_Hant.bin index 7da4b273..ffad7072 100644 Binary files a/res/lang/zh_Hant.bin and b/res/lang/zh_Hant.bin differ diff --git a/src/lang.c b/src/lang.c index 831fa58f..9c458b4e 100644 --- a/src/lang.c +++ b/src/lang.c @@ -101,6 +101,7 @@ static void load_Lang_(iLang *d, const char *id) { : equal_CStr(id, "ia") ? &blobIa_Resources : equal_CStr(id, "ie") ? &blobIe_Resources : equal_CStr(id, "isv") ? &blobIsv_Resources + : equal_CStr(id, "nl") ? &blobNl_Resources : equal_CStr(id, "pl") ? &blobPl_Resources : equal_CStr(id, "sk") ? &blobSk_Resources : 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; iBlock blobIa_Resources; iBlock blobIe_Resources; iBlock blobIsv_Resources; +iBlock blobNl_Resources; iBlock blobPl_Resources; iBlock blobRu_Resources; iBlock blobSk_Resources; @@ -83,6 +84,7 @@ static struct { { &blobIa_Resources, "lang/ia.bin" }, { &blobIe_Resources, "lang/ie.bin" }, { &blobIsv_Resources, "lang/isv.bin" }, + { &blobNl_Resources, "lang/nl.bin" }, { &blobPl_Resources, "lang/pl.bin" }, { &blobRu_Resources, "lang/ru.bin" }, { &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; extern iBlock blobIa_Resources; extern iBlock blobIe_Resources; extern iBlock blobIsv_Resources; +extern iBlock blobNl_Resources; extern iBlock blobPl_Resources; extern iBlock blobRu_Resources; 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) { { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, + { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, { u8"Polski - pl", 0, 0, "uilang id:pl" }, { u8"Русский - ru", 0, 0, "uilang id:ru" }, { u8"Slovak - sk", 0, 0, "uilang id:sk" }, -- cgit v1.2.3