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(+) 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 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 a90e3a9cf24ede37790a27c333c2d3ee262c2d1a Mon Sep 17 00:00:00 2001 From: Tadeáš Erban Date: Thu, 4 Nov 2021 12:32:10 +0000 Subject: Translated using Weblate (Czech) Currently translated at 91.6% (573 of 625 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/cs/ --- po/cs.po | 754 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 753 insertions(+), 1 deletion(-) diff --git a/po/cs.po b/po/cs.po index 0f8b3d4b..e0b81a8e 100644 --- a/po/cs.po +++ b/po/cs.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-02 23:51+0000\n" +"PO-Revision-Date: 2021-11-04 13:20+0000\n" "Last-Translator: Tadeáš Erban \n" "Language-Team: Czech \n" "Language: cs\n" @@ -1191,3 +1191,755 @@ msgstr "Slovenština" msgid "keys.upload" msgstr "Nahrát stránku pomocí Titanu" + +msgid "error.proxy.msg" +msgstr "" +"Požadavek pomocí proxy selhal, protože server nebyl schopen utvořit spojení " +"s vzdáleným hostitelem. Je možné, že existují problémy s konektivitou." + +msgid "error.proxyrefusal.msg" +msgstr "" +"Váš požadavek byl pro zdroj na doméně, která není obsluhována tímto serverem " +"a ten server nepřijímá proxy požadavky." + +msgid "heading.bookmark.add" +msgstr "PŘIDAT ZÁLOŽKU" + +msgid "heading.bookmark.edit" +msgstr "UPRAVIT ZÁLOŽKU" + +msgid "dlg.bookmark.save" +msgstr "Uložit záložku" + +msgid "dlg.bookmark.title" +msgstr "Název:" + +msgid "dlg.bookmark.tags" +msgstr "Značení:" + +msgid "dlg.newident.notsaved" +msgstr "není uložena na disk" + +msgid "dlg.addfolder.defaulttitle" +msgstr "Nová složka" + +msgid "dlg.addfolder.prompt" +msgstr "Zadejte jméno nové složky:" + +msgid "heading.addfolder" +msgstr "PŘIDAT SLOŽKU" + +msgid "dlg.bookmark.url" +msgstr "URL:" + +msgid "heading.prefs.certs" +msgstr "CERTIFIKÁTY" + +# used on mobile +msgid "heading.settings" +msgstr "NASTAVENÍ" + +msgid "heading.prefs.uitheme" +msgstr "BARVY ROZHRANÍ" + +msgid "prefs.searchurl" +msgstr "URL vyhledávání:" + +msgid "prefs.hoverlink" +msgstr "Ukázat URL po najetí kurzorem:" + +msgid "prefs.centershort" +msgstr "Svislé vystředění" + +msgid "prefs.retainwindow" +msgstr "Zachovat umístění:" + +msgid "prefs.pinsplit.none" +msgstr "Žádné" + +# Font to use for headings and body when Monospace body is enabled. +msgid "prefs.font.monodoc" +msgstr "Neproporcionální písmo:" + +msgid "prefs.biglede" +msgstr "Velký první odstavec:" + +msgid "prefs.linewidth.normal" +msgstr "Normální" + +msgid "prefs.linewidth" +msgstr "Šířka textu:" + +msgid "keys.tab.new" +msgstr "Nová karta" + +msgid "keys.split.item" +msgstr "Nabídka rozděleného pohledu:" + +msgid "error.tls.msg" +msgstr "Nepodařilo se komunikovat se serverem." + +msgid "error.tls" +msgstr "Selhání sítě/TLS" + +msgid "error.unavail" +msgstr "Server nedostupný" + +msgid "error.cgi" +msgstr "CGI chyba" + +msgid "error.proxy" +msgstr "Chyba proxy" + +msgid "error.permanent" +msgstr "Trvalé selhání" + +msgid "error.permanent.msg" +msgstr "Váš požadavek selhal a selže i v budoucnosti pokud jej zopakujete." + +msgid "error.notfound" +msgstr "Nenalezen" + +msgid "error.gone" +msgstr "Fuč" + +msgid "error.badrequest" +msgstr "Špatný požadavek" + +#, c-format +msgid "archive.summary" +msgid_plural "archive.summary.n" +msgstr[0] "" +"Tento archiv obsahuje %zu soubor a jeho zkomprimovaná velikost je %.1f MB." +msgstr[1] "" +"Tento archiv obsahuje %zu soubory a jeho zkomprimovaná velikost je %.1f MB." +msgstr[2] "" +"Tento archiv obsahuje %zu souborů a jeho zkomprimovaná velikost je %.1f MB." + +msgid "keys.link.modkey" +msgstr "Otevřít odkaz pomocí modifikační klávesy" + +msgid "keys.link.homerow.newtab" +msgstr "Otevírat odkazy v nové kartě pomocí kláves na kterých spočívají prsty" + +msgid "keys.link.homerow.hover" +msgstr "Najet na odkaz pomocí kláves na kterých spočívají prsty" + +msgid "lang.isv" +msgstr "Interslavic" + +msgid "lang.tok" +msgstr "Toki Pona" + +msgid "dlg.newident.rsa.selfsign" +msgstr "Vytváří se vlastně podepsaný 2048-bitový RSA certifikát." + +msgid "hint.newident.date" +msgstr "RRRR nebo RRRR-MM-DD" + +msgid "hint.newident.optional" +msgstr "volitelný" + +msgid "dlg.newident.until" +msgstr "Platná do:" + +msgid "keys.fullscreen" +msgstr "Zapnout/vypnout zobrazení na celou obrazovky" + +msgid "dlg.newident.commonname" +msgstr "Obecné jméno:" + +msgid "dlg.newident.temp" +msgstr "Dočasná:" + +msgid "dlg.newident.scope" +msgstr "Použita na:" + +msgid "dlg.newident.scope.domain" +msgstr "Aktuální doméně" + +msgid "dlg.newident.scope.page" +msgstr "Aktuální stránce" + +msgid "dlg.newident.scope.none" +msgstr "Nepoužívána" + +msgid "dlg.newident.email" +msgstr "Email:" + +msgid "dlg.newident.userid" +msgstr "ID uživatele:" + +msgid "dlg.newident.domain" +msgstr "Doména:" + +msgid "dlg.newident.org" +msgstr "Organizace:" + +msgid "keys.tab.close" +msgstr "Zavřít kartu" + +msgid "dlg.newident.country" +msgstr "Stát:" + +msgid "dlg.newident.more" +msgstr "Více…" + +msgid "heading.newident.missing" +msgstr "CHYBĚJÍCÍ INFORMACE" + +msgid "dlg.newindent.missing.commonname" +msgstr "\"Obecné jméno\" musí být specifikováno." + +msgid "heading.newident.date.bad" +msgstr "NEPLATNÉ DATUM" + +msgid "dlg.newident.date.past" +msgstr "Datum vypršení platnosti musí být v budoucnosti." + +msgid "dlg.newident.date.example" +msgstr "" +"Zkontrolujte prosím datum konce platnosti. Příklady:\n" +"• 2030\n" +"• 2025-06-30\n" +"• 2021-12-31 23:59:59" + +msgid "keys.split.menu" +msgstr "Nastavit režim rozděleného pohledu" + +msgid "heading.feedcfg" +msgstr "NASTAVENÍ KANÁLU" + +msgid "heading.subscribe" +msgstr "ODEBÍRAT STRÁNKU" + +msgid "dlg.feed.title" +msgstr "Název:" + +msgid "dlg.feed.entrytype" +msgstr "Typ zápisu:" + +msgid "dlg.feed.type.gemini" +msgstr "YYYY-MM-DD odkazy" + +msgid "keys.split.next" +msgstr "Přepnout zaměření na následující polovinu" + +# tab button +msgid "heading.prefs.interface" +msgstr "Uživatelské rozhraní" + +# tab button +msgid "heading.prefs.keys" +msgstr "Klávesy" + +# tab button +msgid "heading.prefs.network" +msgstr "Síť" + +msgid "heading.prefs.paragraph" +msgstr "ODSTAVEC" + +msgid "heading.prefs.pagecontent" +msgstr "BARVY STRÁNKY" + +msgid "heading.prefs.proxies" +msgstr "PROXY" + +msgid "heading.prefs.scrolling" +msgstr "POSOUVÁNÍ STRÁNKY" + +msgid "heading.prefs.sizing" +msgstr "DIMENZOVÁNÍ" + +msgid "heading.prefs.widelayout" +msgstr "ŠIROKÉ ROZLOŽENÍ" + +# tab button +msgid "heading.prefs.style" +msgstr "Styl" + +# tab button +msgid "heading.prefs.userinterface" +msgstr "Uživatelské rozhraní" + +msgid "prefs.downloads" +msgstr "Složka stažených souborů:" + +msgid "prefs.collapsepreonload" +msgstr "Smrštit předformátovaný text:" + +msgid "prefs.bookmarks.addbottom" +msgstr "Přidat záložky ke spodku:" + +# User preference that controls whether index.gmi pages get automatically opened when browsing the contents of a directory inside a compressed archive. +msgid "prefs.archive.openindex" +msgstr "Otevírat archivní indexy:" + +msgid "prefs.pinsplit.left" +msgstr "Levé karty" + +msgid "prefs.pinsplit.right" +msgstr "Pravé karty" + +msgid "prefs.pinsplit" +msgstr "Přišpendlení v rozpůleném pohledu:" + +msgid "prefs.smoothscroll" +msgstr "Plynulé posouvání:" + +msgid "prefs.scrollspeed.keyboard" +msgstr "Rychlost posouvání klávesnicí:" + +msgid "prefs.scrollspeed.mouse" +msgstr "Rychlost posouvání myší:" + +msgid "prefs.imageloadscroll" +msgstr "Načítat obrázky při posuvu:" + +msgid "prefs.hidetoolbarscroll" +msgstr "Skrýt nástrojovou lištu při posuvu:" + +msgid "prefs.ostheme" +msgstr "Použít systémové téma:" + +msgid "prefs.theme.black" +msgstr "Černé" + +msgid "prefs.theme.dark" +msgstr "Tmavé" + +msgid "prefs.theme.light" +msgstr "Světlé" + +msgid "prefs.theme.white" +msgstr "Bílé" + +msgid "prefs.accent" +msgstr "Doplňková barva:" + +msgid "prefs.accent.teal" +msgstr "Špinavě modrá" + +msgid "prefs.accent.orange" +msgstr "Oranžová" + +msgid "prefs.uilang" +msgstr "Jazyk:" + +msgid "prefs.doctheme.name.sepia" +msgstr "Sépiové" + +msgid "prefs.imagestyle" +msgstr "Zbarvit obrázky:" + +msgid "prefs.imagestyle.original" +msgstr "Nijak" + +msgid "prefs.imagestyle.grayscale" +msgstr "Černobíle" + +# Abbrevation: background-to-foreground +msgid "prefs.imagestyle.bgfg" +msgstr "Pozadí do popředí" + +msgid "prefs.imagestyle.text" +msgstr "Barva textu" + +msgid "prefs.imagestyle.preformat" +msgstr "Barva předformátovaného textu" + +msgid "prefs.font.ui" +msgstr "Rozhraní:" + +msgid "prefs.font.heading" +msgstr "Nadpisy:" + +msgid "prefs.font.body" +msgstr "Tělo:" + +msgid "prefs.font.mono" +msgstr "Předformátovaný text:" + +msgid "prefs.font" +msgstr "Písmo těla:" + +msgid "prefs.mono" +msgstr "Používat neproporcionální písmo pro tělo:" + +msgid "prefs.mono.gemini" +msgstr "Gemini" + +msgid "prefs.linewidth.fill" +msgstr "Vyplnit" + +msgid "prefs.quoteicon.icon" +msgstr "Ikona \"" + +msgid "prefs.linespacing" +msgstr "Rozestup mezi řádky:" + +msgid "prefs.quoteicon" +msgstr "Ukazatel citátu" + +msgid "prefs.decodeurls" +msgstr "Dekódovat URL adresy:" + +msgid "prefs.memorysize" +msgstr "Velikost paměti:" + +msgid "prefs.cachesize" +msgstr "Velikost mezipaměti:" + +msgid "prefs.ca.file" +msgstr "Soubor CA:" + +msgid "prefs.ca.path" +msgstr "Cesta k CA:" + +msgid "prefs.proxy.gemini" +msgstr "Proxy pro Gemini:" + +msgid "prefs.proxy.gopher" +msgstr "Proxy pro Gopher:" + +msgid "prefs.proxy.http" +msgstr "Proxy pro HTTP:" + +msgid "menu.binding.reset" +msgstr "Obnovit výchozí" + +msgid "menu.binding.clear" +msgstr "Odstranit" + +msgid "archive.exit" +msgstr "Odejít z archivu" + +msgid "dir.empty" +msgstr "Tento adresář je prázdný." + +#, c-format +msgid "dir.summary" +msgid_plural "dir.summary.n" +msgstr[0] "Tato složka obsahuje %zu položku." +msgstr[1] "Tato složka obsahuje %zu položky." +msgstr[2] "Tato složka obsahuje %zu položek." + +msgid "keys.top" +msgstr "Přeskočit na začátek" + +msgid "keys.bottom" +msgstr "Přeskočit na konec" + +msgid "keys.scroll.up" +msgstr "Posunout nahoru" + +msgid "keys.scroll.down" +msgstr "Posunout dolů" + +msgid "keys.scroll.halfpage.up" +msgstr "Posunout nahoru o půl stránky" + +msgid "keys.scroll.halfpage.down" +msgstr "Posunout dolů o půl stránky" + +msgid "keys.scroll.page.down" +msgstr "Posunout stránku nahoru" + +msgid "keys.scroll.page.up" +msgstr "Posunout stránku dolů" + +msgid "keys.back" +msgstr "Jít zpět" + +msgid "keys.forward" +msgstr "Jít vpřed" + +msgid "keys.parent" +msgstr "Přejít na rodičovský adresář" + +msgid "keys.root" +msgstr "Přejít na kořen kapsule" + +msgid "keys.reload" +msgstr "Obnovit stránku" + +msgid "error.badstatus.msg" +msgstr "" +"Server odpověděl se stavovým kódem, který není ve specifikaci protokolu " +"Gemini. Možná je z budoucnosti? Nebo prostě nefunguje." + +msgid "keys.link.homerow" +msgstr "Otevřít odkaz pomocí kláves na kterých spočívají prsty" + +msgid "keys.link.homerow.next" +msgstr "Následující sada kláves na kterých spočívají prsty" + +msgid "keys.bookmark.add" +msgstr "Přidat záložku" + +msgid "keys.bookmark.addfolder" +msgstr "Přidat složku záložek" + +msgid "keys.subscribe" +msgstr "Odebírat stránku" + +msgid "keys.findtext" +msgstr "Najít text na stránce" + +msgid "error.certexpired.msg" +msgstr "" +"Připojení k serveru bylo přerušeno, neboť platnost jeho TLS certifikátu " +"vypršela." + +msgid "error.certverify" +msgstr "Nedůvěryhodný server" + +msgid "error.unsupported.protocol.msg" +msgstr "Požadovaný protokol není podporovaný touto aplikací." + +msgid "error.temporary.msg" +msgstr "" +"Váš požadavek selhal, ale může uspět pokud to zkusíte znovu v budoucnosti." + +msgid "error.cgi.msg" +msgstr "" +"Chyba při dynamickém generování obsahu na serveru. Může to být způsobeno " +"nefunkčním softwarem na straně serveru." + +msgid "error.slowdown" +msgstr "Zpomalte" + +msgid "error.slowdown.msg" +msgstr "Server omezuje množství požadavků, které zpracuje. Počkejte prosím…" + +msgid "error.notfound.msg" +msgstr "Požadovaný zdroj v této chvíli nebylo možné nalézt." + +msgid "error.gone.msg" +msgstr "Požadovaný zdroj již není dostupný." + +msgid "error.proxyrefusal" +msgstr "Proxy požadavek byl odmítnut" + +msgid "error.badheader.msg" +msgstr "" +"Přijatá hlavička neodpovídá specifikaci protokolu Gemini. Možná server " +"nefunguje, nebo jste se pokusili kontaktovat ne-Gemini server." + +msgid "error.schemeredirect.msg" +msgstr "" +"Server se pokusil přesměrovat vás na URL, jehož schéma je jiné než schéma " +"počáteční URL. Zde je ten odkaz, aby jste jej mohli otevřít ručně je li to " +"vhodné." + +msgid "error.manyredirects.msg" +msgstr "" +"Je možné, že jste se ocitli v cyklu přesměrování. Následující URL je níže, " +"chcete-li pokračovat ručně." + +msgid "error.certverify.msg" +msgstr "" +"Připojení k serveru bylo zrušeno, protože jeho TLS certifikát se neshoduje s " +"tím, jemuž důvěřujeme. Zkontrolujte, zdali server neoznámil změnu " +"certifikátu. Pokud ne, je možné že zlomyslná třetí strana se vydává se " +"server k němuž se pokoušíte připojit.\n" +"\n" +"Tento certifikát můžete označit jako důvěryhodný v informacích o stránce." + +msgid "error.temporary" +msgstr "Dočasné selhání" + +msgid "error.unavail.msg" +msgstr "Server není dostupný kvůli přetížení nebo údržbě. Přijďte později." + +msgid "dlg.feed.type.headings" +msgstr "Nové nadpisy" + +msgid "dlg.feed.ignoreweb" +msgstr "Ignorovat HTTP(S) odkazy:" + +msgid "dlg.feed.save" +msgstr "Uložit nastavení" + +msgid "dlg.feed.sub" +msgstr "Odebírat" + +msgid "dlg.bookmark.icon" +msgstr "Ikona:" + +msgid "heading.bookmark.tags" +msgstr "SPECIÁLNÍ ZNAČENÍ" + +msgid "dlg.addfolder" +msgstr "Přidat složku" + +msgid "heading.prefs" +msgstr "PŘEDVOLBY" + +# tab button +msgid "heading.prefs.colors" +msgstr "Barvy" + +msgid "heading.prefs.fonts" +msgstr "Písma" + +# tab button +msgid "heading.prefs.general" +msgstr "Obecné" + +msgid "prefs.theme" +msgstr "Téma:" + +msgid "prefs.uiscale" +msgstr "Faktor velikosti rozhraní:" + +msgid "prefs.customframe" +msgstr "Vlastní rámeček okna:" + +msgid "prefs.returnkey" +msgstr "Chování klávesy Enter:" + +msgid "prefs.returnkey.linebreak" +msgstr "Zalomení stránky" + +msgid "prefs.returnkey.accept" +msgstr "Přijmout" + +msgid "prefs.animate" +msgstr "Animace:" + +msgid "prefs.sideicon" +msgstr "Ikona kapsule:" + +msgid "prefs.doctheme.dark" +msgstr "Temné téma:" + +msgid "prefs.doctheme.light" +msgstr "Světlé téma:" + +msgid "prefs.doctheme.name.colorfuldark" +msgstr "Barevná temné" + +msgid "prefs.doctheme.name.colorfullight" +msgstr "Barevné světlé" + +msgid "prefs.doctheme.name.black" +msgstr "Černé" + +msgid "prefs.doctheme.name.gray" +msgstr "Šedé" + +msgid "prefs.doctheme.name.white" +msgstr "Bílé" + +msgid "prefs.doctheme.name.highcontrast" +msgstr "Vysoký kontrast" + +msgid "prefs.saturation" +msgstr "Sytost:" + +msgid "prefs.mono.gopher" +msgstr "Gopher" + +msgid "prefs.boldlink" +msgstr "Tlusté odkazy:" + +msgid "prefs.boldlink.visited" +msgstr "Navštívené" + +# Interpretation: (Bold links) on dark (background). +msgid "prefs.boldlink.dark" +msgstr "V temném tématu" + +# Interpretation: (Bold links) on light (background). +msgid "prefs.boldlink.light" +msgstr "Ve světlém tématu" + +msgid "prefs.gemtext.ansi" +msgstr "Únikové znaky ANSI:" + +msgid "prefs.gemtext.ansi.fg" +msgstr "Barva popředí" + +msgid "prefs.gemtext.ansi.fontstyle" +msgstr "Styl písma" + +msgid "prefs.font.warnmissing" +msgstr "Varovat při chybějících znacích:" + +msgid "prefs.font.smooth" +msgstr "Vyhlazování:" + +msgid "prefs.quoteicon.line" +msgstr "Čára" + +msgid "prefs.plaintext.wrap" +msgstr "Zalamovat prostý text:" + +msgid "keys.zoom.in" +msgstr "Přiblížit" + +msgid "keys.zoom.out" +msgstr "Oddálit" + +msgid "keys.zoom.reset" +msgstr "Obnovit přiblížení" + +msgid "keys.tab.close.other" +msgstr "Zavřít ostatní karty" + +msgid "keys.tab.prev" +msgstr "Předchozí karta" + +msgid "keys.tab.next" +msgstr "Následující karta" + +msgid "keys.hoverurl" +msgstr "Zobrazit/skrýt URL při přejetí kurzorem" + +msgid "error.badstatus" +msgstr "Neznámý stavový kód" + +msgid "error.openfile" +msgstr "Nepodařilo se otevřít soubor" + +msgid "error.openfile.msg" +msgstr "" +"Požadovaný soubor neexistuje nebo je nedostupný. Prosím zkontrolujte adresu " +"souboru." + +msgid "error.badresource" +msgstr "Neplatný zdroj" + +msgid "error.badresource.msg" +msgstr "Požadovaný zdroj neexistuje." + +msgid "error.unsupported.media" +msgstr "Nepodporovaný typ obsahu" + +msgid "error.unsupported.media.msg" +msgstr "Přijatý obsah nelze zobrazit pomocí této aplikace." + +msgid "error.unsupported.protocol" +msgstr "Nepodporovaný protokol" + +msgid "error.badheader" +msgstr "Neplatná hlavička" + +msgid "error.badredirect" +msgstr "Neplatné přesměrování" + +msgid "error.badredirect.msg" +msgstr "" +"Server odpověděl s přesměrováním, ale neposkytl platnou konečnou URL. Možná " +"server nefunguje." + +msgid "error.schemeredirect" +msgstr "Schéma-měnící přesměrování" + +msgid "error.manyredirects" +msgstr "Příliš mnoho přesměrování" + +msgid "error.certexpired" +msgstr "Certifikát s vypršenou platností" -- cgit v1.2.3 From 670fcd1da002f81ad0d97d12c7eb4d148c911d3a Mon Sep 17 00:00:00 2001 From: Olga Smirnova Date: Thu, 4 Nov 2021 14:03:03 +0000 Subject: Translated using Weblate (Russian) Currently translated at 100.0% (626 of 626 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/ru/ --- po/ru.po | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/po/ru.po b/po/ru.po index 53db897b..9dc44cdd 100644 --- a/po/ru.po +++ b/po/ru.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" "POT-Creation-Date: 2021-03-23 19:02+0000\n" -"PO-Revision-Date: 2021-11-02 23:51+0000\n" -"Last-Translator: jan Anja \n" +"PO-Revision-Date: 2021-11-04 20:09+0000\n" +"Last-Translator: Olga Smirnova \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" @@ -2116,3 +2116,6 @@ msgstr "Навсегда скрыть предупреждение об эмул msgid "lang.uk" msgstr "Украинский" + +msgid "lang.hu" +msgstr "Венгерский" -- cgit v1.2.3 From 37406a213632823a27e64156353dd9cd530a5991 Mon Sep 17 00:00:00 2001 From: Weblate Admin Date: Thu, 4 Nov 2021 13:22:04 +0000 Subject: Translated using Weblate (Finnish) Currently translated at 100.0% (626 of 626 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/fi/ --- po/fi.po | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/po/fi.po b/po/fi.po index 848bb836..bddcd8a4 100644 --- a/po/fi.po +++ b/po/fi.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" "POT-Creation-Date: 2021-03-23 09:09+0000\n" -"PO-Revision-Date: 2021-11-02 23:51+0000\n" +"PO-Revision-Date: 2021-11-04 20:09+0000\n" "Last-Translator: Weblate Admin \n" "Language-Team: Finnish \n" "Language: fi\n" @@ -2116,3 +2116,6 @@ msgstr "" msgid "lang.uk" msgstr "Ukraina" + +msgid "lang.hu" +msgstr "Unkari" -- cgit v1.2.3 From da8e165ded8d086c3319146178529c36ab714e45 Mon Sep 17 00:00:00 2001 From: Olga Smirnova Date: Thu, 4 Nov 2021 13:49:16 +0000 Subject: Translated using Weblate (Occidental) Currently translated at 97.4% (610 of 626 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/ie/ --- po/ie.po | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 151 insertions(+), 7 deletions(-) diff --git a/po/ie.po b/po/ie.po index 9191068c..6fa8b4c9 100644 --- a/po/ie.po +++ b/po/ie.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-10-07 16:50+0000\n" +"PO-Revision-Date: 2021-11-04 20:09+0000\n" "Last-Translator: Olga Smirnova \n" "Language-Team: Occidental \n" @@ -503,9 +503,7 @@ msgstr "DESABONNAR" #, c-format msgid "dlg.confirm.unsub" -msgstr "" -"Esque desabonnar li feed\n" -"«%s»?" +msgstr "Esque desabonnar li feed «%s»?" msgid "dlg.unsub" msgstr "Desabonnar" @@ -1186,7 +1184,7 @@ msgid "error.tls" msgstr "Dessuccesse del rete o TLS" msgid "error.tls.msg" -msgstr "Ne successat communicar con li servitor. Vi li textu de errore:" +msgstr "Ne successat communicar con li servitor." msgid "error.temporary" msgstr "Temporari dessuccesse" @@ -1712,8 +1710,8 @@ msgstr "Assignar li portu" msgid "dlg.uploadport.msg" msgstr "" -"Assignar li portu de Titan por ti-ci adresse.\n" -"Li portu es gardat in li preferenties del site." +"Assignar li portu de Titan por ti-ci adresse. Li portu es gardat in li " +"preferenties del site." msgid "prefs.returnkey" msgstr "Coduida del taste Enter:" @@ -1918,3 +1916,149 @@ msgstr "Sel. omni" # keep this short (3x1 horiz layout) msgid "menu.delete" msgstr "Remov." + +msgid "dlg.feed.ignoreweb" +msgstr "Ignorar ligamentes HTTP(s):" + +msgid "truetype.help.installed" +msgstr "Ti-ci fonde es installat in li fólder de personal fondes." + +msgid "dlg.fontpack.classic.msg" +msgstr "" +"Li fondes quel esser includet in li app es nu disponibil quam un separat " +"discarga. Esque vu vole descargar li «classic» collection ho-témpor?" + +msgid "lang.hu" +msgstr "Hungarian" + +msgid "prefs.bookmarks.addbottom" +msgstr "Adjunter marca-págines a bass:" + +msgid "prefs.font.ui" +msgstr "IdU:" + +msgid "prefs.font.heading" +msgstr "Rubricas:" + +msgid "prefs.font.body" +msgstr "Córpore:" + +msgid "prefs.font.mono" +msgstr "Formatat:" + +msgid "prefs.boldlink.visited" +msgstr "Visitat" + +msgid "prefs.gemtext.ansi" +msgstr "Codes escape de ANSI:" + +msgid "prefs.gemtext.ansi.fg" +msgstr "Avanplan" + +msgid "prefs.gemtext.ansi.fontstyle" +msgstr "Stil de fonde" + +msgid "prefs.font.warnmissing" +msgstr "Avise de glifes:" + +msgid "num.files" +msgid_plural "num.files.n" +msgstr[0] "%zu file" +msgstr[1] "%zu files" + +msgid "num.fonts" +msgid_plural "num.fonts.n" +msgstr[0] "%zu fonde" +msgstr[1] "%zu fondes" + +msgid "heading.fontpack.classic" +msgstr "DESCARGAR UN FONDPAC" + +msgid "error.ansi" +msgstr "Emulation del terminal" + +msgid "error.glyphs" +msgstr "Glifes mancant" + +msgid "heading.fontpack.meta" +msgstr "Fondes" + +# Action label +msgid "fontpack.meta.viewfile" +msgstr "Monstrar li file" + +msgid "heading.fontpack.meta.enabled" +msgstr "Activ fondpacs" + +msgid "heading.fontpack.meta.disabled" +msgstr "Ínactiv fondpacs" + +#, c-format +msgid "fontpack.meta.version" +msgstr "Version %d" + +msgid "fontpack.meta.installed" +msgstr "Installat" + +msgid "fontpack.meta.notinstalled" +msgstr "Ne installat" + +msgid "fontpack.meta.disabled" +msgstr ", ínactiv" + +#, c-format +msgid "fontpack.disable" +msgstr "Desactivar «%s»" + +msgid "fontpack.export" +msgstr "Monstrar li modelle fontpack.ini" + +#, c-format +msgid "fontpack.install" +msgstr "Installar «%s»" + +#, c-format +msgid "fontpack.upgrade" +msgstr "Actualisar «%s» al version %d" + +#, c-format +msgid "fontpack.delete" +msgstr "Remover «%s» permanentmen" + +msgid "dlg.fontpack.delete" +msgstr "Remover li fondpac" + +msgid "fontpack.install.ttf" +msgstr "Installar un fonde TrueType" + +msgid "fontpack.open.fontsdir" +msgstr "Aperter li fólder de personal fondes" + +msgid "fontpack.open.aboutfonts" +msgstr "Monstrar installat fondes" + +msgid "dlg.fontpack.classic" +msgstr "Descargar li fondpac (25 Mo)" + +msgid "lang.uk" +msgstr "Ukrainan" + +msgid "heading.fontpack.delete" +msgstr "REMOVER LI FONDPAC" + +#, c-format +msgid "dlg.fontpack.delete.confirm" +msgstr "Esque vu vole remover li fondpac «%s» permanentmen?" + +msgid "menu.fonts" +msgstr "Gerentie de fondes…" + +msgid "dlg.certwarn.title" +msgstr "Problema de securitá" + +msgid "menu.website" +msgstr "Website del projecte…" + +#, c-format +msgid "fontpack.enable" +msgstr "Activar «%s»" -- cgit v1.2.3 From e3f97c4bc7968d5543751e07891438fd0cde92d0 Mon Sep 17 00:00:00 2001 From: Botond Balázs Date: Thu, 4 Nov 2021 14:36:43 +0000 Subject: Translated using Weblate (Hungarian) Currently translated at 100.0% (626 of 626 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/hu/ --- po/hu.po | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/po/hu.po b/po/hu.po index 42d74483..0dbf0bda 100644 --- a/po/hu.po +++ b/po/hu.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-04 13:12+0000\n" +"PO-Revision-Date: 2021-11-04 20:09+0000\n" "Last-Translator: Botond Balázs \n" "Language-Team: Hungarian " "\n" @@ -262,7 +262,7 @@ msgid "macos.menu.bookmarks.bytime" msgstr "Listázás a létrehozás időrendjében" msgid "menu.feeds.entrylist" -msgstr "Hírfolyam bejegyzéseinek megtekintése" +msgstr "Hírfolyambejegyzések listája" msgid "menu.preferences" msgstr "Beállítások…" @@ -459,7 +459,7 @@ msgid "feeds.entry.bookmark" msgstr "Könyvjelző hozzáadása…" msgid "feeds.entry.openfeed" -msgstr "Hírfolyamok megnyitása" +msgstr "Forrásoldal megnyitása" msgid "feeds.edit" msgstr "Hírfolyam szerkesztése…" @@ -654,7 +654,7 @@ msgstr "Naponta" #, c-format msgid "num.minutes" msgid_plural "num.minutes.n" -msgstr[0] "%d percenként" +msgstr[0] "Percenként" msgstr[1] "%d percenként" msgid "link.newtab.background" @@ -664,7 +664,7 @@ msgid "link.side" msgstr "Hivatkozás megnyitása oldalt" msgid "link.side.newtab" -msgstr "Hivatkozás megnyitása új lapon, oldalt" +msgstr "Hivatkozás megnyitása oldalt, új lapon" msgid "link.noproxy" msgstr "Megnyitás proxy nélkül" @@ -739,8 +739,8 @@ msgstr "Könyvjelzőcímkék" msgid "bookmark.export.format.sub" msgstr "" -"Az oldal formátuma megfelel a \"Feliratkozás Gemini oldalakra\" " -"társspecifikáció előírásainak." +"Az oldal formátuma megfelel a \"Feliratkozás Gemini oldalakra\" kiegészítő " +"specifikáció előírásainak." msgid "bookmark.export.format.folders" msgstr "A mappaszerkezetet a 2. és 3. szintű fejezetcímek határozzák meg." @@ -927,7 +927,7 @@ msgid "dlg.newident.country" msgstr "Ország:" msgid "dlg.newident.more" -msgstr "Egyéb…" +msgstr "Továbbiak…" msgid "heading.newident.date.bad" msgstr "ÉRVÉNYTELEN DÁTUM" @@ -1005,7 +1005,7 @@ msgstr "Általános" # tab button msgid "heading.prefs.interface" -msgstr "Felhasználói felület" +msgstr "Felület" # tab button msgid "heading.prefs.keys" @@ -1211,7 +1211,7 @@ msgid "prefs.linewidth" msgstr "Sorszélesség:" msgid "prefs.linewidth.fill" -msgstr "Kitöltés" +msgstr "Teljes" msgid "prefs.linespacing" msgstr "Sorköz:" @@ -1556,8 +1556,8 @@ msgstr "lebegőpontos szám" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "%zu hírfolyamra iratkoztál fel, amely %%s-t tartalmaz.\n" -msgstr[1] "%zu hírfolyamra iratkoztál fel, amelyek %%s-t tartalmaznak.\n" +msgstr[0] "%zu hírfolyamra iratkozott fel, amely %%st tartalmaz.\n" +msgstr[1] "%zu hírfolyamra iratkozott fel, amelyek %%st tartalmaznak.\n" #, c-format msgid "hours.ago" @@ -1742,7 +1742,7 @@ msgstr "Az oldal összes hivatkozása szerepel már a könyvjelzők között." #, c-format msgid "num.hours" msgid_plural "num.hours.n" -msgstr[0] "%d óránként" +msgstr[0] "Óránként" msgstr[1] "%d óránként" msgid "link.newtab" @@ -2091,7 +2091,7 @@ msgstr "A kapott ügyféltanúsítvány lejárt vagy érvénytelen." msgid "error.ansi.msg" msgstr "" -"Elképzelhető, hogy az oldal helytelenül jelenik meg. ANSI escape " +"Elképzelhető, hogy az oldal helytelenül jelenik meg, mivel ANSI escape " "szekvenciákat használ a szöveg formázására, és ez jelenleg csak részben " "támogatott. Próbálja terminálemulátorban megnyitni." @@ -2109,3 +2109,6 @@ msgstr "Gempub tartalom megtekintése" msgid "gempub.meta.author" msgstr "Szerző" + +msgid "lang.hu" +msgstr "Magyar" -- cgit v1.2.3 From e29319f743e7fa24911db7df9c1cb8e5b401b6e3 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 06:21:31 +0200 Subject: DocumentWidget: Fixed incorrect document width --- src/ui/documentwidget.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 8c24d4a9..60662b03 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c @@ -1107,12 +1107,11 @@ static void documentWasChanged_DocumentWidget_(iDocumentWidget *d) { void setSource_DocumentWidget(iDocumentWidget *d, const iString *source) { setUrl_GmDocument(d->doc, d->mod.url); - const int docWidth = documentWidth_DocumentWidget_(d); - const int outsideMargin = (width_Widget(d) - docWidth) / 2; + const int docWidth = documentWidth_DocumentWidget_(d); setSource_GmDocument(d->doc, source, docWidth, - outsideMargin, + width_Widget(d), isFinished_GmRequest(d->request) ? final_GmDocumentUpdate : partial_GmDocumentUpdate); setWidth_Banner(d->banner, docWidth); -- cgit v1.2.3 From 40fa36b2cc72bf3858d45b2e2dbc1eb0b5371213 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 06:29:10 +0200 Subject: Lang: Number formatting cleanup Replaced the %zu format with plain %u because Weblate doesn't know about the former. --- po/compile.py | 3 +-- po/en.po | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/po/compile.py b/po/compile.py index 16097ddc..af0e422b 100755 --- a/po/compile.py +++ b/po/compile.py @@ -4,8 +4,7 @@ import os, sys -BUILD_LANGS = [ - 'en', # base strings +BUILD_LANGS = [ 'en', # base strings 'cs', 'de', 'eo', diff --git a/po/en.po b/po/en.po index 53548605..343852a6 100644 --- a/po/en.po +++ b/po/en.po @@ -64,14 +64,14 @@ msgstr "Feed entries" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "You are subscribed to %zu feed that contains %%s.\n" -msgstr[1] "You are subscribed to %zu feeds that contain %%s.\n" +msgstr[0] "You are subscribed to %u feed that contains %%s.\n" +msgstr[1] "You are subscribed to %u feeds that contain %%s.\n" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "a total of %zu entry" -msgstr[1] "a total of %zu entries" +msgstr[0] "a total of %u entry" +msgstr[1] "a total of %u entries" msgid "feeds.list.refreshtime.now" msgstr "The latest refresh occurred just a moment ago." @@ -451,18 +451,18 @@ msgstr "KB" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "%zu byte" -msgstr[1] "%zu bytes" +msgstr[0] "%u byte" +msgstr[1] "%u bytes" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu file" -msgstr[1] "%zu files" +msgstr[0] "%u file" +msgstr[1] "%u files" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu font" -msgstr[1] "%zu fonts" +msgstr[0] "%u font" +msgstr[1] "%u fonts" # strftime() formatted, split on two lines #, c-format @@ -599,8 +599,8 @@ msgstr "Not used" #, c-format msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "Used on %zu URL" -msgstr[1] "Used on %zu URLs" +msgstr[0] "Used on %u URL" +msgstr[1] "Used on %u URLs" msgid "ident.temporary" msgstr "Temporary" @@ -1599,8 +1599,8 @@ msgstr "Exit the archive" #, c-format msgid "archive.summary" msgid_plural "archive.summary.n" -msgstr[0] "This archive contains %zu item and its compressed size is %.1f MB." -msgstr[1] "This archive contains %zu items and its compressed size is %.1f MB." +msgstr[0] "This archive contains %u item and its compressed size is %.1f MB." +msgstr[1] "This archive contains %u items and its compressed size is %.1f MB." msgid "dir.empty" msgstr "This directory is empty." @@ -1608,8 +1608,8 @@ msgstr "This directory is empty." #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "This directory contains %zu item." -msgstr[1] "This directory contains %zu items." +msgstr[0] "This directory contains %u item." +msgstr[1] "This directory contains %u items." msgid "keys.top" msgstr "Jump to top" -- cgit v1.2.3 From 62160ad2e2456a2568317e45344b587c791a12bb Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 06:44:07 +0200 Subject: Lang: Added a note about a two-part sentence --- po/en.po | 1 + 1 file changed, 1 insertion(+) diff --git a/po/en.po b/po/en.po index 343852a6..24fed59f 100644 --- a/po/en.po +++ b/po/en.po @@ -61,6 +61,7 @@ msgstr "Hz" msgid "feeds.list.title" msgstr "Feed entries" +# The "%%s" in the end of this string is an escaped string c-format (%s) that will be replaced with the translated output of "feeds.list.entrycount". The translation should have "%%s" at the position where that part can be inserted. #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -- cgit v1.2.3 From bb0d9688b242998adbefb2fc7a3a171eaf11d755 Mon Sep 17 00:00:00 2001 From: Olga Smirnova Date: Fri, 5 Nov 2021 05:41:43 +0000 Subject: Translated using Weblate (Russian) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/ru/ --- po/ru.po | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/po/ru.po b/po/ru.po index 9dc44cdd..e1a1b032 100644 --- a/po/ru.po +++ b/po/ru.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" "POT-Creation-Date: 2021-03-23 19:02+0000\n" -"PO-Revision-Date: 2021-11-04 20:09+0000\n" +"PO-Revision-Date: 2021-11-06 04:30+0000\n" "Last-Translator: Olga Smirnova \n" "Language-Team: Russian \n" "Language: ru\n" @@ -2119,3 +2119,6 @@ msgstr "Украинский" msgid "lang.hu" msgstr "Венгерский" + +msgid "lang.cs" +msgstr "Чешский" -- cgit v1.2.3 From 75576f8d82f5d9e6e3e3f9a9b0d03cc0eea2d1a1 Mon Sep 17 00:00:00 2001 From: Olga Smirnova Date: Fri, 5 Nov 2021 05:46:03 +0000 Subject: Translated using Weblate (Occidental) Currently translated at 97.4% (611 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/ie/ --- po/ie.po | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/po/ie.po b/po/ie.po index 6fa8b4c9..edb4cad8 100644 --- a/po/ie.po +++ b/po/ie.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-04 20:09+0000\n" +"PO-Revision-Date: 2021-11-06 04:30+0000\n" "Last-Translator: Olga Smirnova \n" "Language-Team: Occidental \n" @@ -2062,3 +2062,6 @@ msgstr "Website del projecte…" #, c-format msgid "fontpack.enable" msgstr "Activar «%s»" + +msgid "lang.cs" +msgstr "Tchec" -- cgit v1.2.3 From 3330ba5080dde174d3b7e044eba34c267f309789 Mon Sep 17 00:00:00 2001 From: Страхиња Радић Date: Fri, 5 Nov 2021 13:40:09 +0000 Subject: Translated using Weblate (Serbian) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/sr/ --- po/sr.po | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/po/sr.po b/po/sr.po index d9cb9e9a..7cb646bf 100644 --- a/po/sr.po +++ b/po/sr.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-02 23:51+0000\n" +"PO-Revision-Date: 2021-11-06 04:30+0000\n" "Last-Translator: Страхиња Радић \n" "Language-Team: Serbian \n" "Language: sr\n" @@ -2163,3 +2163,9 @@ msgstr "Трајно отклонити упозорење о емулацији msgid "lang.uk" msgstr "Украјински" + +msgid "lang.cs" +msgstr "Чешки" + +msgid "lang.hu" +msgstr "Мађарски" -- cgit v1.2.3 From dc45e0f6a18116f32fa8a41c9eff7e893df2757a Mon Sep 17 00:00:00 2001 From: jan Anja Date: Sat, 6 Nov 2021 00:05:07 +0000 Subject: Translated using Weblate (Toki Pona (tok)) Currently translated at 98.0% (615 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/tok/ --- po/tok.po | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/po/tok.po b/po/tok.po index cdfa110f..0e77daf5 100644 --- a/po/tok.po +++ b/po/tok.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-02 23:51+0000\n" +"PO-Revision-Date: 2021-11-06 04:30+0000\n" "Last-Translator: jan Anja \n" "Language-Team: Toki Pona \n" @@ -496,7 +496,7 @@ msgid "pageinfo.domain.mismatch" msgstr "nimi li sama ala" msgid "dlg.cert.trust" -msgstr "o pona" +msgstr "o kepeken" msgid "heading.save" msgstr "IJO LI AWEN" @@ -1305,8 +1305,7 @@ msgstr[0] "" "%d la sitelen len pona li wile tawa weka." msgid "dlg.certwarn.different" -msgstr "" -"sitelen len ni li pakala ala. taso ona li sama ala sitelen len pi pona lukin." +msgstr "sitelen len ni li pakala ala. taso ona li sama ala sitelen len pini." msgid "dlg.certwarn.domain" msgstr "nimi pi sitelen len li ante. ken la jan lawa mun ni li pakala." @@ -2018,3 +2017,34 @@ msgstr "o pali kepeken nasin nimi" msgid "bookmark.export.saving" msgstr "" +"sina wile pana e lipu awen la o awen e lipu ni. sina ken kama sona e nimi " +"tawa lon lipu ni kin." + +msgid "bookmark.export.format.folders" +msgstr "sitelen suli pi nanpa 2/3 li sama poki." + +msgid "bookmark.export.format.tags" +msgstr "sitelen suli pi nanpa 2 li sama nimi lili." + +msgid "lang.cs" +msgstr "toki Seki" + +msgid "lang.uk" +msgstr "toki Ukawina" + +msgid "bookmark.export.format.otherlines" +msgstr "" +"linja kulupu en linja toki li jo e sona namako pi lipu awen sewi. ilo " +"Lakelan li lukin ala e linja sitelen en sitelen namako tan ni: ona li jo e " +"toki lili." + +msgid "error.certverify.msg" +msgstr "" +"mi pakala toki tawa ilo pana tan ni: sitelen len ona li sama ala sitelen len " +"pini. o kama sona e ni: jan lawa mun li toki ala toki e ante pi sitelen len? " +"ante la jan ike li ken lukin sama ilo pana.\n" +"\n" +"sina wile lukin e lipu kepeken len ni la o open e ijo \"sona lipu\"." + +msgid "lang.hu" +msgstr "toki Mosijo" -- cgit v1.2.3 From 31ee36b4da0dd1eb209609c949a5195f253a1d52 Mon Sep 17 00:00:00 2001 From: Tadeáš Erban Date: Fri, 5 Nov 2021 21:59:33 +0000 Subject: Translated using Weblate (Czech) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/cs/ --- po/cs.po | 207 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 198 insertions(+), 9 deletions(-) diff --git a/po/cs.po b/po/cs.po index e0b81a8e..1a2e951b 100644 --- a/po/cs.po +++ b/po/cs.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-04 13:20+0000\n" +"PO-Revision-Date: 2021-11-06 04:30+0000\n" "Last-Translator: Tadeáš Erban \n" "Language-Team: Czech \n" "Language: cs\n" @@ -510,14 +510,14 @@ msgid "dlg.history.clear" msgstr "Vymazat historii" msgid "heading.confirm.bookmarks.delete" -msgstr "VYMAZAT ZÁLOŽKY" +msgstr "ODSTRANIT ZÁLOŽKY" #, c-format msgid "dlg.bookmarks.delete" msgid_plural "dlg.bookmarks.delete.n" -msgstr[0] "Vymazat záložku" -msgstr[1] "Vymazat %u záložek" -msgstr[2] "Vymazat %u záložky" +msgstr[0] "Odstranit záložku" +msgstr[1] "Odstranit %u záložek" +msgstr[2] "Odstranit %u záložky" msgid "bookmark.tag.home" msgstr "Nastavit jako domovskou stránku" @@ -575,9 +575,9 @@ msgstr "Opravdu chcete vymazat historii všech navštívených stránek?" #, c-format msgid "dlg.confirm.bookmarks.delete" msgid_plural "dlg.confirm.bookmarks.delete.n" -msgstr[0] "Opravdu chcete smazat tu záložku v této složce?" -msgstr[1] "Opravdu chcete smazat všech %u záložek v této složce?" -msgstr[2] "Opravdu chcete smazat všechny %u záložky v této složce?" +msgstr[0] "Opravdu chcete odstranit tu záložku v této složce?" +msgstr[1] "Opravdu chcete odstranit všech %u záložek v této složce?" +msgstr[2] "Opravdu chcete odstranit všechny %u záložky v této složce?" msgid "bookmark.tag.remote" msgstr "Použít jako zdroj záložek" @@ -1616,7 +1616,7 @@ msgid "archive.exit" msgstr "Odejít z archivu" msgid "dir.empty" -msgstr "Tento adresář je prázdný." +msgstr "Tato složka je prázdná." #, c-format msgid "dir.summary" @@ -1943,3 +1943,192 @@ msgstr "Příliš mnoho přesměrování" msgid "error.certexpired" msgstr "Certifikát s vypršenou platností" + +msgid "lang.cs" +msgstr "Čeština" + +msgid "error.glyphs" +msgstr "Chybějící znaky" + +msgid "error.glyphs.msg" +msgstr "" +"Tato stránka nebude plně vykreslena, jelikož některé znaky chybí. Můžete " +"instalovat dodatečné písma aby jste to vyřešili." + +msgid "gempub.cover.viewlocal" +msgstr "Tuto Gempub knihu lze zobrazit pouze po tom co byla uložena lokálně." + +msgid "gempub.cover.untitled" +msgstr "Kniha beze jména" + +msgid "gempub.meta.revdate" +msgstr "Datum revize" + +msgid "gempub.meta.pub" +msgstr "Publikována" + +msgid "gempub.meta.pubdate" +msgstr "Datum publikace" + +msgid "gempub.meta.lang" +msgstr "Jazyk" + +msgid "gempub.meta.license" +msgstr "Licence" + +msgid "heading.fontpack.meta" +msgstr "Písma" + +msgid "fontpack.meta.notinstalled" +msgstr "Nenainstalován" + +msgid "fontpack.meta.disabled" +msgstr ", zakázán" + +#, c-format +msgid "fontpack.enable" +msgstr "Povolit \"%s\"" + +#, c-format +msgid "fontpack.disable" +msgstr "Zakázat \"%s\"" + +msgid "fontpack.export" +msgstr "Zobrazit šablonu fontpack.ini" + +#, c-format +msgid "fontpack.install" +msgstr "Instalovat \"%s\"" + +#, c-format +msgid "fontpack.upgrade" +msgstr "Aktualizovat \"%s\" na verzi %d" + +#, c-format +msgid "fontpack.delete" +msgstr "Trvale odstranit \"%s\"" + +msgid "heading.fontpack.delete" +msgstr "ODSTRANIT PÍSMOVÝ BALÍČEK" + +#, c-format +msgid "dlg.fontpack.delete.confirm" +msgstr "Chcete opravdu trvale odstranit písmový balíček \"%s\"?" + +msgid "dlg.fontpack.delete" +msgstr "Odstranit písmový balíček" + +msgid "fontpack.install.ttf" +msgstr "Instalovat TrueType písmo" + +msgid "fontpack.open.fontsdir" +msgstr "Otevřít složku uživatelských písem" + +msgid "truetype.help" +msgstr "" +"Lagrange se pokouší načíst všechny jednotlivé TrueType soubory, které jsou " +"zkopírovány do složky uživatelských písem." + +msgid "heading.dismiss.warning" +msgstr "PŘESTAT UKAZOVAT VAROVÁNÍ?" + +#, c-format +msgid "dlg.dismiss.ansi" +msgstr "Trvale přestat zobrazovat varování o emulaci terminálu na %s?" + +msgid "dlg.dismiss.warning" +msgstr "Přestat ukazovat varování" + +msgid "heading.fontpack.classic" +msgstr "STÁHNOUT PÍSMOVÝ BALÍČEK" + +msgid "dlg.fontpack.classic.msg" +msgstr "" +"Písma, které byly dříve přibaleny s aplikací jsou nyní dostupné odděleně. " +"Chtěli byste nyní stáhnout písmový balíček \"Klasická sada\"?" + +msgid "dlg.fontpack.classic" +msgstr "Stáhnout písmový balíček (25MB)" + +msgid "error.badrequest.msg" +msgstr "Server nepochopil váš požadavek." + +msgid "error.cert.needed" +msgstr "Certifikát vyžadován" + +msgid "error.cert.auth" +msgstr "Certifikát není autorizován" + +msgid "error.cert.auth.msg" +msgstr "" +"Předkládaný klientský certifikát je platný, ale není autorizován pro " +"přistupování k danému zdroji." + +msgid "error.cert.invalid" +msgstr "Neplatný certifikát" + +msgid "gempub.meta.version" +msgstr "Verze" + +msgid "error.ansi" +msgstr "Emulace terminálu" + +msgid "gempub.cover.image" +msgstr "Titulní obrázek" + +msgid "gempub.meta.author" +msgstr "Autor" + +msgid "heading.fontpack.meta.enabled" +msgstr "Povolené písmové balíčky" + +msgid "heading.fontpack.meta.disabled" +msgstr "Zakázané písmové balíčky" + +# Action label +msgid "fontpack.meta.viewfile" +msgstr "Zobrazit soubor" + +#, c-format +msgid "fontpack.meta.version" +msgstr "Verze %d" + +msgid "fontpack.meta.installed" +msgstr "Instalován" + +msgid "error.cert.needed.msg" +msgstr "" +"Přístup k vyžádanému zdroji vyžaduje, aby jste prokázali totožnost pomocí " +"klientského certifikátu." + +msgid "error.cert.invalid.msg" +msgstr "" +"Předkládanému klientskému certifikátu vypršela platnost nebo je neplatný." + +msgid "error.ansi.msg" +msgstr "" +"Tato stránka nemusí být správně vykreslena, používá totiž únikové znaky ANSI " +"ke stylování textu, což je jen částečně podporováno. Můžete se ji pokusit " +"zobrazit pomocí terminálového emulátoru." + +msgid "gempub.cover.view" +msgstr "Zobrazit Gempub obsah" + +msgid "fontpack.help" +msgstr "" +"Písmové balíčky v Lagrange jsou archivy ZIP, které obsahují sadu písmových " +"souborů a jejich příslušných konfiguračních parametrů. Po instalaci můžete " +"písma použít pro obsah dokumentu a v rozhraní. Aktivní písma se vybírají v " +"Předvolby > Písma" + +msgid "fontpack.open.aboutfonts" +msgstr "Zobrazit instalovaná písma" + +msgid "truetype.help.installed" +msgstr "Toto písmo je nainstalováno ve složce uživatelských písem." + +msgid "lang.hu" +msgstr "Maďarština" + +msgid "gempub.cover.aboutbook" +msgstr "O této knize" -- cgit v1.2.3 From 62bec9b74eba1683c8a8fd53bf96a313892864a3 Mon Sep 17 00:00:00 2001 From: Alyssa Liddell Date: Thu, 4 Nov 2021 22:04:53 +0000 Subject: Translated using Weblate (Ukrainian) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/uk/ --- po/uk.po | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/po/uk.po b/po/uk.po index 6731e103..902c2ab2 100644 --- a/po/uk.po +++ b/po/uk.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-02 23:51+0000\n" +"PO-Revision-Date: 2021-11-06 04:30+0000\n" "Last-Translator: Alyssa Liddell \n" "Language-Team: Ukrainian " "\n" @@ -2144,3 +2144,9 @@ msgstr "" msgid "lang.uk" msgstr "Українська" + +msgid "lang.cs" +msgstr "Чеська" + +msgid "lang.hu" +msgstr "Угорська" -- cgit v1.2.3 From 2d826a20540327272e0056d1274289ca8c778fcf Mon Sep 17 00:00:00 2001 From: Weblate Admin Date: Sat, 6 Nov 2021 04:32:19 +0000 Subject: Translated using Weblate (Finnish) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/fi/ --- po/fi.po | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/po/fi.po b/po/fi.po index bddcd8a4..eb2e2d6f 100644 --- a/po/fi.po +++ b/po/fi.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" "POT-Creation-Date: 2021-03-23 09:09+0000\n" -"PO-Revision-Date: 2021-11-04 20:09+0000\n" +"PO-Revision-Date: 2021-11-06 04:44+0000\n" "Last-Translator: Weblate Admin \n" "Language-Team: Finnish \n" "Language: fi\n" @@ -388,8 +388,8 @@ msgstr "Ei käytössä" msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "Käytössä %zu URL:ssa" -msgstr[1] "Käytössä %zu URL:ssa" +msgstr[0] "Käytössä %u URL:ssa" +msgstr[1] "Käytössä %u URL:ssa" msgid "ident.temporary" msgstr "Tilapäinen" @@ -1281,8 +1281,8 @@ msgstr "MUUT" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "%zu tavu" -msgstr[1] "%zu tavua" +msgstr[0] "%u tavu" +msgstr[1] "%u tavua" msgid "reload.never" msgstr "Ei koskaan" @@ -1324,8 +1324,8 @@ msgstr "Syötteiden artikkelit" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "Olet tilannut %zu syötteen, joka sisältää %%s.\n" -msgstr[1] "Olet tilannut %zu syötettä, jotka sisältävät %%s.\n" +msgstr[0] "Olet tilannut %u syötteen, joka sisältää %%s.\n" +msgstr[1] "Olet tilannut %u syötettä, jotka sisältävät %%s.\n" # Link download progress message. msgid "doc.fetching" @@ -1373,8 +1373,8 @@ msgstr "Hz" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "yhteensä %zu artikkelin" -msgstr[1] "yhteensä %zu artikkelia" +msgstr[0] "yhteensä %u artikkelin" +msgstr[1] "yhteensä %u artikkelia" msgid "feeds.list.refreshtime.now" msgstr "Viimeinen päivitys tehtiin hetki sitten." @@ -1538,8 +1538,8 @@ msgstr "Poistu arkistosta" msgid "archive.summary" msgid_plural "archive.summary.n" -msgstr[0] "Tämä arkisto sisältää %zu tiedoston ja sen pakattu koko on %.1f Mt." -msgstr[1] "Tämä arkisto sisältää %zu tiedostoa ja sen pakattu koko on %.1f Mt." +msgstr[0] "Tämä arkisto sisältää %u tiedoston ja sen pakattu koko on %.1f Mt." +msgstr[1] "Tämä arkisto sisältää %u tiedostoa ja sen pakattu koko on %.1f Mt." msgid "dir.empty" msgstr "Tämä hakemisto on tyhjä." @@ -1551,8 +1551,8 @@ msgstr "Avaa arkistojen index-sivut:" #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "Tämä hakemisto sisältää %zu nimikkeen." -msgstr[1] "Tämä hakemisto sisältää %zu nimikettä." +msgstr[0] "Tämä hakemisto sisältää %u nimikkeen." +msgstr[1] "Tämä hakemisto sisältää %u nimikettä." msgid "keys.tab.close.other" msgstr "Sulje muut välilehdet" @@ -1978,13 +1978,13 @@ msgstr "Hallinnoi fontteja…" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu tiedosto" -msgstr[1] "%zu tiedostoa" +msgstr[0] "%u tiedosto" +msgstr[1] "%u tiedostoa" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu fontti" -msgstr[1] "%zu fonttia" +msgstr[0] "%u fontti" +msgstr[1] "%u fonttia" msgid "bookmark.export.taginfo" msgstr "" @@ -2119,3 +2119,6 @@ msgstr "Ukraina" msgid "lang.hu" msgstr "Unkari" + +msgid "lang.cs" +msgstr "Tšekki" -- cgit v1.2.3 From 069e11d3f7f3747d339129522fd0d3806bf57263 Mon Sep 17 00:00:00 2001 From: Weblate Admin Date: Sat, 6 Nov 2021 04:36:56 +0000 Subject: Translated using Weblate (Czech) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/cs/ --- po/cs.po | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/po/cs.po b/po/cs.po index 1a2e951b..b8736f8e 100644 --- a/po/cs.po +++ b/po/cs.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-06 04:30+0000\n" -"Last-Translator: Tadeáš Erban \n" +"PO-Revision-Date: 2021-11-06 04:44+0000\n" +"Last-Translator: Weblate Admin \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" @@ -297,16 +297,16 @@ msgstr "Hz" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "Odebíráte %z kanál, který obsahuje %%.\n" -msgstr[1] "Odebíráte %z kanály, které obsahují %%.\n" -msgstr[2] "Odebíráte %z kanálů, které obsahují %%.\n" +msgstr[0] "Odebíráte %u kanál, který obsahuje %%s.\n" +msgstr[1] "Odebíráte %u kanály, které obsahují %%s.\n" +msgstr[2] "Odebíráte %u kanálů, které obsahují %%s.\n" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "celkem %zu položka" -msgstr[1] "celkem %zu položky" -msgstr[2] "celkem %zu položek" +msgstr[0] "celkem %u položka" +msgstr[1] "celkem %u položky" +msgstr[2] "celkem %u položek" #, c-format msgid "minutes.ago" @@ -456,8 +456,8 @@ msgstr "KB" msgid "num.bytes" msgid_plural "num.bytes.n" msgstr[0] "Jeden bajt" -msgstr[1] "%zu bajty" -msgstr[2] "%zu bajtů" +msgstr[1] "%u bajty" +msgstr[2] "%u bajtů" # strftime() formatted #, c-format @@ -610,8 +610,8 @@ msgstr "Používá se na této stránce" msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" msgstr[0] "Používá se na jedné adrese URL" -msgstr[1] "Používá se na %zu adresách URL" -msgstr[2] "Používá se na %zu adresách URL" +msgstr[1] "Používá se na %u adresách URL" +msgstr[2] "Používá se na %u adresách URL" msgid "ident.temporary" msgstr "Dočasná" @@ -803,18 +803,18 @@ msgstr "Stránka projektu…" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu písmo" -msgstr[1] "%zu písma" -msgstr[2] "%zu písem" +msgstr[0] "%u písmo" +msgstr[1] "%u písma" +msgstr[2] "%u písem" msgid "menu.fonts" msgstr "Spravovat písma…" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu soubor" -msgstr[1] "%zu soubory" -msgstr[2] "%zu souborů" +msgstr[0] "%u soubor" +msgstr[1] "%u soubory" +msgstr[2] "%u souborů" msgid "ident.use" msgstr "Používat na této stránce" @@ -1249,7 +1249,7 @@ msgid "prefs.hoverlink" msgstr "Ukázat URL po najetí kurzorem:" msgid "prefs.centershort" -msgstr "Svislé vystředění" +msgstr "Svislé vystředění:" msgid "prefs.retainwindow" msgstr "Zachovat umístění:" @@ -1310,11 +1310,11 @@ msgstr "Špatný požadavek" msgid "archive.summary" msgid_plural "archive.summary.n" msgstr[0] "" -"Tento archiv obsahuje %zu soubor a jeho zkomprimovaná velikost je %.1f MB." +"Tento archiv obsahuje %u soubor a jeho zkomprimovaná velikost je %.1f MB." msgstr[1] "" -"Tento archiv obsahuje %zu soubory a jeho zkomprimovaná velikost je %.1f MB." +"Tento archiv obsahuje %u soubory a jeho zkomprimovaná velikost je %.1f MB." msgstr[2] "" -"Tento archiv obsahuje %zu souborů a jeho zkomprimovaná velikost je %.1f MB." +"Tento archiv obsahuje %u souborů a jeho zkomprimovaná velikost je %.1f MB." msgid "keys.link.modkey" msgstr "Otevřít odkaz pomocí modifikační klávesy" @@ -1580,7 +1580,7 @@ msgid "prefs.linespacing" msgstr "Rozestup mezi řádky:" msgid "prefs.quoteicon" -msgstr "Ukazatel citátu" +msgstr "Ukazatel citátu:" msgid "prefs.decodeurls" msgstr "Dekódovat URL adresy:" @@ -1621,9 +1621,9 @@ msgstr "Tato složka je prázdná." #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "Tato složka obsahuje %zu položku." -msgstr[1] "Tato složka obsahuje %zu položky." -msgstr[2] "Tato složka obsahuje %zu položek." +msgstr[0] "Tato složka obsahuje %u položku." +msgstr[1] "Tato složka obsahuje %u položky." +msgstr[2] "Tato složka obsahuje %u položek." msgid "keys.top" msgstr "Přeskočit na začátek" @@ -2119,7 +2119,7 @@ msgstr "" "Písmové balíčky v Lagrange jsou archivy ZIP, které obsahují sadu písmových " "souborů a jejich příslušných konfiguračních parametrů. Po instalaci můžete " "písma použít pro obsah dokumentu a v rozhraní. Aktivní písma se vybírají v " -"Předvolby > Písma" +"Předvolby > Písma." msgid "fontpack.open.aboutfonts" msgstr "Zobrazit instalovaná písma" -- cgit v1.2.3 From 9df0c10c915b504a9f6dcca88608d702e4548bb6 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 06:52:20 +0200 Subject: Updated language strings --- res/lang/cs.bin | Bin 28612 -> 30722 bytes res/lang/de.bin | Bin 28684 -> 28698 bytes res/lang/en.bin | Bin 26144 -> 26142 bytes res/lang/eo.bin | Bin 24921 -> 24935 bytes res/lang/es.bin | Bin 29538 -> 29552 bytes res/lang/es_MX.bin | Bin 27009 -> 27023 bytes res/lang/fi.bin | Bin 29373 -> 29370 bytes res/lang/fr.bin | Bin 29890 -> 29904 bytes res/lang/gl.bin | Bin 28728 -> 28742 bytes res/lang/hu.bin | Bin 30570 -> 30562 bytes res/lang/ia.bin | Bin 28009 -> 28023 bytes res/lang/ie.bin | Bin 28214 -> 28408 bytes res/lang/isv.bin | Bin 24848 -> 24862 bytes res/lang/pl.bin | Bin 29285 -> 29299 bytes res/lang/ru.bin | Bin 43838 -> 43872 bytes res/lang/sk.bin | Bin 25181 -> 25195 bytes res/lang/sr.bin | Bin 43296 -> 43322 bytes res/lang/tok.bin | Bin 26566 -> 26592 bytes res/lang/uk.bin | Bin 43172 -> 43200 bytes res/lang/zh_Hans.bin | Bin 24961 -> 24975 bytes res/lang/zh_Hant.bin | Bin 25102 -> 25116 bytes 21 files changed, 0 insertions(+), 0 deletions(-) diff --git a/res/lang/cs.bin b/res/lang/cs.bin index 4523b454..eff677ba 100644 Binary files a/res/lang/cs.bin and b/res/lang/cs.bin differ diff --git a/res/lang/de.bin b/res/lang/de.bin index ab8b61e9..e3ea2835 100644 Binary files a/res/lang/de.bin and b/res/lang/de.bin differ diff --git a/res/lang/en.bin b/res/lang/en.bin index f50c59e4..63a9d6c7 100644 Binary files a/res/lang/en.bin and b/res/lang/en.bin differ diff --git a/res/lang/eo.bin b/res/lang/eo.bin index 8f7415e1..a69a9f3f 100644 Binary files a/res/lang/eo.bin and b/res/lang/eo.bin differ diff --git a/res/lang/es.bin b/res/lang/es.bin index fa58e37f..04dc9125 100644 Binary files a/res/lang/es.bin and b/res/lang/es.bin differ diff --git a/res/lang/es_MX.bin b/res/lang/es_MX.bin index 7b7be4b6..ffb53cba 100644 Binary files a/res/lang/es_MX.bin and b/res/lang/es_MX.bin differ diff --git a/res/lang/fi.bin b/res/lang/fi.bin index ea724c52..fc83470b 100644 Binary files a/res/lang/fi.bin and b/res/lang/fi.bin differ diff --git a/res/lang/fr.bin b/res/lang/fr.bin index 163488b7..bda6f4f6 100644 Binary files a/res/lang/fr.bin and b/res/lang/fr.bin differ diff --git a/res/lang/gl.bin b/res/lang/gl.bin index fbd94fb4..3e64a503 100644 Binary files a/res/lang/gl.bin and b/res/lang/gl.bin differ diff --git a/res/lang/hu.bin b/res/lang/hu.bin index 104a1134..44ca3a37 100644 Binary files a/res/lang/hu.bin and b/res/lang/hu.bin differ diff --git a/res/lang/ia.bin b/res/lang/ia.bin index 94d6264a..9c4ba6b5 100644 Binary files a/res/lang/ia.bin and b/res/lang/ia.bin differ diff --git a/res/lang/ie.bin b/res/lang/ie.bin index ccf39a78..3510c8b5 100644 Binary files a/res/lang/ie.bin and b/res/lang/ie.bin differ diff --git a/res/lang/isv.bin b/res/lang/isv.bin index 5cb76e7e..b501166c 100644 Binary files a/res/lang/isv.bin and b/res/lang/isv.bin differ diff --git a/res/lang/pl.bin b/res/lang/pl.bin index b2ac897c..f44d90fc 100644 Binary files a/res/lang/pl.bin and b/res/lang/pl.bin differ diff --git a/res/lang/ru.bin b/res/lang/ru.bin index 290c101f..ae868a8b 100644 Binary files a/res/lang/ru.bin and b/res/lang/ru.bin differ diff --git a/res/lang/sk.bin b/res/lang/sk.bin index 1f8f2817..402ab526 100644 Binary files a/res/lang/sk.bin and b/res/lang/sk.bin differ diff --git a/res/lang/sr.bin b/res/lang/sr.bin index dac8a99f..56c08062 100644 Binary files a/res/lang/sr.bin and b/res/lang/sr.bin differ diff --git a/res/lang/tok.bin b/res/lang/tok.bin index b66ff147..3e511a6f 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 dc68bb4a..d949ca9d 100644 Binary files a/res/lang/uk.bin and b/res/lang/uk.bin differ diff --git a/res/lang/zh_Hans.bin b/res/lang/zh_Hans.bin index bd503eef..7a59c620 100644 Binary files a/res/lang/zh_Hans.bin and b/res/lang/zh_Hans.bin differ diff --git a/res/lang/zh_Hant.bin b/res/lang/zh_Hant.bin index c4dc5896..76ac592a 100644 Binary files a/res/lang/zh_Hant.bin and b/res/lang/zh_Hant.bin differ -- cgit v1.2.3 From 3bbbd1399373755cec95e9685d18ecebec3b9c24 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 09:47:03 +0200 Subject: Fixed issues with tall popup menus A tall popup menu needs to use overflow scrolling, but the size of the display wasn't considered. Now a popup window is fit to the usable bounds of the display. --- src/ui/lookupwidget.c | 3 ++- src/ui/root.c | 33 +++++++++++++++++++++++++++++++-- src/ui/root.h | 2 +- src/ui/util.c | 4 ++-- src/ui/widget.c | 34 ++++++++++++++++++++-------------- src/ui/window.c | 6 +++++- 6 files changed, 61 insertions(+), 21 deletions(-) diff --git a/src/ui/lookupwidget.c b/src/ui/lookupwidget.c index e57a5fdc..da0113ce 100644 --- a/src/ui/lookupwidget.c +++ b/src/ui/lookupwidget.c @@ -665,8 +665,9 @@ static iBool processEvent_LookupWidget_(iLookupWidget *d, const SDL_Event *ev) { (bottom_Rect(rect_Root(root)) - bottom_Rect(navBarBounds)) / 2)); setPos_Widget(w, windowToLocal_Widget(w, bottomLeft_Rect(bounds_Widget(url)))); #if defined (iPlatformAppleMobile) + /* TODO: Check this again. */ /* Adjust height based on keyboard size. */ { - w->rect.size.y = visibleSize_Root(root).y - top_Rect(bounds_Widget(w)); + w->rect.size.y = bottom_Rect(visibleRect_Root(root)) - top_Rect(bounds_Widget(w)); if (deviceType_App() == phone_AppDeviceType) { float l, r; safeAreaInsets_iOS(&l, NULL, &r, NULL); diff --git a/src/ui/root.c b/src/ui/root.c index d847480f..95126654 100644 --- a/src/ui/root.c +++ b/src/ui/root.c @@ -1529,6 +1529,35 @@ iRect safeRect_Root(const iRoot *d) { return rect; } -iInt2 visibleSize_Root(const iRoot *d) { - return addY_I2(size_Root(d), -get_MainWindow()->keyboardHeight); +iRect visibleRect_Root(const iRoot *d) { + iRect visRect = rect_Root(d); +#if defined (iPlatformAppleMobile) + /* TODO: Check this on device... Maybe DisplayUsableBounds would be good here, too? */ + float left, top, right, bottom; + safeAreaInsets_iOS(&left, &top, &right, &bottom); + visRect.pos.x = (int) left; + visRect.size.x -= (int) (left + right); + visRect.pos.y = (int) top; + visRect.size.y -= (int) (top + bottom); +#endif +#if defined (iPlatformDesktop) + /* Apply the usable bounds of the display. */ + SDL_Rect usable; { + const float ratio = d->window->pixelRatio; + SDL_GetDisplayUsableBounds(SDL_GetWindowDisplayIndex(d->window->win), &usable); + iInt2 winPos; + SDL_GetWindowPosition(d->window->win, &winPos.x, &winPos.y); + mulfv_I2(&winPos, ratio); + usable.x *= ratio; + usable.y *= ratio; + usable.w *= ratio; + usable.h *= ratio; + /* Make it relative to the window. */ + usable.x -= winPos.x; + usable.y -= winPos.y; + visRect = intersect_Rect(visRect, init_Rect(usable.x, usable.y, usable.w, usable.h)); + } +#endif + adjustEdges_Rect(&visRect, 0, 0, -get_MainWindow()->keyboardHeight, 0); + return visRect; } diff --git a/src/ui/root.h b/src/ui/root.h index 04dd5e16..851d927d 100644 --- a/src/ui/root.h +++ b/src/ui/root.h @@ -40,6 +40,6 @@ void updateToolbarColors_Root (iRoot *); iInt2 size_Root (const iRoot *); iRect rect_Root (const iRoot *); iRect safeRect_Root (const iRoot *); -iInt2 visibleSize_Root (const iRoot *); /* may be obstructed by software keyboard */ +iRect visibleRect_Root (const iRoot *); /* may be obstructed by software keyboard */ iBool isNarrow_Root (const iRoot *); int appIconSize_Root (void); diff --git a/src/ui/util.c b/src/ui/util.c index 760bf48f..88348ff8 100644 --- a/src/ui/util.c +++ b/src/ui/util.c @@ -1038,7 +1038,7 @@ void openMenuFlags_Widget(iWidget *d, iInt2 windowCoord, int menuOpenFlags) { iRect displayRect = zero_Rect(); for (int i = 0; i < SDL_GetNumVideoDisplays(); i++) { SDL_Rect dispBounds; - SDL_GetDisplayBounds(i, &dispBounds); + SDL_GetDisplayUsableBounds(i, &dispBounds); displayRect = union_Rect( displayRect, init_Rect(dispBounds.x, dispBounds.y, dispBounds.w, dispBounds.h)); } @@ -1070,7 +1070,7 @@ void openMenuFlags_Widget(iWidget *d, iInt2 windowCoord, int menuOpenFlags) { iInt2 menuPos = add_I2(winPos, divf_I2(sub_I2(windowCoord, divi_I2(gap2_UI, 2)), pixelRatio)); /* Check display bounds. */ { - const iInt2 menuSize = divf_I2(d->rect.size, pixelRatio); + iInt2 menuSize = divf_I2(d->rect.size, pixelRatio); if (menuOpenFlags & center_MenuOpenFlags) { iInt2 winSize; SDL_GetWindowSize(sdlWin, &winSize.x, &winSize.y); diff --git a/src/ui/widget.c b/src/ui/widget.c index b509cbe2..6ce5e02a 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c @@ -1142,11 +1142,9 @@ static iBool isOverflowScrollPossible_Widget_(const iWidget *d, int delta) { return iFalse; } iRect bounds = boundsWithoutVisualOffset_Widget(d); - const iRect winRect = adjusted_Rect(safeRect_Root(d->root), - zero_I2(), - init_I2(0, -get_MainWindow()->keyboardHeight)); - const int yTop = top_Rect(winRect); - const int yBottom = bottom_Rect(winRect); + const iRect winRect = visibleRect_Root(d->root); + const int yTop = top_Rect(winRect); + const int yBottom = bottom_Rect(winRect); if (delta == 0) { if (top_Rect(bounds) >= yTop && bottom_Rect(bounds) <= yBottom) { return iFalse; /* fits inside just fine */ @@ -1162,11 +1160,9 @@ iBool scrollOverflow_Widget(iWidget *d, int delta) { if (!isOverflowScrollPossible_Widget_(d, delta)) { return iFalse; } - iRect bounds = boundsWithoutVisualOffset_Widget(d); - const iRect winRect = adjusted_Rect(safeRect_Root(d->root), - zero_I2(), - init_I2(0, -get_MainWindow()->keyboardHeight)); - iRangei validPosRange = { bottom_Rect(winRect) - height_Rect(bounds), top_Rect(winRect) }; + iRect bounds = boundsWithoutVisualOffset_Widget(d); + const iRect winRect = visibleRect_Root(d->root); + iRangei validPosRange = { bottom_Rect(winRect) - height_Rect(bounds), top_Rect(winRect) }; if (validPosRange.start > validPosRange.end) { validPosRange.start = validPosRange.end; /* no room to scroll */ } @@ -1244,18 +1240,28 @@ iBool processEvent_Widget(iWidget *d, const SDL_Event *ev) { /* TODO: Motion events occur frequently. Maybe it would help if these were handled via audiences that specifically register to listen for motion, to minimize the number of widgets that need to process them. */ - const int hoverScrollLimit = 2 * lineHeight_Text(default_FontId); + const int hoverScrollLimit = 1.5f * lineHeight_Text(default_FontId); float speed = 0.0f; if (ev->motion.y < hoverScrollLimit) { speed = (hoverScrollLimit - ev->motion.y) / (float) hoverScrollLimit; } else { - const int bottomLimit = bottom_Rect(rect_Root(d->root)) - hoverScrollLimit; - if (ev->motion.y > bottomLimit ) { + const iWindow *win = window_Widget(d); + SDL_Rect usable; + SDL_GetDisplayUsableBounds(SDL_GetWindowDisplayIndex(win->win), + &usable); + const int bottomLimit = + iMin(bottom_Rect(rect_Root(d->root)), usable.h * win->pixelRatio) - + hoverScrollLimit; + if (ev->motion.y > bottomLimit) { speed = -(ev->motion.y - bottomLimit) / (float) hoverScrollLimit; } + printf("my:%d bottomLimit:%d => %f (%d)\n", ev->motion.y, bottomLimit, speed + ,isOverflowScrollPossible_Widget_(d, speed)); fflush(stdout); } - if (speed != 0.0f && isOverflowScrollPossible_Widget_(d, speed > 0 ? 1 : -1)) { + const int dir = speed > 0 ? 1 : -1; + if (speed != 0.0f && isOverflowScrollPossible_Widget_(d, dir)) { +// speed = dir * powf(speed, 1.5f); const uint32_t nowTime = SDL_GetTicks(); uint32_t elapsed = nowTime - lastHoverOverflowMotionTime_; if (elapsed > 100) { diff --git a/src/ui/window.c b/src/ui/window.c index c63ad76a..fa364cff 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1676,9 +1676,13 @@ iWindow *newPopup_Window(iInt2 screenPos, iWidget *rootWidget) { #if !defined (iPlatformApple) setForceSoftwareRender_App(iTrue); #endif + SDL_Rect usableRect; + SDL_GetDisplayUsableBounds(SDL_GetWindowDisplayIndex(get_MainWindow()->base.win), + &usableRect); iWindow *win = new_Window(popup_WindowType, - (iRect){ screenPos, divf_I2(rootWidget->rect.size, get_Window()->pixelRatio) }, + (iRect){ screenPos, min_I2(divf_I2(rootWidget->rect.size, get_Window()->pixelRatio), + init_I2(usableRect.w, usableRect.h)) }, SDL_WINDOW_ALWAYS_ON_TOP | #if !defined (iPlatformAppleDesktop) SDL_WINDOW_BORDERLESS | -- 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(+) 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 7f010056eae76fa439587af443d2901bd322250c Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 11:34:14 +0200 Subject: Updated AppData --- res/fi.skyjake.Lagrange.appdata.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/res/fi.skyjake.Lagrange.appdata.xml b/res/fi.skyjake.Lagrange.appdata.xml index 02c2ec02..29163a04 100644 --- a/res/fi.skyjake.Lagrange.appdata.xml +++ b/res/fi.skyjake.Lagrange.appdata.xml @@ -45,6 +45,31 @@ jaakko.keranen@iki.fi + + +

Version 1.8 adds a customizable font library and improves warning + and errors messages. The bundled hardcoded fonts have been + removed, and font configuration is now more flexible. Tabs have + close buttons that appear on mouse hover. Added a Ukrainian UI + translation.

+

Changes in v1.8.1:

+
    +
  • Added UI translations: Hungarian, Czech.
  • +
  • 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.
  • +
  • Gopher: Recognize both LF and CRLF line endings in page + content.
  • +
+

The full release notes can be viewed inside the app by opening + the "about:version" page.

+
+ https://github.com/skyjake/lagrange/releases/tag/v1.8.1 +

Version 1.8 adds a customizable font library and improves warning -- cgit v1.2.3 From e38da9d93dc5c54f997f34782614ff0ca3388d2a Mon Sep 17 00:00:00 2001 From: jan Anja Date: Sat, 6 Nov 2021 05:42:32 +0000 Subject: Translated using Weblate (Russian) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/ru/ --- po/ru.po | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/po/ru.po b/po/ru.po index e1a1b032..d2d52614 100644 --- a/po/ru.po +++ b/po/ru.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" "POT-Creation-Date: 2021-03-23 19:02+0000\n" -"PO-Revision-Date: 2021-11-06 04:30+0000\n" -"Last-Translator: Olga Smirnova \n" +"PO-Revision-Date: 2021-11-06 09:34+0000\n" +"Last-Translator: jan Anja \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" @@ -390,9 +390,9 @@ msgstr "Не используется" msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "Используется на %zu URL" -msgstr[1] "Используется на %zu URL" -msgstr[2] "Используется на %zu URL" +msgstr[0] "Используется на %u URL" +msgstr[1] "Используется на %u URL" +msgstr[2] "Используется на %u URL" msgid "ident.temporary" msgstr "Временный" @@ -1293,9 +1293,9 @@ msgstr "ДРУГИЕ" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "%zu байт" -msgstr[1] "%zu байта" -msgstr[2] "%zu байтов" +msgstr[0] "%u байт" +msgstr[1] "%u байта" +msgstr[2] "%u байтов" msgid "reload.never" msgstr "Никогда" @@ -1359,16 +1359,16 @@ msgstr "МБ/с" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "всего %zu статья" -msgstr[1] "всего %zu статьи" -msgstr[2] "всего %zu статей" +msgstr[0] "всего %u статья" +msgstr[1] "всего %u статьи" +msgstr[2] "всего %u статей" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "Вы подписаны на %zu ленту, содержащую %%s.\n" -msgstr[1] "Вы подписаны на %zu ленты, содержащие %%s.\n" -msgstr[2] "Вы подписаны на %zu лент, содержащих %%s.\n" +msgstr[0] "Вы подписаны на %u ленту, содержащую %%s.\n" +msgstr[1] "Вы подписаны на %u ленты, содержащие %%s.\n" +msgstr[2] "Вы подписаны на %u лент, содержащих %%s.\n" # Interpretation: (Bold links) on dark (background). msgid "prefs.boldlink.dark" @@ -1576,9 +1576,9 @@ msgstr "Выйти из архива" #, c-format msgid "archive.summary" msgid_plural "archive.summary.n" -msgstr[0] "Архив содержит %zu элемент и занимает %.1f МБ в сжатом виде." -msgstr[1] "Архив содержит %zu элемента и занимает %.1f МБ в сжатом виде." -msgstr[2] "Архив содержит %zu элементов и занимает %.1f МБ в сжатом виде." +msgstr[0] "Архив содержит %u элемент и занимает %.1f МБ в сжатом виде." +msgstr[1] "Архив содержит %u элемента и занимает %.1f МБ в сжатом виде." +msgstr[2] "Архив содержит %u элементов и занимает %.1f МБ в сжатом виде." msgid "dir.empty" msgstr "Каталог пуст." @@ -1586,9 +1586,9 @@ msgstr "Каталог пуст." #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "Каталог содержит %zu элемент." -msgstr[1] "Каталог содержит %zu элемента." -msgstr[2] "Каталог содержит %zu элементов." +msgstr[0] "Каталог содержит %u элемент." +msgstr[1] "Каталог содержит %u элемента." +msgstr[2] "Каталог содержит %u элементов." msgid "keys.tab.close.other" msgstr "Закрыть другие владки" @@ -1930,15 +1930,15 @@ msgstr "Загрузить пакет шрифтов (25 МБ)" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu файл" -msgstr[1] "%zu файла" -msgstr[2] "%zu файлов" +msgstr[0] "%u файл" +msgstr[1] "%u файла" +msgstr[2] "%u файлов" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu шрифт" -msgstr[1] "%zu шрифта" -msgstr[2] "%zu шрифтов" +msgstr[0] "%u шрифт" +msgstr[1] "%u шрифта" +msgstr[2] "%u шрифтов" msgid "heading.fontpack.classic" msgstr "ЗАГРУЗИТЬ ПАКЕТ ШРИФТОВ" -- cgit v1.2.3 From 7a59e88305b9381f5da5aaec9d3f41afce7d709d Mon Sep 17 00:00:00 2001 From: jan Anja Date: Sat, 6 Nov 2021 05:41:16 +0000 Subject: Translated using Weblate (Toki Pona (tok)) Currently translated at 98.0% (615 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/tok/ --- po/tok.po | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/po/tok.po b/po/tok.po index 0e77daf5..cec21f48 100644 --- a/po/tok.po +++ b/po/tok.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-06 04:30+0000\n" +"PO-Revision-Date: 2021-11-06 09:34+0000\n" "Last-Translator: jan Anja \n" "Language-Team: Toki Pona \n" @@ -54,7 +54,7 @@ msgstr "Hz" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "lipu %zu" +msgstr[0] "lipu %u" msgid "feeds.list.refreshtime.now" msgstr "tenpo pini lili la lipu lukin li sin." @@ -294,7 +294,7 @@ msgstr "MB/s" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "tu suli %zu" +msgstr[0] "tu suli %u" # megabytes, used as the unit after a number msgid "mb" @@ -400,7 +400,7 @@ msgstr "lipu ala li kepeken e ona" #, c-format msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "lipu %zu li kepeken" +msgstr[0] "lipu %u li kepeken" msgid "ident.temporary" msgstr "nimi tawa tenpo lili" @@ -1231,7 +1231,7 @@ msgstr[0] "nimi tawa sin %d li lon lipu ni." #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "lipu lukin %zu li lon. ona ale li jo e %%s.\n" +msgstr[0] "lipu lukin %u li lon. ona ale li jo e %%s.\n" msgid "macos.menu.bookmarks.list" msgstr "lipu awen ali" @@ -1549,7 +1549,7 @@ msgstr "poki nanpa tu" #, c-format msgid "archive.summary" msgid_plural "archive.summary.n" -msgstr[0] "ijo %zu li lon ijo ni (tu suli Meka %.1f)." +msgstr[0] "ijo %u li lon ijo ni (tu suli Meka %.1f)." msgid "archive.exit" msgstr "o pini e ijo" @@ -1563,7 +1563,7 @@ msgstr "poki sama" #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "ijo %zu li lon poki ni." +msgstr[0] "ijo %u li lon poki ni." msgid "keys.tab.close.other" msgstr "o pini e poki ante" @@ -1884,11 +1884,11 @@ msgstr "o ante e sitelen…" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "ijo %zu" +msgstr[0] "ijo %u" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "sitelen %zu" +msgstr[0] "sitelen %u" msgid "dlg.certwarn.title" msgstr "pakala len suli" -- cgit v1.2.3 From 218000e5558db83514cb041de80d2f1af006f6c5 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 11:44:24 +0200 Subject: Updated language strings Cleaned up output of the string compilation script. --- po/compile.py | 13 +++++++++++-- res/lang/ru.bin | Bin 43872 -> 43848 bytes res/lang/tok.bin | Bin 26592 -> 26584 bytes 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/po/compile.py b/po/compile.py index af0e422b..adf5a403 100755 --- a/po/compile.py +++ b/po/compile.py @@ -35,6 +35,9 @@ ESCAPES = { 't': '\t', 'v': '\v', } +missing_count = {} +for lang in BUILD_LANGS: + missing_count[lang] = 0 if '--new' in sys.argv: MODE = 'new' @@ -122,6 +125,7 @@ if MODE == 'compile': for src in os.listdir('.'): if src.endswith('.po') and src.split('.')[0] in BUILD_LANGS: # Make a binary blob with strings sorted by ID. + lang_id = src[:-3] have_ids = set() compiled = bytes() lang = parse_po(src) @@ -130,11 +134,16 @@ if MODE == 'compile': # Take missing strings from the base language. for msg_id in BASE_STRINGS: if msg_id not in have_ids and not msg_id[:-2] in PLURALS: - print('%10s' % src, 'missing:', msg_id) + #print('%10s' % src, 'missing:', msg_id) + missing_count[lang_id] += 1 lang.append((msg_id, BASE_STRINGS[msg_id])) for msg_id, msg_str in sorted(lang): compiled += compile_string(msg_id, msg_str) - open(f'../res/lang/{src[:-3]}.bin', 'wb').write(compiled) + open(f'../res/lang/{lang_id}.bin', 'wb').write(compiled) + # Show statistics. + for lang_id in missing_count: + if missing_count[lang_id] > 0: + print('%7s: %4d missing' % (lang_id, missing_count[lang_id])) elif MODE == 'new': messages = parse_po('en.po') diff --git a/res/lang/ru.bin b/res/lang/ru.bin index ae868a8b..4febb613 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 3e511a6f..9e36f8b0 100644 Binary files a/res/lang/tok.bin and b/res/lang/tok.bin differ -- cgit v1.2.3 From a39b528d1ee9789c98aca15ef617d84a86d113b8 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 11:44:30 +0200 Subject: Updated AUTHORS --- AUTHORS.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index 06b4041b..81f3bb45 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -5,43 +5,43 @@ Lagrange was created by Jaakko Keränen () in July 2020. Legend: `C` code, `T` translation ``` -C 2596 Jaakko Keränen +C 2609 Jaakko Keränen CT 39 Nikolay Korotkiy - T 34 Olga Smirnova - T 25 Alyssa Liddell + T 38 Olga Smirnova + T 27 jan Anja + T 26 Alyssa Liddell T 25 Shibo Lyu - T 24 jan Anja - T 20 Страхиња Радић + T 21 Страхиња Радић T 17 MCMic T 14 Wally Hackenslacker - T 9 Xosé M T 9 Aaron Fischer + T 9 Xosé M T 8 El Mau + T 8 Tadeáš Erban T 7 Waterrail - T 6 Tadeáš Erban T 5 roy niang - T 2 Arns Udovič -C 2 Manos Pitsidianakis - T 2 tbodt T 2 Alex Schroeder - T 2 methbkts C 2 Alyssa Rosenzweig - T 2 Gabriel de Oliveira Ferreira Machado + T 2 Arns Udovič + T 2 Botond Balázs C 2 Br0000k <77938600+Br0000k@users.noreply.github.com> + T 2 Gabriel de Oliveira Ferreira Machado +C 2 Manos Pitsidianakis + T 2 methbkts + T 2 tbodt +C 1 Adam Mizerski C 1 Charles -C 1 Thomas Adam C 1 Dario Vladovic -C 1 SolidHal C 1 David Gillies -C 1 Raph M T 1 Eric -C 1 Adam Mizerski T 1 Marek Ľach -C 1 zocker -C 1 Zach DeCook - T 1 Botond Balázs +C 1 Raph M +C 1 SolidHal +C 1 Thomas Adam C 1 Waweic C 1 Waweic +C 1 Zach DeCook +C 1 zocker ``` This table of contributors has been extracted from Git history and is sorted by commit count. \ No newline at end of file -- cgit v1.2.3 From ffd6c9ce112675c4821ef7f8ac644dd40c54a1e9 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 11:55:42 +0200 Subject: Cleanup --- src/ui/widget.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ui/widget.c b/src/ui/widget.c index 6ce5e02a..1ab16b4f 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c @@ -1256,8 +1256,6 @@ iBool processEvent_Widget(iWidget *d, const SDL_Event *ev) { if (ev->motion.y > bottomLimit) { speed = -(ev->motion.y - bottomLimit) / (float) hoverScrollLimit; } - printf("my:%d bottomLimit:%d => %f (%d)\n", ev->motion.y, bottomLimit, speed - ,isOverflowScrollPossible_Widget_(d, speed)); fflush(stdout); } const int dir = speed > 0 ? 1 : -1; if (speed != 0.0f && isOverflowScrollPossible_Widget_(d, dir)) { -- cgit v1.2.3 From 47d2b3122ea18147c0661b0158ccf1daef2d9c2b Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 6 Nov 2021 12:29:13 +0200 Subject: Depends: Require the_Foundation v1.0.1 --- Depends.cmake | 69 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 34 insertions(+), 35 deletions(-) diff --git a/Depends.cmake b/Depends.cmake index 3af9102d..c3decd7a 100644 --- a/Depends.cmake +++ b/Depends.cmake @@ -7,9 +7,42 @@ find_package (PkgConfig) find_program (MESON_EXECUTABLE meson DOC "Meson build system") find_program (NINJA_EXECUTABLE ninja DOC "Ninja build tool") include (ExternalProject) - set (_dependsToBuild) +if (NOT EXISTS ${CMAKE_SOURCE_DIR}/lib/the_Foundation/CMakeLists.txt) + set (INSTALL_THE_FOUNDATION YES) + find_package (the_Foundation 1.0.1 REQUIRED) +else () + if (EXISTS ${CMAKE_SOURCE_DIR}/lib/the_Foundation/.git) + # the_Foundation is checked out as a submodule, make sure it's up to date. + find_package (Git) + if (GIT_FOUND) + execute_process ( + COMMAND ${GIT_EXECUTABLE} submodule update + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + OUTPUT_VARIABLE subout + OUTPUT_STRIP_TRAILING_WHITESPACE + ) + if (subout) + message (FATAL_ERROR "'lib/the_Foundation' Git submodule has been updated, please re-run CMake.\n") + endif () + endif () + endif () + set (INSTALL_THE_FOUNDATION OFF) + set (TFDN_STATIC_LIBRARY ON CACHE BOOL "") + set (TFDN_ENABLE_INSTALL OFF CACHE BOOL "") + set (TFDN_ENABLE_TESTS OFF CACHE BOOL "") + set (TFDN_ENABLE_WEBREQUEST OFF CACHE BOOL "") + add_subdirectory (lib/the_Foundation) + add_library (the_Foundation::the_Foundation ALIAS the_Foundation) + if (NOT OPENSSL_FOUND) + message (FATAL_ERROR "Lagrange requires OpenSSL for TLS. Please check if pkg-config can find 'openssl'.") + endif () + if (NOT ZLIB_FOUND) + message (FATAL_ERROR "Lagrange requires zlib for reading compressed archives. Please check if pkg-config can find 'zlib'.") + endif () +endif () + if (ENABLE_HARFBUZZ AND EXISTS ${CMAKE_SOURCE_DIR}/lib/harfbuzz/CMakeLists.txt) # Find HarfBuzz with pkg-config. if (NOT ENABLE_HARFBUZZ_MINIMAL AND PKG_CONFIG_FOUND) @@ -112,40 +145,6 @@ endif () add_custom_target (ext-deps DEPENDS ${_dependsToBuild}) -if (NOT EXISTS ${CMAKE_SOURCE_DIR}/lib/the_Foundation/CMakeLists.txt) - set (INSTALL_THE_FOUNDATION YES) - find_package (the_Foundation 1.0.0 REQUIRED) -else () - if (EXISTS ${CMAKE_SOURCE_DIR}/lib/the_Foundation/.git) - # the_Foundation is checked out as a submodule, make sure it's up to date. - find_package (Git) - if (GIT_FOUND) - execute_process ( - COMMAND ${GIT_EXECUTABLE} submodule update - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - OUTPUT_VARIABLE subout - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - if (subout) - message (FATAL_ERROR "'lib/the_Foundation' Git submodule has been updated, please re-run CMake.\n") - endif () - endif () - endif () - set (INSTALL_THE_FOUNDATION OFF) - set (TFDN_STATIC_LIBRARY ON CACHE BOOL "") - set (TFDN_ENABLE_INSTALL OFF CACHE BOOL "") - set (TFDN_ENABLE_TESTS OFF CACHE BOOL "") - set (TFDN_ENABLE_WEBREQUEST OFF CACHE BOOL "") - add_subdirectory (lib/the_Foundation) - add_library (the_Foundation::the_Foundation ALIAS the_Foundation) - if (NOT OPENSSL_FOUND) - message (FATAL_ERROR "Lagrange requires OpenSSL for TLS. Please check if pkg-config can find 'openssl'.") - endif () - if (NOT ZLIB_FOUND) - message (FATAL_ERROR "Lagrange requires zlib for reading compressed archives. Please check if pkg-config can find 'zlib'.") - endif () -endif () - find_package (PkgConfig REQUIRED) pkg_check_modules (SDL2 REQUIRED sdl2) pkg_check_modules (MPG123 IMPORTED_TARGET libmpg123) -- cgit v1.2.3 From fdb6fa15d58142a9be3aa5e14471ef83df8caff4 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 8 Nov 2021 15:04:01 +0200 Subject: FontPack: Don't crash if a font file is missing --- src/fontpack.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/fontpack.c b/src/fontpack.c index 40e4c96c..c12b2ddc 100644 --- a/src/fontpack.c +++ b/src/fontpack.c @@ -401,12 +401,14 @@ void handleIniKeyValue_FontPack_(void *context, const iString *table, const iStr if (!data) { data = collect_Block(readFile_FontPack_(d, cleanPath)); } - ff = new_FontFile(); - set_String(&ff->id, fontFileId); - ff->colIndex = colIndex; - load_FontFile_(ff, data); - pushBack_ObjectList(fonts_.files, ff); /* centralized ownership */ - iRelease(ff); + if (data) { + ff = new_FontFile(); + set_String(&ff->id, fontFileId); + ff->colIndex = colIndex; + load_FontFile_(ff, data); + pushBack_ObjectList(fonts_.files, ff); /* centralized ownership */ + iRelease(ff); + } } d->loadSpec->styles[i] = ref_Object(ff); delete_String(fontFileId); -- 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(-) 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 c9372aaf43992ac15b66d43ee1859f21fef862ac Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 9 Nov 2021 11:11:54 +0200 Subject: GmCerts: Allow trusting certificate regardless of domain name --- src/gmcerts.c | 8 +++----- src/ui/documentwidget.c | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/gmcerts.c b/src/gmcerts.c index 9073f2e7..36fd7d55 100644 --- a/src/gmcerts.c +++ b/src/gmcerts.c @@ -457,10 +457,8 @@ iBool checkTrust_GmCerts(iGmCerts *d, iRangecc domain, uint16_t port, const iTls return iFalse; } /* We trust CA verification implicitly. */ - const iBool isCATrusted = (verify_TlsCertificate(cert) == authority_TlsCertificateVerifyStatus); - if (!verifyDomain_GmCerts(cert, domain)) { - return iFalse; - } + const iBool isCATrusted = (verify_TlsCertificate(cert) == authority_TlsCertificateVerifyStatus); + const iBool isDomainValid = verifyDomain_GmCerts(cert, domain); /* TODO: Could call setTrusted_GmCerts() instead of duplicating the trust-setting. */ /* Good certificate. If not already trusted, add it now. */ iDate until; @@ -470,7 +468,7 @@ iBool checkTrust_GmCerts(iGmCerts *d, iRangecc domain, uint16_t port, const iTls init_String(&key); makeTrustKey_(domain, port, &key); lock_Mutex(d->mtx); - iBool ok = !isExpired_TlsCertificate(cert); + iBool ok = isDomainValid && !isExpired_TlsCertificate(cert); iTrustEntry *trust = value_StringHash(d->trusted, &key); if (trust) { /* We already have it, check if it matches the one we trust for this domain (if it's diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 60662b03..41ca1d7f 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c @@ -2836,7 +2836,7 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) const iBool haveFingerprint = (d->certFlags & haveFingerprint_GmCertFlag) != 0; const iBool canTrust = (d->certFlags == (available_GmCertFlag | haveFingerprint_GmCertFlag | - timeVerified_GmCertFlag | domainVerified_GmCertFlag)); + timeVerified_GmCertFlag /* | domainVerified_GmCertFlag*/)); const iRecentUrl *recent = findUrl_History(d->mod.history, d->mod.url); const iString *meta = &d->sourceMime; if (recent && recent->cachedResponse) { -- cgit v1.2.3 From cd254eda4a42f315f4c2af27451c6d78a196c18a Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 9 Nov 2021 11:13:17 +0200 Subject: DocumentWidget: Error message cleanup Some error pages would show response meta string instead of the actual error title. Don't show the internal error numbes in Page Information. --- src/ui/documentwidget.c | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 41ca1d7f..448398b1 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c @@ -1195,6 +1195,7 @@ static void showErrorPage_DocumentWidget_(iDocumentWidget *d, enum iGmStatusCode // iBool useBanner = iTrue; destroy_Widget(d->footerButtons); d->footerButtons = NULL; + const iString *serverErrorMsg = NULL; if (meta) { switch (code) { case schemeChangeRedirect_GmStatusCode: @@ -1253,12 +1254,13 @@ static void showErrorPage_DocumentWidget_(iDocumentWidget *d, enum iGmStatusCode "document.save" }); makeFooterButtons_DocumentWidget_(d, data_Array(&items), size_Array(&items)); deinit_Array(&items); + serverErrorMsg = collectNewFormat_String("%s (%s)", msg->title, cstr_String(meta)); break; } default: -// if (!isEmpty_String(meta)) { -// appendFormat_String(src, "\n\n${error.server.msg}\n> %s", cstr_String(meta)); -// } + if (!isEmpty_String(meta)) { + serverErrorMsg = meta; + } break; } } @@ -1276,7 +1278,7 @@ static void showErrorPage_DocumentWidget_(iDocumentWidget *d, enum iGmStatusCode replaceDocument_DocumentWidget_(d, errorDoc); iRelease(errorDoc); clear_Banner(d->banner); - add_Banner(d->banner, error_BannerType, code, meta, NULL); + add_Banner(d->banner, error_BannerType, code, serverErrorMsg, NULL); d->state = ready_RequestState; setSource_DocumentWidget(d, src); updateTheme_DocumentWidget_(d); @@ -2080,6 +2082,13 @@ static void inputQueryValidator_(iInputWidget *input, void *context) { arrange_Widget(findChild_Widget(dlg, "dialogbuttons")); } +static const char *humanReadableStatusCode_(enum iGmStatusCode code) { + if (code <= 0) { + return ""; + } + return format_CStr("%d ", code); +} + static void checkResponse_DocumentWidget_(iDocumentWidget *d) { if (!d->request) { return; @@ -2104,8 +2113,8 @@ static void checkResponse_DocumentWidget_(iDocumentWidget *d) { init_Anim(&d->sideOpacity, 0); init_Anim(&d->altTextOpacity, 0); format_String(&d->sourceHeader, - "%d %s", - statusCode, + "%s%s", + humanReadableStatusCode_(statusCode), isEmpty_String(&resp->meta) && !isSuccess_GmStatusCode(statusCode) ? get_GmError(statusCode)->title : cstr_String(&resp->meta)); @@ -3029,8 +3038,8 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) if (!isSuccess_GmStatusCode(status_GmRequest(d->request))) { /* TODO: Why is this here? Can it be removed? */ format_String(&d->sourceHeader, - "%d %s", - status_GmRequest(d->request), + "%s%s", + humanReadableStatusCode_(status_GmRequest(d->request)), cstr_String(meta_GmRequest(d->request))); } updateFetchProgress_DocumentWidget_(d); -- 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(+) 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 b46ee83973cc6d755637423200ac15ad6846ece0 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 10 Nov 2021 16:35:54 +0200 Subject: Fixed URL encoding of plus characters The Gemini specifications says to encode RFC3986's reserved characters in URLs, but that didn't apply to plus characters in the "canonical" form. --- src/gmutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gmutil.c b/src/gmutil.c index ee8f150a..e0792d69 100644 --- a/src/gmutil.c +++ b/src/gmutil.c @@ -658,14 +658,14 @@ const iString *canonicalUrl_String(const iString *d) { /* This is done separately to avoid the copy if %3A is not present; it's rare. */ canon = copy_String(d); urlDecodePath_String(canon); - iString *dec = maybeUrlDecodeExclude_String(canon, "%/?:;#&= "); /* decode everything else in all parts */ + iString *dec = maybeUrlDecodeExclude_String(canon, "%/?:;#&+= "); /* decode everything else in all parts */ if (dec) { set_String(canon, dec); delete_String(dec); } } else { - canon = maybeUrlDecodeExclude_String(d, "%/?:;#&= "); + canon = maybeUrlDecodeExclude_String(d, "%/?:;#&+= "); } /* `canon` may now be NULL if nothing was decoded. */ if (indexOfCStr_String(canon ? canon : d, " ") != iInvalidPos || -- 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(+) 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 eed83717b6125ba655be9ffd618f301ef97948b2 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 12 Nov 2021 06:43:03 +0200 Subject: Fixed crash if "open" command has no "url" IssueID #385 --- src/app.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app.c b/src/app.c index 63a286f8..148bba52 100644 --- a/src/app.c +++ b/src/app.c @@ -2626,7 +2626,11 @@ iBool handleCommand_App(const char *cmd) { return iTrue; } else if (equal_Command(cmd, "open")) { - iString *url = collectNewCStr_String(suffixPtr_Command(cmd, "url")); + const char *urlArg = suffixPtr_Command(cmd, "url"); + if (!urlArg) { + return iTrue; /* invalid command */ + } + iString *url = collectNewCStr_String(urlArg); const iBool noProxy = argLabel_Command(cmd, "noproxy") != 0; const iBool fromSidebar = argLabel_Command(cmd, "fromsidebar") != 0; iUrl parts; -- cgit v1.2.3 From dc4185b6cb5a5e12604d2910830061b5a4a0fd9a Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 12 Nov 2021 07:12:48 +0200 Subject: FontPack: Font dropdown includes IDs if ambiguous If some fonts have the same human-readable name, the unique font ID will be added to show which font it actually is. --- src/fontpack.c | 21 ++++++++++++++++++++- src/ui/text.c | 2 +- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/fontpack.c b/src/fontpack.c index c12b2ddc..bbf1833e 100644 --- a/src/fontpack.c +++ b/src/fontpack.c @@ -550,6 +550,21 @@ static void sortSpecs_Fonts_(iFonts *d) { sort_Array(&d->specOrder, cmpPriority_FontSpecPtr_); } +static void disambiguateSpecs_Fonts_(iFonts *d) { + /* Names of specs with the same human-readable label are augmented with the font ID. */ + const size_t numSpecs = size_PtrArray(&d->specOrder); + for (size_t i = 0; i < numSpecs; i++) { + iFontSpec *spec1 = at_PtrArray(&d->specOrder, i); + for (size_t j = i + 1; j < numSpecs; j++) { + iFontSpec *spec2 = at_PtrArray(&d->specOrder, j); + if (equalCase_String(&spec1->name, &spec2->name)) { + appendFormat_String(&spec1->name, " [%s]", cstr_String(&spec1->id)); + appendFormat_String(&spec2->name, " [%s]", cstr_String(&spec2->id)); + } + } + } +} + static const iString *userFontsDirectory_Fonts_(const iFonts *d) { return collect_String(concatCStr_Path(&d->userDir, "fonts")); } @@ -677,8 +692,12 @@ void init_Fonts(const char *userDir) { pushBack_PtrArray(&d->packs, pack); } } - } + } sortSpecs_Fonts_(d); + disambiguateSpecs_Fonts_(d); +#if !defined (NDEBUG) + printf("[FontPack] %zu fonts available\n", size_Array(&d->specOrder)); +#endif } void deinit_Fonts(void) { diff --git a/src/ui/text.c b/src/ui/text.c index 46e355d7..abe8640c 100644 --- a/src/ui/text.c +++ b/src/ui/text.c @@ -338,7 +338,7 @@ static void initFonts_Text_(iText *d) { } } #if !defined (NDEBUG) - printf("[Text] %zu fonts ready\n", size_Array(&d->fonts)); + printf("[Text] %zu font variants ready\n", size_Array(&d->fonts)); #endif gap_Text = iRound(gap_UI * d->contentFontSize); } -- 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(+) 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 1280dc199700cc6622a8fbd0ff8ad2a1332a83bc Mon Sep 17 00:00:00 2001 From: Wally Hackenslacker Date: Mon, 8 Nov 2021 22:20:42 +0000 Subject: Translated using Weblate (Spanish) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/es/ --- po/es.po | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/po/es.po b/po/es.po index c8537b45..cc762216 100644 --- a/po/es.po +++ b/po/es.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-02 23:51+0000\n" +"PO-Revision-Date: 2021-11-10 04:50+0000\n" "Last-Translator: Wally Hackenslacker \n" "Language-Team: Spanish \n" "Language: es\n" @@ -779,14 +779,14 @@ msgstr "Nueva pestaña" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "%zu byte" -msgstr[1] "%zu bytes" +msgstr[0] "%u byte" +msgstr[1] "%u bytes" #, c-format msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "Usado en %zu URL" -msgstr[1] "Usado en %zu URLs" +msgstr[0] "Usado en %u URL" +msgstr[1] "Usado en %u URLs" #, c-format msgid "dlg.import.found" @@ -1406,14 +1406,14 @@ msgstr "Entradas de las suscripciones" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "Está suscrito a %zu suscripción que contiene %%s.\n" -msgstr[1] "Está suscrito a %zu suscripciones que contienen %%s.\n" +msgstr[0] "Está suscrito a %u suscripción que contiene %%s.\n" +msgstr[1] "Está suscrito a %u suscripciones que contienen %%s.\n" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "un total de %zu entrada" -msgstr[1] "un total de %zu entradas" +msgstr[0] "un total de %u entrada" +msgstr[1] "un total de %u entradas" msgid "feeds.list.refreshtime.now" msgstr "La última actualización ocurrió hace un momento." @@ -1580,14 +1580,14 @@ msgstr "Salir del archivo" #, c-format msgid "archive.summary" msgid_plural "archive.summary.n" -msgstr[0] "Este archivo contiene %zu item y su tamaño comprimido es de %.1f MB." -msgstr[1] "Este archivo contiene %zu items y su tamaño comprimido es de %.1f MB." +msgstr[0] "Este archivo contiene %u item y su tamaño comprimido es de %.1f MB." +msgstr[1] "Este archivo contiene %u items y su tamaño comprimido es de %.1f MB." #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "Este directorio contiene %zu item." -msgstr[1] "Este directorio contiene %zu items." +msgstr[0] "Este directorio contiene %u item." +msgstr[1] "Este directorio contiene %u items." msgid "keys.tab.close.other" msgstr "Cerrar otras pestañas" @@ -2059,13 +2059,13 @@ msgstr "Administrar Fuentes…" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu archivo" -msgstr[1] "%zu archivos" +msgstr[0] "%u archivo" +msgstr[1] "%u archivos" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu fuente" -msgstr[1] "%zu fuentes" +msgstr[0] "%u fuente" +msgstr[1] "%u fuentes" msgid "dlg.certwarn.title" msgstr "Incidencia de Seguridad" @@ -2129,3 +2129,9 @@ msgstr "BORRAR PAQUETE DE FUENTES" msgid "lang.uk" msgstr "Ucraniano" + +msgid "lang.cs" +msgstr "Checo" + +msgid "lang.hu" +msgstr "Húngaro" -- cgit v1.2.3 From 0dc11d9bb2f4681a25bb30798f4cf941562ae04f Mon Sep 17 00:00:00 2001 From: Olga Smirnova Date: Tue, 9 Nov 2021 04:05:11 +0000 Subject: Translated using Weblate (Occidental) Currently translated at 98.7% (619 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/ie/ --- po/ie.po | 74 ++++++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 54 insertions(+), 20 deletions(-) diff --git a/po/ie.po b/po/ie.po index edb4cad8..23fa0735 100644 --- a/po/ie.po +++ b/po/ie.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-06 04:30+0000\n" +"PO-Revision-Date: 2021-11-10 04:50+0000\n" "Last-Translator: Olga Smirnova \n" "Language-Team: Occidental \n" @@ -259,14 +259,14 @@ msgstr "" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "%zu octete" -msgstr[1] "%zu octetes" +msgstr[0] "%u octete" +msgstr[1] "%u octetes" #, c-format msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "Usat por %zu URL" -msgstr[1] "Usat por %zu URLs" +msgstr[0] "Usat por %u URL" +msgstr[1] "Usat por %u URLs" msgid "error.cert.invalid.msg" msgstr "Li providet certificate de cliente es expirat o ínvalid." @@ -1025,9 +1025,7 @@ msgstr "REMOVER LI IDENTITÁ" #, c-format msgid "dlg.confirm.ident.delete" msgstr "" -"Esque vu vole remover li identitá\n" -"%s%s%s\n" -"con su certificate e clave privat?" +"Esque vu vole remover li identitá %s«%s»%s con su certificate e clave privat?" msgid "dlg.ident.delete" msgstr "Remover li identitá e files" @@ -1343,14 +1341,14 @@ msgstr "Serbian" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "Vu abonat %zu feed quel contene %%s.\n" -msgstr[1] "Vu abonat %zu feedes quel contene %%s.\n" +msgstr[0] "Vu abonat %u feed quel contene %%s.\n" +msgstr[1] "Vu abonat %u feedes quel contene %%s.\n" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "%zu element in tot" -msgstr[1] "%zu elementes in tot" +msgstr[0] "%u element in tot" +msgstr[1] "%u elementes in tot" #, c-format msgid "minutes.ago" @@ -1542,14 +1540,14 @@ msgstr "On posse leer ti libre Gempub pos que it ha esset gardat localmen." #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "Ti fólder contene %zu element." -msgstr[1] "Ti fólder contene %zu elementes." +msgstr[0] "Ti fólder contene %u element." +msgstr[1] "Ti fólder contene %u elementes." #, c-format msgid "archive.summary" msgid_plural "archive.summary.n" -msgstr[0] "Ti archive contene %zu element e su compresset grandore es %.1f Mo." -msgstr[1] "Ti archive contene %zu elementes e su compresset grandore es %.1f Mo." +msgstr[0] "Ti archive contene %u element e su compresset grandore es %.1f Mo." +msgstr[1] "Ti archive contene %u elementes e su compresset grandore es %.1f Mo." msgid "link.side" msgstr "Aperter li ligament láteralmen" @@ -1963,13 +1961,13 @@ msgstr "Avise de glifes:" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu file" -msgstr[1] "%zu files" +msgstr[0] "%u file" +msgstr[1] "%u files" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu fonde" -msgstr[1] "%zu fondes" +msgstr[0] "%u fonde" +msgstr[1] "%u fondes" msgid "heading.fontpack.classic" msgstr "DESCARGAR UN FONDPAC" @@ -2065,3 +2063,39 @@ msgstr "Activar «%s»" msgid "lang.cs" msgstr "Tchec" + +msgid "prefs.font.smooth" +msgstr "Glattar:" + +msgid "bookmark.export.taginfo" +msgstr "" +"In ti-ci liste chascun rubrica representa un etiquette de marca-págines. " +"Solmen marca-págines con un etiquette es monstrat. Marca-págines con " +"multiplic etiquettes es duplicat sub chascun etiquette." + +msgid "error.glyphs.msg" +msgstr "" +"Ti-ci págine ne es monstrat completmen pro que alcun caracteres es mancant. " +"On posse installar suplementari fondes por correcter to." + +msgid "truetype.help" +msgstr "" +"Lagrange pena cargar omni files de fondes TrueType quel esset copiat al " +"fólder de personal fondes." + +msgid "fontpack.help" +msgstr "" +"Fondpacs de Lagrange es archives ZIP quel contene files de fondes e li " +"associat configuration. Pos li installation, on posse usar ti fondes por " +"contenete de documentes e li interfacie. On posse selecter li activ fondes " +"in Preferenties > Fondes." + +msgid "bookmark.export.format.sub" +msgstr "" +"Ti-ci págine es formatat secun li specification suplementari «Subscribing to " +"Gemini pages»." + +msgid "feeds.atom.translated" +msgstr "" +"Ti document Atom XML esset convertet in un feed de Gemini por que on vell " +"posse abonnar it." -- cgit v1.2.3 From efa47bab6e95ecd15e1f2cb70475b2450df9b388 Mon Sep 17 00:00:00 2001 From: Страхиња Радић Date: Sun, 7 Nov 2021 18:44:35 +0000 Subject: Translated using Weblate (Serbian) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/sr/ --- po/sr.po | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/po/sr.po b/po/sr.po index 7cb646bf..8a6d36d8 100644 --- a/po/sr.po +++ b/po/sr.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-06 04:30+0000\n" +"PO-Revision-Date: 2021-11-10 04:50+0000\n" "Last-Translator: Страхиња Радић \n" "Language-Team: Serbian \n" "Language: sr\n" @@ -193,9 +193,9 @@ msgstr "КБ" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "%zu бајт" -msgstr[1] "%zu бајта" -msgstr[2] "%zu бајтова" +msgstr[0] "%u бајт" +msgstr[1] "%u бајта" +msgstr[2] "%u бајтова" # strftime() formatted #, c-format @@ -1191,9 +1191,9 @@ msgstr "Икона за \"" #, c-format msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "Користи се на %zu УРЛ-у" -msgstr[1] "Користи се на %zu УРЛ-а" -msgstr[2] "Користи се на %zu УРЛ-ова" +msgstr[0] "Користи се на %u УРЛ-у" +msgstr[1] "Користи се на %u УРЛ-а" +msgstr[2] "Користи се на %u УРЛ-ова" msgid "prefs.plaintext.wrap" msgstr "Прелом чистог текста:" @@ -1356,16 +1356,16 @@ msgstr "Интерлингве" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "Претплаћени сте на %zu фид који садржи %%s.\n" -msgstr[1] "Претплаћени сте на %zu фида који садрже %%s.\n" -msgstr[2] "Претплаћени сте на %zu фидова који садрже %%s.\n" +msgstr[0] "Претплаћени сте на %u фид који садржи %%s.\n" +msgstr[1] "Претплаћени сте на %u фида који садрже %%s.\n" +msgstr[2] "Претплаћени сте на %u фидова који садрже %%s.\n" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "укупно %zu ставку" -msgstr[1] "укупно %zu ставке" -msgstr[2] "укупно %zu ставки" +msgstr[0] "укупно %u ставку" +msgstr[1] "укупно %u ставке" +msgstr[2] "укупно %u ставки" #, c-format msgid "minutes.ago" @@ -1594,9 +1594,9 @@ msgstr "У десној картици" #, c-format msgid "archive.summary" msgid_plural "archive.summary.n" -msgstr[0] "Ова архива садржи %zu ставку, а њена компресована величина је %.1f МБ." -msgstr[1] "Ова архива садржи %zu ставке, а њена компресована величина је %.1f МБ." -msgstr[2] "Ова архива садржи %zu ставки, а њена компресована величина је %.1f МБ." +msgstr[0] "Ова архива садржи %u ставку, а њена компресована величина је %.1f МБ." +msgstr[1] "Ова архива садржи %u ставке, а њена компресована величина је %.1f МБ." +msgstr[2] "Ова архива садржи %u ставки, а њена компресована величина је %.1f МБ." msgid "archive.exit" msgstr "Изађи из архиве" @@ -1607,9 +1607,9 @@ msgstr "Овај директоријум је празан." #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "Овај директоријум садржи %zu ставку." -msgstr[1] "Овај директоријум садржи %zu ставке." -msgstr[2] "Овај директоријум садржи %zu ставки." +msgstr[0] "Овај директоријум садржи %u ставку." +msgstr[1] "Овај директоријум садржи %u ставке." +msgstr[2] "Овај директоријум садржи %u ставки." msgid "keys.tab.close.other" msgstr "Затварање осталих картица" @@ -1996,15 +1996,15 @@ msgstr "Управљај фонтовима…" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu фонт" -msgstr[1] "%zu фонта" -msgstr[2] "%zu фонтова" +msgstr[0] "%u фонт" +msgstr[1] "%u фонта" +msgstr[2] "%u фонтова" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu датотека" -msgstr[1] "%zu датотеке" -msgstr[2] "%zu датотека" +msgstr[0] "%u датотека" +msgstr[1] "%u датотеке" +msgstr[2] "%u датотека" msgid "dlg.certwarn.title" msgstr "Безбедносни проблем" -- cgit v1.2.3 From 3b16fa5871c0da15426c18b160851eedaa4b01cb Mon Sep 17 00:00:00 2001 From: Xosé M Date: Tue, 9 Nov 2021 04:42:10 +0000 Subject: Translated using Weblate (Galician) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/gl/ --- po/gl.po | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/po/gl.po b/po/gl.po index ea1bb6f7..53ef9a25 100644 --- a/po/gl.po +++ b/po/gl.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-02 23:51+0000\n" +"PO-Revision-Date: 2021-11-10 04:50+0000\n" "Last-Translator: Xosé M. \n" "Language-Team: Galician " "\n" @@ -203,13 +203,13 @@ msgstr "Hz" # Used in about:feeds. msgid "feeds.list.title" -msgstr "Entradas da fonte" +msgstr "Artigos das Fontes" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "un total de %zu entrada" -msgstr[1] "un total de %zu entradas" +msgstr[0] "un total de %u entrada" +msgstr[1] "un total de %u entradas" msgid "feeds.list.refreshtime.now" msgstr "A última actualización fíxose hai xusto un intre." @@ -355,7 +355,7 @@ msgid "macos.menu.bookmarks.bytime" msgstr "Lista por Data de creación" msgid "menu.feeds.entrylist" -msgstr "Mostrar entrada da Fonte" +msgstr "Ver Artigos das Fontes" msgid "menu.preferences" msgstr "Preferencias…" @@ -501,8 +501,8 @@ msgstr "KB" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "%zu byte" -msgstr[1] "%zu bytes" +msgstr[0] "%u byte" +msgstr[1] "%u bytes" # strftime() formatted #, c-format @@ -610,8 +610,8 @@ msgstr "Non utilizado" #, c-format msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "Utilizado en %zu URL" -msgstr[1] "Utilizado en %zu URLs" +msgstr[0] "Utilizado en %u URL" +msgstr[1] "Utilizado en %u URLs" msgid "ident.temporary" msgstr "Temporalmente" @@ -1389,8 +1389,8 @@ msgstr "Xénero" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "Estás subscrita a %zu fonte que contén %%s.\n" -msgstr[1] "Estás subscrita a %zu fontes que conteñen %%s.\n" +msgstr[0] "Estás subscrita a %u fonte que contén %%s.\n" +msgstr[1] "Estás subscrita a %u fontes que conteñen %%s.\n" #, c-format msgid "hours.ago" @@ -1532,8 +1532,8 @@ msgstr "Reter situación:" #, c-format msgid "archive.summary" msgid_plural "archive.summary.n" -msgstr[0] "Este arquivo contén %zu elemento e o seu tamaño comprimido é %.1f MB." -msgstr[1] "Este arquivo contén %zu elementos e o seu tamaño comprimido é %.1f MB." +msgstr[0] "Este arquivo contén %u elemento e o seu tamaño comprimido é %.1f MB." +msgstr[1] "Este arquivo contén %u elementos e o seu tamaño comprimido é %.1f MB." msgid "dir.empty" msgstr "O directorio está baleiro." @@ -1541,8 +1541,8 @@ msgstr "O directorio está baleiro." #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "O directorio contén %zu elemento." -msgstr[1] "O directorio contén %zu elementos." +msgstr[0] "O directorio contén %u elemento." +msgstr[1] "O directorio contén %u elementos." msgid "keys.top" msgstr "Ir arriba" @@ -1937,13 +1937,13 @@ msgstr "Esperanto" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu ficheiro" -msgstr[1] "%zu ficheiros" +msgstr[0] "%u ficheiro" +msgstr[1] "%u ficheiros" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu tipografía" -msgstr[1] "%zu tipografías" +msgstr[0] "%u tipografía" +msgstr[1] "%u tipografías" msgid "heading.fontpack.classic" msgstr "DESCARGAR PAQUETE TIPOGRAFÍA" @@ -2119,3 +2119,9 @@ msgstr "Desbotar aviso" msgid "lang.uk" msgstr "Ucraniano" + +msgid "lang.cs" +msgstr "Checo" + +msgid "lang.hu" +msgstr "Húngaro" -- cgit v1.2.3 From f59bbb530c661263f148d93111ae76ec8003188f Mon Sep 17 00:00:00 2001 From: Tadeáš Erban Date: Sun, 7 Nov 2021 09:23:17 +0000 Subject: Translated using Weblate (Czech) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/cs/ --- po/cs.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/po/cs.po b/po/cs.po index b8736f8e..faa4b1f6 100644 --- a/po/cs.po +++ b/po/cs.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-06 04:44+0000\n" -"Last-Translator: Weblate Admin \n" +"PO-Revision-Date: 2021-11-10 04:50+0000\n" +"Last-Translator: Tadeáš Erban \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" @@ -382,7 +382,7 @@ msgstr "Ukázat kanály" # Used in the View menu on macOS. Shows sidebar and switches sidebar tab. msgid "menu.show.outline" -msgstr "Ukázat obrys stránky" +msgstr "Ukázat rozložení stránky" msgid "menu.back" msgstr "Jít zpět" @@ -1427,7 +1427,7 @@ msgstr "Přepnout zaměření na následující polovinu" # tab button msgid "heading.prefs.interface" -msgstr "Uživatelské rozhraní" +msgstr "Rozhraní" # tab button msgid "heading.prefs.keys" @@ -1461,7 +1461,7 @@ msgstr "Styl" # tab button msgid "heading.prefs.userinterface" -msgstr "Uživatelské rozhraní" +msgstr "Rozhraní" msgid "prefs.downloads" msgstr "Složka stažených souborů:" @@ -1544,10 +1544,10 @@ msgid "prefs.imagestyle.bgfg" msgstr "Pozadí do popředí" msgid "prefs.imagestyle.text" -msgstr "Barva textu" +msgstr "Do barvy textu" msgid "prefs.imagestyle.preformat" -msgstr "Barva předformátovaného textu" +msgstr "Do barvy předformátovaného textu" msgid "prefs.font.ui" msgstr "Rozhraní:" -- cgit v1.2.3 From 94c9415022fa9a2d82a7cc33aa45cfc61f1c1d5f Mon Sep 17 00:00:00 2001 From: Alyssa Liddell Date: Sat, 6 Nov 2021 10:32:05 +0000 Subject: Translated using Weblate (Ukrainian) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/uk/ --- po/uk.po | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/po/uk.po b/po/uk.po index 902c2ab2..9e360eeb 100644 --- a/po/uk.po +++ b/po/uk.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-06 04:30+0000\n" +"PO-Revision-Date: 2021-11-10 04:50+0000\n" "Last-Translator: Alyssa Liddell \n" "Language-Team: Ukrainian " "\n" @@ -59,9 +59,9 @@ msgstr "Гц" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "загалом %zu допис" -msgstr[1] "загалом %zu дописи" -msgstr[2] "загалом %zu дописів" +msgstr[0] "загалом %u допис" +msgstr[1] "загалом %u дописи" +msgstr[2] "загалом %u дописів" #, c-format msgid "feeds.list.refreshtime" @@ -310,9 +310,9 @@ msgstr "МБ/с" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "%zu байт" -msgstr[1] "%zu байти" -msgstr[2] "%zu байтів" +msgstr[0] "%u байт" +msgstr[1] "%u байти" +msgstr[2] "%u байтів" # strftime() formatted #, c-format @@ -368,9 +368,9 @@ msgstr "Записи стрічки новин" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "Ви підписані на %zu стрічку, що містить %%s.\n" -msgstr[1] "Ви підписані на %zu стрічки, що містять %%s.\n" -msgstr[2] "Ви підписані на %zu стрічок, що містять %%s.\n" +msgstr[0] "Ви підписані на %u стрічку, що містить %%s.\n" +msgstr[1] "Ви підписані на %u стрічки, що містять %%s.\n" +msgstr[2] "Ви підписані на %u стрічок, що містять %%s.\n" msgid "feeds.list.refreshtime.now" msgstr "Востаннє оновлено мить тому." @@ -542,7 +542,7 @@ msgstr[2] "На сторінці знайдено %d нових посилань #, c-format msgid "dlg.import.add" msgid_plural "dlg.import.add.n" -msgstr[0] "%sДодати закладку" +msgstr[0] "%sДодати %d закладку" msgstr[1] "%sДодати %d закладки" msgstr[2] "%sДодати %d закладок" @@ -912,9 +912,9 @@ msgstr "Використовується на цій сторінці" #, c-format msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "Використовується на %zu URL" -msgstr[1] "Використовується на %zu URL" -msgstr[2] "Використовується на %zu URL" +msgstr[0] "Використовується на %u URL" +msgstr[1] "Використовується на %u URL" +msgstr[2] "Використовується на %u URL" msgid "ident.stopuse" msgstr "Припинити використання на цій сторінці" @@ -1580,9 +1580,9 @@ msgstr "Gemini-проксі:" #, c-format msgid "archive.summary" msgid_plural "archive.summary.n" -msgstr[0] "Архів містить %zu елемент, а його стиснутий розмір %.1f МБ." -msgstr[1] "Архів містить %zu елементи, а його стиснутий розмір %.1f МБ." -msgstr[2] "Архів містить %zu елементів, а його стиснутий розмір %.1f МБ." +msgstr[0] "Архів містить %u елемент, а його стиснутий розмір %.1f МБ." +msgstr[1] "Архів містить %u елементи, а його стиснутий розмір %.1f МБ." +msgstr[2] "Архів містить %u елементів, а його стиснутий розмір %.1f МБ." msgid "keys.scroll.down" msgstr "Прокрутити донизу" @@ -1724,9 +1724,9 @@ msgstr "Цей каталог порожній." #, c-format msgid "dir.summary" msgid_plural "dir.summary.n" -msgstr[0] "Каталог містить %zu об'єкт." -msgstr[1] "Каталог містить %zu об'єкти." -msgstr[2] "Каталог містить %zu об'єктів." +msgstr[0] "Каталог містить %u об'єкт." +msgstr[1] "Каталог містить %u об'єкти." +msgstr[2] "Каталог містить %u об'єктів." msgid "keys.top" msgstr "На початок" @@ -1996,15 +1996,15 @@ msgstr "Керування шрифтами…" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu файл" -msgstr[1] "%zu файли" -msgstr[2] "%zu файлів" +msgstr[0] "%u файл" +msgstr[1] "%u файли" +msgstr[2] "%u файлів" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu шрифт" -msgstr[1] "%zu шрифти" -msgstr[2] "%zu шрифтів" +msgstr[0] "%u шрифт" +msgstr[1] "%u шрифти" +msgstr[2] "%u шрифтів" msgid "dlg.certwarn.title" msgstr "Проблема з сертифікатом безпеки" -- cgit v1.2.3 From e285eca30d7b8af47529baec5b8add3a10ad70cd Mon Sep 17 00:00:00 2001 From: Tadeáš Erban Date: Wed, 10 Nov 2021 09:23:29 +0000 Subject: Translated using Weblate (Czech) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/cs/ --- po/cs.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/cs.po b/po/cs.po index faa4b1f6..c94703b8 100644 --- a/po/cs.po +++ b/po/cs.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-10 04:50+0000\n" +"PO-Revision-Date: 2021-11-11 16:50+0000\n" "Last-Translator: Tadeáš Erban \n" "Language-Team: Czech \n" "Language: cs\n" @@ -1274,7 +1274,7 @@ msgid "keys.tab.new" msgstr "Nová karta" msgid "keys.split.item" -msgstr "Nabídka rozděleného pohledu:" +msgstr "Nabídka rozpůleného pohledu:" msgid "error.tls.msg" msgstr "Nepodařilo se komunikovat se serverem." @@ -1405,7 +1405,7 @@ msgstr "" "• 2021-12-31 23:59:59" msgid "keys.split.menu" -msgstr "Nastavit režim rozděleného pohledu" +msgstr "Nastavit režim rozpůleného okna" msgid "heading.feedcfg" msgstr "NASTAVENÍ KANÁLU" -- cgit v1.2.3 From 4e6aacfc8ffc1005840d04faa253749760eee5c2 Mon Sep 17 00:00:00 2001 From: Botond Balázs Date: Wed, 10 Nov 2021 16:11:10 +0000 Subject: Translated using Weblate (Hungarian) Currently translated at 100.0% (627 of 627 strings) Translation: Lagrange/User Interface Translate-URL: http://weblate.skyjake.fi/projects/lagrange/ui/hu/ --- po/hu.po | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/po/hu.po b/po/hu.po index 0dbf0bda..453b7b07 100644 --- a/po/hu.po +++ b/po/hu.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: jaakko.keranen@iki.fi\n" -"PO-Revision-Date: 2021-11-04 20:09+0000\n" +"PO-Revision-Date: 2021-11-11 16:50+0000\n" "Last-Translator: Botond Balázs \n" "Language-Team: Hungarian " "\n" @@ -119,8 +119,8 @@ msgstr "Hírfolyam bejegyzései" #, c-format msgid "feeds.list.entrycount" msgid_plural "feeds.list.entrycount.n" -msgstr[0] "összesen %zu bejegyzés" -msgstr[1] "összesen %zu bejegyzés" +msgstr[0] "összesen %u bejegyzés" +msgstr[1] "összesen %u bejegyzés" msgid "feeds.list.refreshtime.now" msgstr "Az utolsó frissítés pillanatokkal ezelőtt történt." @@ -420,18 +420,18 @@ msgstr "KB" msgid "num.bytes" msgid_plural "num.bytes.n" -msgstr[0] "%zu bájt" -msgstr[1] "%zu bájt" +msgstr[0] "%u bájt" +msgstr[1] "%u bájt" msgid "num.files" msgid_plural "num.files.n" -msgstr[0] "%zu fájl" -msgstr[1] "%zu fájl" +msgstr[0] "%u fájl" +msgstr[1] "%u fájl" msgid "num.fonts" msgid_plural "num.fonts.n" -msgstr[0] "%zu betűtípus" -msgstr[1] "%zu betűtípus" +msgstr[0] "%u betűtípus" +msgstr[1] "%u betűtípus" # strftime() formatted #, c-format @@ -524,8 +524,8 @@ msgstr "Nincs használatban" #, c-format msgid "ident.usedonurls" msgid_plural "ident.usedonurls.n" -msgstr[0] "%zu URL-en használva" -msgstr[1] "%zu URL-en használva" +msgstr[0] "%u URL-en használva" +msgstr[1] "%u URL-en használva" msgid "ident.temporary" msgstr "Ideiglenes" @@ -1259,7 +1259,7 @@ msgstr "Ez a mappa üres." msgid "dir.summary" msgid_plural "dir.summary.n" msgstr[0] "Ez a könyvtár egy elemet tartalmaz." -msgstr[1] "Ez a könyvtár %zu elemet tartalmaz." +msgstr[1] "Ez a könyvtár %u elemet tartalmaz." msgid "keys.top" msgstr "Ugrás az oldal tetejére" @@ -1556,8 +1556,8 @@ msgstr "lebegőpontos szám" #, c-format msgid "feeds.list.counts" msgid_plural "feeds.list.counts.n" -msgstr[0] "%zu hírfolyamra iratkozott fel, amely %%st tartalmaz.\n" -msgstr[1] "%zu hírfolyamra iratkozott fel, amelyek %%st tartalmaznak.\n" +msgstr[0] "%u hírfolyamra iratkozott fel, amely %%st tartalmaz.\n" +msgstr[1] "%u hírfolyamra iratkozott fel, amelyek %%st tartalmaznak.\n" #, c-format msgid "hours.ago" @@ -1987,7 +1987,7 @@ msgstr "Alapértékek visszaállítása" msgid "archive.summary" msgid_plural "archive.summary.n" msgstr[0] "Ez az archívum egy elemet tartalmaz, és %.1f MB méretű." -msgstr[1] "Ez az archívum %zu elemet tartalmaz, és %.1f méretű." +msgstr[1] "Ez az archívum %u elemet tartalmaz, és %.1f méretű." msgid "keys.scroll.halfpage.up" msgstr "Görgetés fél oldallal feljebb" @@ -2112,3 +2112,6 @@ msgstr "Szerző" msgid "lang.hu" msgstr "Magyar" + +msgid "lang.cs" +msgstr "Cseh" -- 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(-) 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 From 4b199f687a4c95f252068b2eee44b3fdc65bb467 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 13 Nov 2021 06:14:04 +0200 Subject: Updated language strings --- res/lang/cs.bin | Bin 30722 -> 30703 bytes res/lang/es.bin | Bin 29552 -> 29535 bytes res/lang/gl.bin | Bin 28742 -> 28724 bytes res/lang/hu.bin | Bin 30562 -> 30547 bytes res/lang/ie.bin | Bin 28408 -> 28462 bytes res/lang/sr.bin | Bin 43322 -> 43298 bytes res/lang/uk.bin | Bin 43200 -> 43179 bytes 7 files changed, 0 insertions(+), 0 deletions(-) diff --git a/res/lang/cs.bin b/res/lang/cs.bin index eff677ba..d0dcabcd 100644 Binary files a/res/lang/cs.bin and b/res/lang/cs.bin differ diff --git a/res/lang/es.bin b/res/lang/es.bin index 04dc9125..edd37672 100644 Binary files a/res/lang/es.bin and b/res/lang/es.bin differ diff --git a/res/lang/gl.bin b/res/lang/gl.bin index 3e64a503..23d9e952 100644 Binary files a/res/lang/gl.bin and b/res/lang/gl.bin differ diff --git a/res/lang/hu.bin b/res/lang/hu.bin index 44ca3a37..1470aea2 100644 Binary files a/res/lang/hu.bin and b/res/lang/hu.bin differ diff --git a/res/lang/ie.bin b/res/lang/ie.bin index 3510c8b5..19687852 100644 Binary files a/res/lang/ie.bin and b/res/lang/ie.bin differ diff --git a/res/lang/sr.bin b/res/lang/sr.bin index 56c08062..12cc399f 100644 Binary files a/res/lang/sr.bin and b/res/lang/sr.bin differ diff --git a/res/lang/uk.bin b/res/lang/uk.bin index d949ca9d..9e19b644 100644 Binary files a/res/lang/uk.bin and b/res/lang/uk.bin differ -- cgit v1.2.3 From 04eedcbe096755771d9f85eac6b23dc0c715eee9 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 13 Nov 2021 06:22:13 +0200 Subject: Updated AppData --- res/fi.skyjake.Lagrange.appdata.xml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/res/fi.skyjake.Lagrange.appdata.xml b/res/fi.skyjake.Lagrange.appdata.xml index 29163a04..ded7d564 100644 --- a/res/fi.skyjake.Lagrange.appdata.xml +++ b/res/fi.skyjake.Lagrange.appdata.xml @@ -45,13 +45,38 @@ jaakko.keranen@iki.fi + + +

Version 1.8 adds a customizable font library and improves warning + and errors messages. The bundled hardcoded fonts have been + removed, and font configuration is now more flexible. Tabs have + close buttons that appear on mouse hover.

+

Changes in v1.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 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.
  • +
+

The full release notes can be viewed inside the app by opening + the "about:version" page.

+
+ https://github.com/skyjake/lagrange/releases/tag/v1.8.2 +

Version 1.8 adds a customizable font library and improves warning and errors messages. The bundled hardcoded fonts have been removed, and font configuration is now more flexible. Tabs have - close buttons that appear on mouse hover. Added a Ukrainian UI - translation.

+ close buttons that appear on mouse hover.

Changes in v1.8.1:

  • Added UI translations: Hungarian, Czech.
  • -- cgit v1.2.3 From a8aab5ebf95ff9ba3fdcfd1ca58f8b8ec082a680 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 13 Nov 2021 06:23:26 +0200 Subject: Updated the_Foundation: v1.0.1 --- lib/the_Foundation | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/the_Foundation b/lib/the_Foundation index 9554ca7c..4b02d81e 160000 --- a/lib/the_Foundation +++ b/lib/the_Foundation @@ -1 +1 @@ -Subproject commit 9554ca7cc8b26c328d870760f3aaac4e701ba7ed +Subproject commit 4b02d81ef7c74b6221ad6465fe4da2ecf0986136 -- cgit v1.2.3 From 67b17bbaf6c51bb8b26aed304dca736997f02b51 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 13 Nov 2021 06:35:14 +0200 Subject: Updated AppData: XML schema error --- res/fi.skyjake.Lagrange.appdata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/fi.skyjake.Lagrange.appdata.xml b/res/fi.skyjake.Lagrange.appdata.xml index ded7d564..971c1f43 100644 --- a/res/fi.skyjake.Lagrange.appdata.xml +++ b/res/fi.skyjake.Lagrange.appdata.xml @@ -53,7 +53,7 @@ close buttons that appear on mouse hover.

    Changes in v1.8.2:

      -
    • Fixed encoding of + characters in URLs as per +
    • Fixed encoding of + characters in URLs as per RFC 3986.
    • Fixed crash when fontpack.ini specifies a file that cannot be found.
    • -- cgit v1.2.3 From 00b9e0349b670255f0c487cace27c16900ad6a5d Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 13 Nov 2021 06:49:33 +0200 Subject: Updated AppData --- res/fi.skyjake.Lagrange.appdata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/fi.skyjake.Lagrange.appdata.xml b/res/fi.skyjake.Lagrange.appdata.xml index 971c1f43..7cb12f2e 100644 --- a/res/fi.skyjake.Lagrange.appdata.xml +++ b/res/fi.skyjake.Lagrange.appdata.xml @@ -53,7 +53,7 @@ close buttons that appear on mouse hover.

      Changes in v1.8.2:

        -
      • Fixed encoding of + characters in URLs as per +
      • Fixed encoding of `+` characters in URLs as per RFC 3986.
      • Fixed crash when fontpack.ini specifies a file that cannot be found.
      • -- cgit v1.2.3 From 4353f75e9c98664d214ed22ac551670aab158442 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 13 Nov 2021 07:18:06 +0200 Subject: DocumentWidget: Fixed appearance of Trust button --- src/ui/documentwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 448398b1..49ac9fb5 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c @@ -2843,9 +2843,9 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) const char *unchecked = red_ColorEscape "\u2610"; const char *checked = green_ColorEscape "\u2611"; const iBool haveFingerprint = (d->certFlags & haveFingerprint_GmCertFlag) != 0; - const iBool canTrust = - (d->certFlags == (available_GmCertFlag | haveFingerprint_GmCertFlag | - timeVerified_GmCertFlag /* | domainVerified_GmCertFlag*/)); + const int requiredForTrust = (available_GmCertFlag | haveFingerprint_GmCertFlag | + timeVerified_GmCertFlag); + const iBool canTrust = ((d->certFlags & requiredForTrust) == requiredForTrust); const iRecentUrl *recent = findUrl_History(d->mod.history, d->mod.url); const iString *meta = &d->sourceMime; if (recent && recent->cachedResponse) { -- cgit v1.2.3 From 78de5577096bd81d6da152d9f819851c2f8ef260 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 13 Nov 2021 07:36:43 +0200 Subject: DocumentWidget: Trust button shown only when untrusted --- src/ui/documentwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 49ac9fb5..f2553632 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c @@ -2845,7 +2845,8 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) const iBool haveFingerprint = (d->certFlags & haveFingerprint_GmCertFlag) != 0; const int requiredForTrust = (available_GmCertFlag | haveFingerprint_GmCertFlag | timeVerified_GmCertFlag); - const iBool canTrust = ((d->certFlags & requiredForTrust) == requiredForTrust); + const iBool canTrust = ~d->certFlags & trusted_GmCertFlag && + ((d->certFlags & requiredForTrust) == requiredForTrust); const iRecentUrl *recent = findUrl_History(d->mod.history, d->mod.url); const iString *meta = &d->sourceMime; if (recent && recent->cachedResponse) { -- cgit v1.2.3