summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-27 19:10:57 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-27 19:10:57 +0300
commit3a58ca94b59aa867f46cbfe30d5bd85eb9f986de (patch)
tree077198cef86b6a18795b94d59a221d37982237f4
parent57caccea67c62a5064f963430842cd81af5cf7bd (diff)
Upgrade assistance: download "classic-set" fontpack
-rw-r--r--po/en.po8
-rw-r--r--res/lang/de.binbin28390 -> 28648 bytes
-rw-r--r--res/lang/en.binbin25850 -> 26108 bytes
-rw-r--r--res/lang/eo.binbin24627 -> 24885 bytes
-rw-r--r--res/lang/es.binbin28774 -> 29032 bytes
-rw-r--r--res/lang/es_MX.binbin26715 -> 26973 bytes
-rw-r--r--res/lang/fi.binbin28688 -> 28946 bytes
-rw-r--r--res/lang/fr.binbin29596 -> 29854 bytes
-rw-r--r--res/lang/gl.binbin28052 -> 28310 bytes
-rw-r--r--res/lang/ia.binbin27715 -> 27973 bytes
-rw-r--r--res/lang/ie.binbin27920 -> 28178 bytes
-rw-r--r--res/lang/isv.binbin24554 -> 24812 bytes
-rw-r--r--res/lang/pl.binbin28991 -> 29249 bytes
-rw-r--r--res/lang/ru.binbin41363 -> 41621 bytes
-rw-r--r--res/lang/sk.binbin24887 -> 25145 bytes
-rw-r--r--res/lang/sr.binbin41235 -> 41493 bytes
-rw-r--r--res/lang/tok.binbin26165 -> 26423 bytes
-rw-r--r--res/lang/zh_Hans.binbin24667 -> 24925 bytes
-rw-r--r--res/lang/zh_Hant.binbin24808 -> 25066 bytes
-rw-r--r--src/app.c16
-rw-r--r--src/ui/util.c1
21 files changed, 25 insertions, 0 deletions
diff --git a/po/en.po b/po/en.po
index 39823ead..54423ca4 100644
--- a/po/en.po
+++ b/po/en.po
@@ -1995,3 +1995,11 @@ msgstr "Permanently dismiss warning about terminal emulation on %s?"
1995msgid "dlg.dismiss.warning" 1995msgid "dlg.dismiss.warning"
1996msgstr "Dismiss Warning" 1996msgstr "Dismiss Warning"
1997 1997
1998msgid "heading.fontpack.classic"
1999msgstr "DOWNLOAD FONTPACK"
2000
2001msgid "dlg.fontpack.classic.msg"
2002msgstr "The fonts previously bundled with the app are now available as a separate download. Would you like to download the \"Classic set\" fontpack now?"
2003
2004msgid "dlg.fontpack.classic"
2005msgstr "Download Fontpack (25 MB)"
diff --git a/res/lang/de.bin b/res/lang/de.bin
index 30099ecf..305cec0f 100644
--- a/res/lang/de.bin
+++ b/res/lang/de.bin
Binary files differ
diff --git a/res/lang/en.bin b/res/lang/en.bin
index 5890c2a9..b4a96c63 100644
--- a/res/lang/en.bin
+++ b/res/lang/en.bin
Binary files differ
diff --git a/res/lang/eo.bin b/res/lang/eo.bin
index a00b6e91..383f4ecb 100644
--- a/res/lang/eo.bin
+++ b/res/lang/eo.bin
Binary files differ
diff --git a/res/lang/es.bin b/res/lang/es.bin
index e4effc07..1e282eb1 100644
--- a/res/lang/es.bin
+++ b/res/lang/es.bin
Binary files differ
diff --git a/res/lang/es_MX.bin b/res/lang/es_MX.bin
index 30a51550..83efc914 100644
--- a/res/lang/es_MX.bin
+++ b/res/lang/es_MX.bin
Binary files differ
diff --git a/res/lang/fi.bin b/res/lang/fi.bin
index 8cddf6c8..0d87ad5e 100644
--- a/res/lang/fi.bin
+++ b/res/lang/fi.bin
Binary files differ
diff --git a/res/lang/fr.bin b/res/lang/fr.bin
index 0abac84f..4bbcdf3b 100644
--- a/res/lang/fr.bin
+++ b/res/lang/fr.bin
Binary files differ
diff --git a/res/lang/gl.bin b/res/lang/gl.bin
index 7e2ab9b6..492f89f4 100644
--- a/res/lang/gl.bin
+++ b/res/lang/gl.bin
Binary files differ
diff --git a/res/lang/ia.bin b/res/lang/ia.bin
index e5f4f292..e4d6c7d1 100644
--- a/res/lang/ia.bin
+++ b/res/lang/ia.bin
Binary files differ
diff --git a/res/lang/ie.bin b/res/lang/ie.bin
index 88dbe14a..e50d3bbb 100644
--- a/res/lang/ie.bin
+++ b/res/lang/ie.bin
Binary files differ
diff --git a/res/lang/isv.bin b/res/lang/isv.bin
index 79e068c5..1da1d02a 100644
--- a/res/lang/isv.bin
+++ b/res/lang/isv.bin
Binary files differ
diff --git a/res/lang/pl.bin b/res/lang/pl.bin
index 1e8aee73..fe567b59 100644
--- a/res/lang/pl.bin
+++ b/res/lang/pl.bin
Binary files differ
diff --git a/res/lang/ru.bin b/res/lang/ru.bin
index 7ba672ea..c49bac67 100644
--- a/res/lang/ru.bin
+++ b/res/lang/ru.bin
Binary files differ
diff --git a/res/lang/sk.bin b/res/lang/sk.bin
index 3c4c4b33..018e0721 100644
--- a/res/lang/sk.bin
+++ b/res/lang/sk.bin
Binary files differ
diff --git a/res/lang/sr.bin b/res/lang/sr.bin
index 44714492..2cd8d3cf 100644
--- a/res/lang/sr.bin
+++ b/res/lang/sr.bin
Binary files differ
diff --git a/res/lang/tok.bin b/res/lang/tok.bin
index 362ed461..d52c48a1 100644
--- a/res/lang/tok.bin
+++ b/res/lang/tok.bin
Binary files differ
diff --git a/res/lang/zh_Hans.bin b/res/lang/zh_Hans.bin
index 558596f6..86fd46c5 100644
--- a/res/lang/zh_Hans.bin
+++ b/res/lang/zh_Hans.bin
Binary files differ
diff --git a/res/lang/zh_Hant.bin b/res/lang/zh_Hant.bin
index 972e7c68..50391f93 100644
--- a/res/lang/zh_Hant.bin
+++ b/res/lang/zh_Hant.bin
Binary files differ
diff --git a/src/app.c b/src/app.c
index f4d9f30b..5f7776b0 100644
--- a/src/app.c
+++ b/src/app.c
@@ -406,6 +406,7 @@ static void loadPrefs_App_(iApp *d) {
406 UI strings may not have the right fonts available for the UI to remain 406 UI strings may not have the right fonts available for the UI to remain
407 usable. */ 407 usable. */
408 postCommandf_App("uilang id:en"); 408 postCommandf_App("uilang id:en");
409 postCommand_App("~fontpack.suggest.classic");
409 } 410 }
410#if !defined (LAGRANGE_ENABLE_CUSTOM_FRAME) 411#if !defined (LAGRANGE_ENABLE_CUSTOM_FRAME)
411 d->prefs.customFrame = iFalse; 412 d->prefs.customFrame = iFalse;
@@ -2135,6 +2136,21 @@ iBool handleCommand_App(const char *cmd) {
2135 suffixPtr_Command(cmd, "where"))); 2136 suffixPtr_Command(cmd, "where")));
2136 return iTrue; 2137 return iTrue;
2137 } 2138 }
2139 else if (equal_Command(cmd, "fontpack.suggest.classic")) {
2140 if (!isInstalled_Fonts("classic-set") && !isInstalled_Fonts("cjk")) {
2141 makeQuestion_Widget(
2142 uiHeading_ColorEscape "${heading.fontpack.classic}",
2143 "${dlg.fontpack.classic.msg}",
2144 (iMenuItem[]){
2145 { "${cancel}" },
2146 { uiTextAction_ColorEscape "${dlg.fontpack.classic}",
2147 0,
2148 0,
2149 "!open newtab:1 url:gemini://skyjake.fi/fonts/classic-set.fontpack" } },
2150 2);
2151 }
2152 return iTrue;
2153 }
2138 else if (equal_Command(cmd, "prefs.changed")) { 2154 else if (equal_Command(cmd, "prefs.changed")) {
2139 savePrefs_App_(d); 2155 savePrefs_App_(d);
2140 return iTrue; 2156 return iTrue;
diff --git a/src/ui/util.c b/src/ui/util.c
index 5e28bb33..fd1ce571 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1778,6 +1778,7 @@ static iBool messageHandler_(iWidget *msg, const char *cmd) {
1778 if (!(equal_Command(cmd, "media.updated") || 1778 if (!(equal_Command(cmd, "media.updated") ||
1779 equal_Command(cmd, "media.player.update") || 1779 equal_Command(cmd, "media.player.update") ||
1780 equal_Command(cmd, "bookmarks.request.finished") || 1780 equal_Command(cmd, "bookmarks.request.finished") ||
1781 equal_Command(cmd, "bookmarks.changed") ||
1781 equal_Command(cmd, "document.autoreload") || 1782 equal_Command(cmd, "document.autoreload") ||
1782 equal_Command(cmd, "document.reload") || 1783 equal_Command(cmd, "document.reload") ||
1783 equal_Command(cmd, "document.request.updated") || 1784 equal_Command(cmd, "document.request.updated") ||