From d2fb68642dc7952b22fcebdfffd1eb1a7ff986fb Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 12 Jan 2021 15:55:30 +0100 Subject: [PATCH 1/2] Fix links in error screen --- www/common/common-interface.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index bb84187b4..f901286e6 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -1005,6 +1005,16 @@ define([ } else { $error.html(error || Messages.error); } + $error.find('a[href]').click(function (e) { + e.preventDefault(); + var href = $(this).prop('href'); + if (!href) { return; } + if (e && e.ctrlKey) { + window.open('/bounce/#'+encodeURIComponent(href)); + return; + } + window.parent.location = href; + }); if (exitable) { $(window).focus(); $(window).keydown(function (e) { From 509abc6c11a4232207aecd285fe4d71ca0729286 Mon Sep 17 00:00:00 2001 From: Weblate Date: Mon, 11 Jan 2021 23:46:32 +0100 Subject: [PATCH 2/2] Translated using Weblate (German) Currently translated at 100.0% (1411 of 1411 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/de/ --- www/common/translations/messages.de.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/translations/messages.de.json b/www/common/translations/messages.de.json index 6ee050cc8..92e693efb 100644 --- a/www/common/translations/messages.de.json +++ b/www/common/translations/messages.de.json @@ -1506,5 +1506,6 @@ "admin_support_normal": "Unbeantwortete Tickets:", "admin_support_premium": "Premium-Tickets:", "access_offline": "Du bist offline. Verwaltung von Zugriffsrechten ist nicht verfügbar.", - "share_noContactsOffline": "Du bist offline. Kontakte sind nicht verfügbar." + "share_noContactsOffline": "Du bist offline. Kontakte sind nicht verfügbar.", + "offlineError": "OFFLINE-MODUS NICHT VERFÜGBAR" }