From da1a753aef8822193185feed29c6716514b54dd8 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 4 Nov 2021 21:57:52 +0200 Subject: Updated release notes --- res/about/version.gmi | 1 + 1 file changed, 1 insertion(+) (limited to 'res/about/version.gmi') diff --git a/res/about/version.gmi b/res/about/version.gmi index 372f6027..801f2869 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi @@ -7,6 +7,7 @@ # Release notes ## 1.8.1 +* Added UI translation for Hungarian. * Added the `zip` utility as a build requirement. It is used for making fontpacks. * Fixed build failure with the simple text renderer, i.e., when HarfBuzz is disabled. * Fixed a line spacing artifact in long headings. With some fonts, the lines were clipping each other so the spacing was restored to normal. -- cgit v1.2.3 From 85cdf58f7e24d209dcf8457b698731001e32e24f Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 4 Nov 2021 22:08:16 +0200 Subject: Added Czech UI translation --- CMakeLists.txt | 1 + po/compile.py | 1 + po/en.po | 3 +++ res/about/version.gmi | 2 +- res/lang/cs.bin | Bin 0 -> 28612 bytes src/lang.c | 3 ++- src/ui/util.c | 3 ++- 7 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 res/lang/cs.bin (limited to 'res/about/version.gmi') diff --git a/CMakeLists.txt b/CMakeLists.txt index ac86d71a..796a9507 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,7 @@ set (EMBED_RESOURCES res/about/license.gmi res/about/version.gmi res/arg-help.txt + res/lang/cs.bin res/lang/de.bin res/lang/en.bin res/lang/eo.bin diff --git a/po/compile.py b/po/compile.py index f046ca96..16097ddc 100755 --- a/po/compile.py +++ b/po/compile.py @@ -6,6 +6,7 @@ import os, sys BUILD_LANGS = [ 'en', # base strings + 'cs', 'de', 'eo', 'es', diff --git a/po/en.po b/po/en.po index 83dec03f..53548605 100644 --- a/po/en.po +++ b/po/en.po @@ -1115,6 +1115,9 @@ msgstr "Spanish" msgid "lang.es.mx" msgstr "Spanish (Mexico)" +msgid "lang.cs" +msgstr "Czech" + msgid "lang.sk" msgstr "Slovak" diff --git a/res/about/version.gmi b/res/about/version.gmi index 801f2869..81ebd87d 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi @@ -7,7 +7,7 @@ # Release notes ## 1.8.1 -* Added UI translation for Hungarian. +* Added UI translations: Hungarian, Czech. * Added the `zip` utility as a build requirement. It is used for making fontpacks. * Fixed build failure with the simple text renderer, i.e., when HarfBuzz is disabled. * Fixed a line spacing artifact in long headings. With some fonts, the lines were clipping each other so the spacing was restored to normal. diff --git a/res/lang/cs.bin b/res/lang/cs.bin new file mode 100644 index 00000000..4523b454 Binary files /dev/null and b/res/lang/cs.bin differ diff --git a/src/lang.c b/src/lang.c index 3492cc9b..7b00f172 100644 --- a/src/lang.c +++ b/src/lang.c @@ -88,6 +88,7 @@ static void load_Lang_(iLang *d, const char *id) { iUnused(id); const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded : equal_CStr(id, "fr") ? &blobFr_Embedded + : equal_CStr(id, "cs") ? &blobCs_Embedded : equal_CStr(id, "ru") ? &blobRu_Embedded : equal_CStr(id, "eo") ? &blobEo_Embedded : equal_CStr(id, "es") ? &blobEs_Embedded @@ -112,7 +113,7 @@ static void load_Lang_(iLang *d, const char *id) { else if (data == &blobIsv_Embedded) { d->pluralType = oneTwoMany_PluralType; } - else if (data == &blobSk_Embedded) { + else if (data == &blobCs_Embedded || data == &blobSk_Embedded) { d->pluralType = oneFewMany_PluralType; } else if (data == &blobPl_Embedded) { diff --git a/src/ui/util.c b/src/ui/util.c index 5a58551b..760bf48f 100644 --- a/src/ui/util.c +++ b/src/ui/util.c @@ -2199,7 +2199,8 @@ iWidget *makeDialog_Widget(const char *id, iWidget *makePreferences_Widget(void) { /* Common items. */ - const iMenuItem langItems[] = { { "${lang.de} - de", 0, 0, "uilang id:de" }, + const iMenuItem langItems[] = { { "${lang.cs} - cs", 0, 0, "uilang id:cs" }, + { "${lang.de} - de", 0, 0, "uilang id:de" }, { "${lang.en} - en", 0, 0, "uilang id:en" }, { "${lang.es} - es", 0, 0, "uilang id:es" }, { "${lang.es.mx} - es", 0, 0, "uilang id:es_MX" }, -- cgit v1.2.3 From a5f256e41beb5441ed061deb66527bfc01f7ee04 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 09:52:06 +0200 Subject: Updated release notes --- res/about/version.gmi | 1 + 1 file changed, 1 insertion(+) (limited to 'res/about/version.gmi') diff --git a/res/about/version.gmi b/res/about/version.gmi index 81ebd87d..3b9ab34d 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi @@ -10,6 +10,7 @@ * Added UI translations: Hungarian, Czech. * Added the `zip` utility as a build requirement. It is used for making fontpacks. * Fixed build failure with the simple text renderer, i.e., when HarfBuzz is disabled. +* Fixed issues scrolling tall popup menus (e.g., UI language selection). * Fixed a line spacing artifact in long headings. With some fonts, the lines were clipping each other so the spacing was restored to normal. * Fixed a socket I/O issue that caused received data to be ignored when the peer closed the connection prematurely. * macOS: Tab close buttons are on the left side (platform UI convention). -- cgit v1.2.3 From bc83f14c8822977caa80c95c8d06941e124e2008 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 8 Nov 2021 19:09:59 +0200 Subject: Bumped version number to 1.8.2 --- CMakeLists.txt | 2 +- res/about/version.gmi | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'res/about/version.gmi') diff --git a/CMakeLists.txt b/CMakeLists.txt index 796a9507..55984ddf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ cmake_minimum_required (VERSION 3.9) project (Lagrange - VERSION 1.8.1 + VERSION 1.8.2 DESCRIPTION "A Beautiful Gemini Client" LANGUAGES C ) diff --git a/res/about/version.gmi b/res/about/version.gmi index 3b9ab34d..d180d1eb 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi @@ -6,6 +6,9 @@ ``` # Release notes +## 1.8.2 +* Fixed crash when fontpack.ini specifies a file that cannot be found. + ## 1.8.1 * Added UI translations: Hungarian, Czech. * Added the `zip` utility as a build requirement. It is used for making fontpacks. -- cgit v1.2.3 From d01ba586693d37ff7d21afda348669807762d6dd Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 9 Nov 2021 21:28:18 +0200 Subject: Updated release notes --- res/about/version.gmi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'res/about/version.gmi') diff --git a/res/about/version.gmi b/res/about/version.gmi index d180d1eb..e343cbf9 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi @@ -8,6 +8,8 @@ ## 1.8.2 * Fixed crash when fontpack.ini specifies a file that cannot be found. +* Fixed manually trusting a certificate whose subject doesn't match domain name. +* Fixed incorrect title of some error messages (was showing response meta info). ## 1.8.1 * Added UI translations: Hungarian, Czech. -- cgit v1.2.3 From 531d64d880026e76836d15fc80adefd729c06281 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 10 Nov 2021 16:37:04 +0200 Subject: Updated release notes --- res/about/version.gmi | 1 + 1 file changed, 1 insertion(+) (limited to 'res/about/version.gmi') diff --git a/res/about/version.gmi b/res/about/version.gmi index e343cbf9..ec3f84ba 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi @@ -7,6 +7,7 @@ # Release notes ## 1.8.2 +* Fixed encoding of `+` characters in URLs as per RFC 3986. * Fixed crash when fontpack.ini specifies a file that cannot be found. * Fixed manually trusting a certificate whose subject doesn't match domain name. * Fixed incorrect title of some error messages (was showing response meta info). -- cgit v1.2.3 From 5d4a4c9acbb23be1f405b1be848ac5f22eda7210 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 12 Nov 2021 07:14:24 +0200 Subject: Updated release notes --- res/about/version.gmi | 1 + 1 file changed, 1 insertion(+) (limited to 'res/about/version.gmi') diff --git a/res/about/version.gmi b/res/about/version.gmi index ec3f84ba..301cf201 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi @@ -11,6 +11,7 @@ * Fixed crash when fontpack.ini specifies a file that cannot be found. * Fixed manually trusting a certificate whose subject doesn't match domain name. * Fixed incorrect title of some error messages (was showing response meta info). +* Fixed ambiguous font dropdown menu items if some fonts have the same name. Now the unique font ID will be included in these cases. ## 1.8.1 * Added UI translations: Hungarian, Czech. -- cgit v1.2.3 From 6d093bf68fc5de658d821200a00111017d069aa7 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 13 Nov 2021 06:13:10 +0200 Subject: Updated release notes --- res/about/version.gmi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'res/about/version.gmi') diff --git a/res/about/version.gmi b/res/about/version.gmi index 301cf201..ffd91f7f 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi @@ -9,9 +9,10 @@ ## 1.8.2 * Fixed encoding of `+` characters in URLs as per RFC 3986. * Fixed crash when fontpack.ini specifies a file that cannot be found. -* Fixed manually trusting a certificate whose subject doesn't match domain name. * Fixed incorrect title of some error messages (was showing response meta info). * Fixed ambiguous font dropdown menu items if some fonts have the same name. Now the unique font ID will be included in these cases. +* Made it possible to manually trust a certificate whose subject doesn't match domain name. +* Updated UI translations. ## 1.8.1 * Added UI translations: Hungarian, Czech. -- cgit v1.2.3