diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-30 09:29:22 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-30 09:29:22 +0300 |
commit | f7a0dcd34e10052d1482adb3360c5e2949ffeaa2 (patch) | |
tree | 59ec20d3734bd23111871f1371eb2e7df68abbd2 | |
parent | 2a438502ef02fc915ae56f3b008a2b5ca464f469 (diff) |
Added Ukrainian UI translation
Kudos to Alyssa Liddell for a 100% translation.
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rwxr-xr-x | po/compile.py | 1 | ||||
-rw-r--r-- | po/en.po | 3 | ||||
-rw-r--r-- | res/about/version.gmi | 2 | ||||
-rw-r--r-- | res/lang/de.bin | bin | 28648 -> 28666 bytes | |||
-rw-r--r-- | res/lang/en.bin | bin | 26108 -> 26126 bytes | |||
-rw-r--r-- | res/lang/eo.bin | bin | 24885 -> 24903 bytes | |||
-rw-r--r-- | res/lang/es.bin | bin | 29032 -> 29050 bytes | |||
-rw-r--r-- | res/lang/es_MX.bin | bin | 26973 -> 26991 bytes | |||
-rw-r--r-- | res/lang/fi.bin | bin | 29339 -> 29357 bytes | |||
-rw-r--r-- | res/lang/fr.bin | bin | 29854 -> 29872 bytes | |||
-rw-r--r-- | res/lang/gl.bin | bin | 28692 -> 28710 bytes | |||
-rw-r--r-- | res/lang/ia.bin | bin | 27973 -> 27991 bytes | |||
-rw-r--r-- | res/lang/ie.bin | bin | 28178 -> 28196 bytes | |||
-rw-r--r-- | res/lang/isv.bin | bin | 24812 -> 24830 bytes | |||
-rw-r--r-- | res/lang/pl.bin | bin | 29249 -> 29267 bytes | |||
-rw-r--r-- | res/lang/ru.bin | bin | 41621 -> 41639 bytes | |||
-rw-r--r-- | res/lang/sk.bin | bin | 25145 -> 25163 bytes | |||
-rw-r--r-- | res/lang/sr.bin | bin | 42336 -> 42354 bytes | |||
-rw-r--r-- | res/lang/tok.bin | bin | 26423 -> 26441 bytes | |||
-rw-r--r-- | res/lang/uk.bin | bin | 0 -> 43138 bytes | |||
-rw-r--r-- | res/lang/zh_Hans.bin | bin | 24925 -> 24943 bytes | |||
-rw-r--r-- | res/lang/zh_Hant.bin | bin | 25066 -> 25084 bytes | |||
-rw-r--r-- | src/lang.c | 3 | ||||
-rw-r--r-- | src/ui/util.c | 1 |
25 files changed, 10 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e29fe11d..0d735e21 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -107,6 +107,7 @@ set (EMBED_RESOURCES | |||
107 | res/lang/sk.bin | 107 | res/lang/sk.bin |
108 | res/lang/sr.bin | 108 | res/lang/sr.bin |
109 | res/lang/tok.bin | 109 | res/lang/tok.bin |
110 | res/lang/uk.bin | ||
110 | res/lang/zh_Hans.bin | 111 | res/lang/zh_Hans.bin |
111 | res/lang/zh_Hant.bin | 112 | res/lang/zh_Hant.bin |
112 | res/shadow.png | 113 | res/shadow.png |
diff --git a/po/compile.py b/po/compile.py index 5ac1e756..a2b35ec4 100755 --- a/po/compile.py +++ b/po/compile.py | |||
@@ -21,6 +21,7 @@ BUILD_LANGS = [ | |||
21 | 'sk', | 21 | 'sk', |
22 | 'sr', | 22 | 'sr', |
23 | 'tok', | 23 | 'tok', |
24 | 'uk', | ||
24 | 'zh_Hans', | 25 | 'zh_Hans', |
25 | 'zh_Hant' | 26 | 'zh_Hant' |
26 | ] | 27 | ] |
@@ -1100,6 +1100,9 @@ msgstr "Portuguese" | |||
1100 | msgid "lang.ru" | 1100 | msgid "lang.ru" |
1101 | msgstr "Russian" | 1101 | msgstr "Russian" |
1102 | 1102 | ||
1103 | msgid "lang.uk" | ||
1104 | msgstr "Ukrainian" | ||
1105 | |||
1103 | msgid "lang.eo" | 1106 | msgid "lang.eo" |
1104 | msgstr "Esperanto" | 1107 | msgstr "Esperanto" |
1105 | 1108 | ||
diff --git a/res/about/version.gmi b/res/about/version.gmi index a0ab6682..f4fb83d1 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi | |||
@@ -14,6 +14,7 @@ New features: | |||
14 | * Added a customizable font library. Open "about:fonts" to view and manage the installed fonts. | 14 | * Added a customizable font library. Open "about:fonts" to view and manage the installed fonts. |
15 | * Added TrueType fonts as a recognized content type. When one is viewed in the app (e.g., via a drag-and-drop), there is an option to install it as a user font. | 15 | * Added TrueType fonts as a recognized content type. When one is viewed in the app (e.g., via a drag-and-drop), there is an option to install it as a user font. |
16 | * Added fontpacks: ZIP archives containing one or more TrueType fonts and parameters about how they should be used. | 16 | * Added fontpacks: ZIP archives containing one or more TrueType fonts and parameters about how they should be used. |
17 | * Added support for TrueType collections (.ttc). | ||
17 | * Added new font options: separate preformatted and monospace body fonts, UI font, smoothing. | 18 | * Added new font options: separate preformatted and monospace body fonts, UI font, smoothing. |
18 | * Added style option to show all links as bold regardless of visited status. | 19 | * Added style option to show all links as bold regardless of visited status. |
19 | * Added warning message about missing font glyphs. | 20 | * Added warning message about missing font glyphs. |
@@ -22,6 +23,7 @@ New features: | |||
22 | * Added style option to show links as bold regardless of visited status. | 23 | * Added style option to show links as bold regardless of visited status. |
23 | * Added a feed subscription option to exclude web links (HTTP/HTTPS), since those are not viewable in the app by default. | 24 | * Added a feed subscription option to exclude web links (HTTP/HTTPS), since those are not viewable in the app by default. |
24 | * Added an automatic conversion of Markdown to Gemtext when viewing local files. (Not all Markdown features are supported.) | 25 | * Added an automatic conversion of Markdown to Gemtext when viewing local files. (Not all Markdown features are supported.) |
26 | * Added UI language for Ukrainian (uk). | ||
25 | 27 | ||
26 | Changes and enhancements: | 28 | Changes and enhancements: |
27 | * Removed all alternative built-in content fonts. | 29 | * Removed all alternative built-in content fonts. |
diff --git a/res/lang/de.bin b/res/lang/de.bin index 2549ef1d..b2c28f2b 100644 --- a/res/lang/de.bin +++ b/res/lang/de.bin | |||
Binary files differ | |||
diff --git a/res/lang/en.bin b/res/lang/en.bin index e0c5be9b..61396664 100644 --- a/res/lang/en.bin +++ b/res/lang/en.bin | |||
Binary files differ | |||
diff --git a/res/lang/eo.bin b/res/lang/eo.bin index cf4e9732..55e4b5a6 100644 --- a/res/lang/eo.bin +++ b/res/lang/eo.bin | |||
Binary files differ | |||
diff --git a/res/lang/es.bin b/res/lang/es.bin index a8b8eadd..b50c7b37 100644 --- a/res/lang/es.bin +++ b/res/lang/es.bin | |||
Binary files differ | |||
diff --git a/res/lang/es_MX.bin b/res/lang/es_MX.bin index 81f96c33..28b90473 100644 --- a/res/lang/es_MX.bin +++ b/res/lang/es_MX.bin | |||
Binary files differ | |||
diff --git a/res/lang/fi.bin b/res/lang/fi.bin index 7ccbe8eb..c1393644 100644 --- a/res/lang/fi.bin +++ b/res/lang/fi.bin | |||
Binary files differ | |||
diff --git a/res/lang/fr.bin b/res/lang/fr.bin index 40b6db0e..08920545 100644 --- a/res/lang/fr.bin +++ b/res/lang/fr.bin | |||
Binary files differ | |||
diff --git a/res/lang/gl.bin b/res/lang/gl.bin index a22bd440..317ac9a9 100644 --- a/res/lang/gl.bin +++ b/res/lang/gl.bin | |||
Binary files differ | |||
diff --git a/res/lang/ia.bin b/res/lang/ia.bin index 6754ae78..954e288a 100644 --- a/res/lang/ia.bin +++ b/res/lang/ia.bin | |||
Binary files differ | |||
diff --git a/res/lang/ie.bin b/res/lang/ie.bin index 8db14826..11f9323c 100644 --- a/res/lang/ie.bin +++ b/res/lang/ie.bin | |||
Binary files differ | |||
diff --git a/res/lang/isv.bin b/res/lang/isv.bin index 4d8d4a5b..4097c1e1 100644 --- a/res/lang/isv.bin +++ b/res/lang/isv.bin | |||
Binary files differ | |||
diff --git a/res/lang/pl.bin b/res/lang/pl.bin index 987ab82f..7e44e7be 100644 --- a/res/lang/pl.bin +++ b/res/lang/pl.bin | |||
Binary files differ | |||
diff --git a/res/lang/ru.bin b/res/lang/ru.bin index 17d020cf..129c4e10 100644 --- a/res/lang/ru.bin +++ b/res/lang/ru.bin | |||
Binary files differ | |||
diff --git a/res/lang/sk.bin b/res/lang/sk.bin index f17b1f18..3d9770b8 100644 --- a/res/lang/sk.bin +++ b/res/lang/sk.bin | |||
Binary files differ | |||
diff --git a/res/lang/sr.bin b/res/lang/sr.bin index f441b444..794f501c 100644 --- a/res/lang/sr.bin +++ b/res/lang/sr.bin | |||
Binary files differ | |||
diff --git a/res/lang/tok.bin b/res/lang/tok.bin index e111a225..35e63a4e 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 new file mode 100644 index 00000000..ceaf20d5 --- /dev/null +++ b/res/lang/uk.bin | |||
Binary files differ | |||
diff --git a/res/lang/zh_Hans.bin b/res/lang/zh_Hans.bin index 7aa8c540..537d5ba4 100644 --- a/res/lang/zh_Hans.bin +++ b/res/lang/zh_Hans.bin | |||
Binary files differ | |||
diff --git a/res/lang/zh_Hant.bin b/res/lang/zh_Hant.bin index 3f7d249f..b6f0dbdb 100644 --- a/res/lang/zh_Hant.bin +++ b/res/lang/zh_Hant.bin | |||
Binary files differ | |||
@@ -100,10 +100,11 @@ static void load_Lang_(iLang *d, const char *id) { | |||
100 | : equal_CStr(id, "sk") ? &blobSk_Embedded | 100 | : equal_CStr(id, "sk") ? &blobSk_Embedded |
101 | : equal_CStr(id, "sr") ? &blobSr_Embedded | 101 | : equal_CStr(id, "sr") ? &blobSr_Embedded |
102 | : equal_CStr(id, "tok") ? &blobTok_Embedded | 102 | : equal_CStr(id, "tok") ? &blobTok_Embedded |
103 | : equal_CStr(id, "uk") ? &blobUk_Embedded | ||
103 | : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded | 104 | : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded |
104 | : equal_CStr(id, "zh_Hant") ? &blobZh_Hant_Embedded | 105 | : equal_CStr(id, "zh_Hant") ? &blobZh_Hant_Embedded |
105 | : &blobEn_Embedded; | 106 | : &blobEn_Embedded; |
106 | if (data == &blobRu_Embedded || data == &blobSr_Embedded) { | 107 | if (data == &blobRu_Embedded || data == &blobSr_Embedded || data == &blobUk_Embedded) { |
107 | d->pluralType = slavic_PluralType; | 108 | d->pluralType = slavic_PluralType; |
108 | } | 109 | } |
109 | else if (data == &blobIsv_Embedded) { | 110 | else if (data == &blobIsv_Embedded) { |
diff --git a/src/ui/util.c b/src/ui/util.c index fd1ce571..6d0453ff 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -2206,6 +2206,7 @@ iWidget *makePreferences_Widget(void) { | |||
2206 | { "${lang.sk} - sk", 0, 0, "uilang id:sk" }, | 2206 | { "${lang.sk} - sk", 0, 0, "uilang id:sk" }, |
2207 | { "${lang.sr} - sr", 0, 0, "uilang id:sr" }, | 2207 | { "${lang.sr} - sr", 0, 0, "uilang id:sr" }, |
2208 | { "${lang.tok} - tok", 0, 0, "uilang id:tok" }, | 2208 | { "${lang.tok} - tok", 0, 0, "uilang id:tok" }, |
2209 | { "${lang.uk} - uk", 0, 0, "uilang id:uk" }, | ||
2209 | { "${lang.zh.hans} - zh", 0, 0, "uilang id:zh_Hans" }, | 2210 | { "${lang.zh.hans} - zh", 0, 0, "uilang id:zh_Hans" }, |
2210 | { "${lang.zh.hant} - zh", 0, 0, "uilang id:zh_Hant" }, | 2211 | { "${lang.zh.hant} - zh", 0, 0, "uilang id:zh_Hant" }, |
2211 | { NULL } }; | 2212 | { NULL } }; |