summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-11-23 12:33:35 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-11-23 12:33:35 +0200
commit71b93a446de83d4f8582a60f809f0108afc95add (patch)
tree84360b5031a8e0000670f5b7f9ad240d65a5be07
parent88fcfb66c97c094c346b7221229d68b245836c3c (diff)
Added Turkish UI language
IssueID #396
-rw-r--r--AUTHORS.md7
-rw-r--r--CMakeLists.txt1
-rwxr-xr-xpo/compile.py1
-rw-r--r--res/about/version.gmi1
-rw-r--r--res/lang/tr.binbin0 -> 28832 bytes
-rw-r--r--src/lang.c1
-rw-r--r--src/resources.c2
-rw-r--r--src/resources.h1
-rw-r--r--src/ui/util.c1
9 files changed, 12 insertions, 3 deletions
diff --git a/AUTHORS.md b/AUTHORS.md
index a809d9e3..3a5c9dce 100644
--- a/AUTHORS.md
+++ b/AUTHORS.md
@@ -5,11 +5,11 @@ Lagrange was created by Jaakko Keränen (<jaakko.keranen@iki.fi>) in July 2020.
5Legend: `C` code, `T` translation 5Legend: `C` code, `T` translation
6 6
7``` 7```
8C 2631 Jaakko Keränen <jaakko.keranen@iki.fi> 8C 2665 Jaakko Keränen <jaakko.keranen@iki.fi>
9CT 39 Nikolay Korotkiy <sikmir@gmail.com> 9CT 39 Nikolay Korotkiy <sikmir@gmail.com>
10 T 39 Olga Smirnova <mistresssilvara@hotmail.com> 10 T 39 Olga Smirnova <mistresssilvara@hotmail.com>
11 T 28 Anna “CyberTailor” <cyber@sysrq.in>
11 T 27 Alyssa Liddell <e-liss@tuta.io> 12 T 27 Alyssa Liddell <e-liss@tuta.io>
12 T 27 jan Anja <cyber@sysrq.in>
13 T 25 Shibo Lyu <github@of.sb> 13 T 25 Shibo Lyu <github@of.sb>
14 T 22 Страхиња Радић <contact@strahinja.org> 14 T 22 Страхиња Радић <contact@strahinja.org>
15 T 17 MCMic <come@chilliet.eu> 15 T 17 MCMic <come@chilliet.eu>
@@ -20,8 +20,8 @@ CT 39 Nikolay Korotkiy <sikmir@gmail.com>
20 T 8 El Mau <public@correolibre.net> 20 T 8 El Mau <public@correolibre.net>
21 T 7 Waterrail <maksymiliankrol03@gmail.com> 21 T 7 Waterrail <maksymiliankrol03@gmail.com>
22 T 5 roy niang <roy@royniang.com> 22 T 5 roy niang <roy@royniang.com>
23 T 3 Alex Schroeder <alex@alexschroeder.ch>
23 T 3 Botond Balázs <balazsbotond@gmail.com> 24 T 3 Botond Balázs <balazsbotond@gmail.com>
24 T 2 Alex Schroeder <alex@alexschroeder.ch>
25C 2 Alyssa Rosenzweig <alyssa@rosenzweig.io> 25C 2 Alyssa Rosenzweig <alyssa@rosenzweig.io>
26 T 2 Arns Udovič <zordsdavini@arns.lt> 26 T 2 Arns Udovič <zordsdavini@arns.lt>
27C 2 Br0000k <77938600+Br0000k@users.noreply.github.com> 27C 2 Br0000k <77938600+Br0000k@users.noreply.github.com>
@@ -33,6 +33,7 @@ C 1 Adam Mizerski <adam@mizerski.pl>
33C 1 Charles <charles@cdaniels.net> 33C 1 Charles <charles@cdaniels.net>
34C 1 Dario Vladovic <d.vladimyr@gmail.com> 34C 1 Dario Vladovic <d.vladimyr@gmail.com>
35C 1 David Gillies <dave.gillies@gmail.com> 35C 1 David Gillies <dave.gillies@gmail.com>
36 T 1 Emir <emir_sari@msn.com>
36 T 1 Eric <spice2wolf@gmail.com> 37 T 1 Eric <spice2wolf@gmail.com>
37 T 1 Marek Ľach <mareklachbc@tutanota.com> 38 T 1 Marek Ľach <mareklachbc@tutanota.com>
38C 1 Raph M <raph@raphm.com> 39C 1 Raph M <raph@raphm.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 419fa25c..d6636fae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,6 +89,7 @@ set (RESOURCES
89 res/lang/sk.bin 89 res/lang/sk.bin
90 res/lang/sr.bin 90 res/lang/sr.bin
91 res/lang/tok.bin 91 res/lang/tok.bin
92 res/lang/tr.bin
92 res/lang/uk.bin 93 res/lang/uk.bin
93 res/lang/zh_Hans.bin 94 res/lang/zh_Hans.bin
94 res/lang/zh_Hant.bin 95 res/lang/zh_Hant.bin
diff --git a/po/compile.py b/po/compile.py
index adf5a403..d29cbb8b 100755
--- a/po/compile.py
+++ b/po/compile.py
@@ -22,6 +22,7 @@ BUILD_LANGS = [ 'en', # base strings
22 'sk', 22 'sk',
23 'sr', 23 'sr',
24 'tok', 24 'tok',
25 'tr',
25 'uk', 26 'uk',
26 'zh_Hans', 27 'zh_Hans',
27 'zh_Hant' 28 'zh_Hant'
diff --git a/res/about/version.gmi b/res/about/version.gmi
index 97304e06..ce5502de 100644
--- a/res/about/version.gmi
+++ b/res/about/version.gmi
@@ -12,6 +12,7 @@ New features:
12* Choose parent folder when creating or editing a bookmark. 12* Choose parent folder when creating or editing a bookmark.
13* macOS: Automatic updates using the Sparkle framework. 13* macOS: Automatic updates using the Sparkle framework.
14* Windows: Automatic updates using the WinSparkle library. 14* Windows: Automatic updates using the WinSparkle library.
15* Added UI language for Turkish.
15 16
16Changes and enhancements: 17Changes and enhancements:
17* Feeds tab in the sidebar has a redesigned action toolbar with "Mark All as Read", and dropdown menu and keyboard shortcuts for changing the filter mode. 18* Feeds tab in the sidebar has a redesigned action toolbar with "Mark All as Read", and dropdown menu and keyboard shortcuts for changing the filter mode.
diff --git a/res/lang/tr.bin b/res/lang/tr.bin
new file mode 100644
index 00000000..88412aef
--- /dev/null
+++ b/res/lang/tr.bin
Binary files differ
diff --git a/src/lang.c b/src/lang.c
index 0bafb42b..905601ca 100644
--- a/src/lang.c
+++ b/src/lang.c
@@ -103,6 +103,7 @@ static void load_Lang_(iLang *d, const char *id) {
103 : equal_CStr(id, "sk") ? &blobSk_Resources 103 : equal_CStr(id, "sk") ? &blobSk_Resources
104 : equal_CStr(id, "sr") ? &blobSr_Resources 104 : equal_CStr(id, "sr") ? &blobSr_Resources
105 : equal_CStr(id, "tok") ? &blobTok_Resources 105 : equal_CStr(id, "tok") ? &blobTok_Resources
106 : equal_CStr(id, "tr") ? &blobTr_Resources
106 : equal_CStr(id, "uk") ? &blobUk_Resources 107 : equal_CStr(id, "uk") ? &blobUk_Resources
107 : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Resources 108 : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Resources
108 : equal_CStr(id, "zh_Hant") ? &blobZh_Hant_Resources 109 : equal_CStr(id, "zh_Hant") ? &blobZh_Hant_Resources
diff --git a/src/resources.c b/src/resources.c
index 24fbe214..c60a2916 100644
--- a/src/resources.c
+++ b/src/resources.c
@@ -51,6 +51,7 @@ iBlock blobRu_Resources;
51iBlock blobSk_Resources; 51iBlock blobSk_Resources;
52iBlock blobSr_Resources; 52iBlock blobSr_Resources;
53iBlock blobTok_Resources; 53iBlock blobTok_Resources;
54iBlock blobTr_Resources;
54iBlock blobUk_Resources; 55iBlock blobUk_Resources;
55iBlock blobZh_Hans_Resources; 56iBlock blobZh_Hans_Resources;
56iBlock blobZh_Hant_Resources; 57iBlock blobZh_Hant_Resources;
@@ -85,6 +86,7 @@ static struct {
85 { &blobSk_Resources, "lang/sk.bin" }, 86 { &blobSk_Resources, "lang/sk.bin" },
86 { &blobSr_Resources, "lang/sr.bin" }, 87 { &blobSr_Resources, "lang/sr.bin" },
87 { &blobTok_Resources, "lang/tok.bin" }, 88 { &blobTok_Resources, "lang/tok.bin" },
89 { &blobTr_Resources, "lang/tr.bin" },
88 { &blobUk_Resources, "lang/uk.bin" }, 90 { &blobUk_Resources, "lang/uk.bin" },
89 { &blobZh_Hans_Resources, "lang/zh_Hans.bin" }, 91 { &blobZh_Hans_Resources, "lang/zh_Hans.bin" },
90 { &blobZh_Hant_Resources, "lang/zh_Hant.bin" }, 92 { &blobZh_Hant_Resources, "lang/zh_Hant.bin" },
diff --git a/src/resources.h b/src/resources.h
index df5cac36..b00fde51 100644
--- a/src/resources.h
+++ b/src/resources.h
@@ -55,6 +55,7 @@ extern iBlock blobRu_Resources;
55extern iBlock blobSk_Resources; 55extern iBlock blobSk_Resources;
56extern iBlock blobSr_Resources; 56extern iBlock blobSr_Resources;
57extern iBlock blobTok_Resources; 57extern iBlock blobTok_Resources;
58extern iBlock blobTr_Resources;
58extern iBlock blobUk_Resources; 59extern iBlock blobUk_Resources;
59extern iBlock blobZh_Hans_Resources; 60extern iBlock blobZh_Hans_Resources;
60extern iBlock blobZh_Hant_Resources; 61extern iBlock blobZh_Hant_Resources;
diff --git a/src/ui/util.c b/src/ui/util.c
index e718631d..bc9c2825 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -2237,6 +2237,7 @@ iWidget *makePreferences_Widget(void) {
2237 { u8"Slovak - sk", 0, 0, "uilang id:sk" }, 2237 { u8"Slovak - sk", 0, 0, "uilang id:sk" },
2238 { u8"Српски - sr", 0, 0, "uilang id:sr" }, 2238 { u8"Српски - sr", 0, 0, "uilang id:sr" },
2239 { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, 2239 { u8"Toki pona - tok", 0, 0, "uilang id:tok" },
2240 { u8"Türkçe - tr", 0, 0, "uilang id:tr" },
2240 { u8"Українська - uk", 0, 0, "uilang id:uk" }, 2241 { u8"Українська - uk", 0, 0, "uilang id:uk" },
2241 { u8"简体中文 - zh", 0, 0, "uilang id:zh_Hans" }, 2242 { u8"简体中文 - zh", 0, 0, "uilang id:zh_Hans" },
2242 { u8"繁體/正體中文 - zh", 0, 0, "uilang id:zh_Hant" }, 2243 { u8"繁體/正體中文 - zh", 0, 0, "uilang id:zh_Hant" },