summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-20 21:26:39 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-20 21:26:39 +0300
commit548034e167bd94d21ef9bcc2e6d2d8cbfaeb3d06 (patch)
treefb5bf6c4773385e2efa6dfad0febf4a055cc07a7
parent59c067cbe0ae317f99734fb7e9552556588983ac (diff)
DocumentWidget: Updated error page localization
Added a new language string and blockquote styling for displaying the server's error message. IssueID #280
-rw-r--r--po/en.po3
-rw-r--r--res/lang/de.binbin20358 -> 20410 bytes
-rw-r--r--res/lang/en.binbin19106 -> 19158 bytes
-rw-r--r--res/lang/es.binbin21074 -> 21126 bytes
-rw-r--r--res/lang/fi.binbin21048 -> 21100 bytes
-rw-r--r--res/lang/fr.binbin21564 -> 21616 bytes
-rw-r--r--res/lang/ia.binbin21265 -> 21317 bytes
-rw-r--r--res/lang/ie.binbin20436 -> 20488 bytes
-rw-r--r--res/lang/pl.binbin22069 -> 22121 bytes
-rw-r--r--res/lang/ru.binbin32147 -> 32199 bytes
-rw-r--r--res/lang/sr.binbin30726 -> 30778 bytes
-rw-r--r--res/lang/tok.binbin19470 -> 19522 bytes
-rw-r--r--res/lang/zh_Hans.binbin18229 -> 18281 bytes
-rw-r--r--res/lang/zh_Hant.binbin18303 -> 18355 bytes
-rw-r--r--src/ui/documentwidget.c4
15 files changed, 6 insertions, 1 deletions
diff --git a/po/en.po b/po/en.po
index a89221d0..ef236ba8 100644
--- a/po/en.po
+++ b/po/en.po
@@ -597,6 +597,9 @@ msgstr "Unsubscribe"
597msgid "error.unsupported.suggestsave" 597msgid "error.unsupported.suggestsave"
598msgstr "You can save it as a file to your Downloads folder: press %s or select \"%s\" from the menu." 598msgstr "You can save it as a file to your Downloads folder: press %s or select \"%s\" from the menu."
599 599
600msgid "error.server.msg"
601msgstr "Server responded with the message:"
602
600msgid "heading.pageinfo" 603msgid "heading.pageinfo"
601msgstr "PAGE INFORMATION" 604msgstr "PAGE INFORMATION"
602 605
diff --git a/res/lang/de.bin b/res/lang/de.bin
index 4c2c53ea..e6b0de88 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 d6dfc691..dfc4039c 100644
--- a/res/lang/en.bin
+++ b/res/lang/en.bin
Binary files differ
diff --git a/res/lang/es.bin b/res/lang/es.bin
index 4a9b3cb5..e8543648 100644
--- a/res/lang/es.bin
+++ b/res/lang/es.bin
Binary files differ
diff --git a/res/lang/fi.bin b/res/lang/fi.bin
index da1eeeb7..478c20ff 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 80ca94cf..dbad1af7 100644
--- a/res/lang/fr.bin
+++ b/res/lang/fr.bin
Binary files differ
diff --git a/res/lang/ia.bin b/res/lang/ia.bin
index 51be909b..3c72164f 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 1a2223c8..b5bbe210 100644
--- a/res/lang/ie.bin
+++ b/res/lang/ie.bin
Binary files differ
diff --git a/res/lang/pl.bin b/res/lang/pl.bin
index 52ff43ae..ea38c272 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 4c015ac3..73db27d2 100644
--- a/res/lang/ru.bin
+++ b/res/lang/ru.bin
Binary files differ
diff --git a/res/lang/sr.bin b/res/lang/sr.bin
index 4f06505d..1333959d 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 f15c88fa..b3d94d03 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 f4b7ef15..9a470421 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 154d991d..27f84c64 100644
--- a/res/lang/zh_Hant.bin
+++ b/res/lang/zh_Hant.bin
Binary files differ
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 9b29c14f..452e5508 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1058,7 +1058,9 @@ static void showErrorPage_DocumentWidget_(iDocumentWidget *d, enum iGmStatusCode
1058 cstr_String(meta)); 1058 cstr_String(meta));
1059 break; 1059 break;
1060 default: 1060 default:
1061 appendFormat_String(src, "\n\nServer returned error: %s", cstr_String(meta)); 1061 if (!isEmpty_String(meta)) {
1062 appendFormat_String(src, "\n\n${error.server.msg}\n> %s", cstr_String(meta));
1063 }
1062 break; 1064 break;
1063 } 1065 }
1064 } 1066 }