summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-26 11:07:22 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-26 11:07:22 +0300
commitc449ece3c9fae9b63e6e5dcc1bac10358b768821 (patch)
tree775bb7ff9f33b4a18bfd09aa7a71724172bc3f5f
parent1bdf8286c079c15b6fe1db855dd1e94756442485 (diff)
Lang: Added Interlingua (ia)
IssueID #192
-rw-r--r--CMakeLists.txt1
-rwxr-xr-xpo/compile.py5
-rw-r--r--po/en.po7
-rw-r--r--res/lang/de.binbin18707 -> 18773 bytes
-rw-r--r--res/lang/en.binbin17195 -> 17261 bytes
-rw-r--r--res/lang/es.binbin19286 -> 19352 bytes
-rw-r--r--res/lang/fi.binbin18989 -> 19055 bytes
-rw-r--r--res/lang/fr.binbin19740 -> 19806 bytes
-rw-r--r--res/lang/ia.binbin0 -> 19244 bytes
-rw-r--r--res/lang/ie.binbin18410 -> 18476 bytes
-rw-r--r--res/lang/ru.binbin28898 -> 28964 bytes
-rw-r--r--res/lang/sr.binbin27393 -> 27459 bytes
-rw-r--r--res/lang/zh_Hans.binbin16585 -> 16651 bytes
-rw-r--r--res/lang/zh_Hant.binbin16659 -> 16725 bytes
-rw-r--r--src/lang.c1
-rw-r--r--src/ui/util.c1
16 files changed, 14 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ef71960..bf624a1d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -85,6 +85,7 @@ set (EMBED_RESOURCES
85 res/lang/es.bin 85 res/lang/es.bin
86 res/lang/fi.bin 86 res/lang/fi.bin
87 res/lang/fr.bin 87 res/lang/fr.bin
88 res/lang/ia.bin
88 res/lang/ie.bin 89 res/lang/ie.bin
89 res/lang/ru.bin 90 res/lang/ru.bin
90 res/lang/sr.bin 91 res/lang/sr.bin
diff --git a/po/compile.py b/po/compile.py
index 44fd92b4..9ff00f60 100755
--- a/po/compile.py
+++ b/po/compile.py
@@ -4,7 +4,10 @@
4 4
5import os, sys 5import os, sys
6 6
7BUILD_LANGS = ['en', 'de', 'es', 'fi', 'fr', 'ie', 'ru', 'sr', 'zh_Hans', 'zh_Hant'] 7BUILD_LANGS = [
8 'en', # base strings
9 'de', 'es', 'fi', 'fr', 'ia', 'ie', 'ru', 'sr', 'zh_Hans', 'zh_Hant'
10]
8MODE = 'compile' 11MODE = 'compile'
9ESCAPES = { 12ESCAPES = {
10 '\\': '\\', 13 '\\': '\\',
diff --git a/po/en.po b/po/en.po
index 4508e8cd..c78fc948 100644
--- a/po/en.po
+++ b/po/en.po
@@ -830,6 +830,9 @@ msgstr "German"
830msgid "lang.en" 830msgid "lang.en"
831msgstr "English" 831msgstr "English"
832 832
833msgid "lang.ia"
834msgstr "Interlingua"
835
833msgid "lang.ie" 836msgid "lang.ie"
834msgstr "Interlingue" 837msgstr "Interlingue"
835 838
@@ -1017,6 +1020,10 @@ msgstr "Vertical centering:"
1017msgid "prefs.collapsepreonload" 1020msgid "prefs.collapsepreonload"
1018msgstr "Collapse preformatted:" 1021msgstr "Collapse preformatted:"
1019 1022
1023# User preference that controls whether index.gmi pages get automatically opened when browsing the contents of a directory inside a compressed archive.
1024msgid "prefs.archive.openindex"
1025msgstr "Open archive indices:"
1026
1020msgid "prefs.smoothscroll" 1027msgid "prefs.smoothscroll"
1021msgstr "Smooth scrolling:" 1028msgstr "Smooth scrolling:"
1022 1029
diff --git a/res/lang/de.bin b/res/lang/de.bin
index 672999b3..a9eb2cf7 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 6a60d536..ca8b35c4 100644
--- a/res/lang/en.bin
+++ b/res/lang/en.bin
Binary files differ
diff --git a/res/lang/es.bin b/res/lang/es.bin
index f1cb61f5..62c776a7 100644
--- a/res/lang/es.bin
+++ b/res/lang/es.bin
Binary files differ
diff --git a/res/lang/fi.bin b/res/lang/fi.bin
index c13fa332..15e3fd0a 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 9396763e..b5ad72ba 100644
--- a/res/lang/fr.bin
+++ b/res/lang/fr.bin
Binary files differ
diff --git a/res/lang/ia.bin b/res/lang/ia.bin
new file mode 100644
index 00000000..f2600b2f
--- /dev/null
+++ b/res/lang/ia.bin
Binary files differ
diff --git a/res/lang/ie.bin b/res/lang/ie.bin
index 8b4c52d9..ff44e3ff 100644
--- a/res/lang/ie.bin
+++ b/res/lang/ie.bin
Binary files differ
diff --git a/res/lang/ru.bin b/res/lang/ru.bin
index a2e4b3bd..03223901 100644
--- a/res/lang/ru.bin
+++ b/res/lang/ru.bin
Binary files differ
diff --git a/res/lang/sr.bin b/res/lang/sr.bin
index 2766d595..241f0651 100644
--- a/res/lang/sr.bin
+++ b/res/lang/sr.bin
Binary files differ
diff --git a/res/lang/zh_Hans.bin b/res/lang/zh_Hans.bin
index 311bf19d..380250dd 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 083d3f08..d127059a 100644
--- a/res/lang/zh_Hant.bin
+++ b/res/lang/zh_Hant.bin
Binary files differ
diff --git a/src/lang.c b/src/lang.c
index eb5cb9c3..852884b3 100644
--- a/src/lang.c
+++ b/src/lang.c
@@ -57,6 +57,7 @@ static void load_Lang_(iLang *d, const char *id) {
57 : equal_CStr(id, "ru") ? &blobRu_Embedded 57 : equal_CStr(id, "ru") ? &blobRu_Embedded
58 : equal_CStr(id, "es") ? &blobEs_Embedded 58 : equal_CStr(id, "es") ? &blobEs_Embedded
59 : equal_CStr(id, "de") ? &blobDe_Embedded 59 : equal_CStr(id, "de") ? &blobDe_Embedded
60 : equal_CStr(id, "ia") ? &blobIa_Embedded
60 : equal_CStr(id, "ie") ? &blobIe_Embedded 61 : equal_CStr(id, "ie") ? &blobIe_Embedded
61 : equal_CStr(id, "sr") ? &blobSr_Embedded 62 : equal_CStr(id, "sr") ? &blobSr_Embedded
62 : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded 63 : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded
diff --git a/src/ui/util.c b/src/ui/util.c
index e3a3689b..0e2deede 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -2204,6 +2204,7 @@ iWidget *makePreferences_Widget(void) {
2204 { "${lang.es} - es", 0, 0, "uilang id:es" }, 2204 { "${lang.es} - es", 0, 0, "uilang id:es" },
2205 { "${lang.fi} - fi", 0, 0, "uilang id:fi" }, 2205 { "${lang.fi} - fi", 0, 0, "uilang id:fi" },
2206 { "${lang.fr} - fr", 0, 0, "uilang id:fr" }, 2206 { "${lang.fr} - fr", 0, 0, "uilang id:fr" },
2207 { "${lang.ia} - ia", 0, 0, "uilang id:ia" },
2207 { "${lang.ie} - ie", 0, 0, "uilang id:ie" }, 2208 { "${lang.ie} - ie", 0, 0, "uilang id:ie" },
2208 { "${lang.ru} - ru", 0, 0, "uilang id:ru" }, 2209 { "${lang.ru} - ru", 0, 0, "uilang id:ru" },
2209 { "${lang.sr} - sr", 0, 0, "uilang id:sr" }, 2210 { "${lang.sr} - sr", 0, 0, "uilang id:sr" },