From 33f11f8d46b5d937ded0a4ce9e69dd2b1146b709 Mon Sep 17 00:00:00 2001 From: Weblate Date: Tue, 9 Feb 2021 14:22:57 +0100 Subject: [PATCH 1/9] Translated using Weblate (German) Currently translated at 100.0% (1361 of 1361 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/de/ --- www/common/translations/messages.de.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/www/common/translations/messages.de.json b/www/common/translations/messages.de.json index b5c371788..15934315d 100644 --- a/www/common/translations/messages.de.json +++ b/www/common/translations/messages.de.json @@ -1377,5 +1377,13 @@ "settings_cacheTitle": "Cache", "settings_cacheButton": "Cache leeren", "settings_cacheCheckbox": "Cache auf diesem Gerät aktivieren", - "settings_cacheHint": "CryptPad legt Teile deiner Dokumente im Speicher deines Browser ab, um den Datenverkehr und die Ladezeiten zu reduzieren. Du kannst diesen Cache deaktivieren, wenn dein Gerät nicht über viel freien Speicherplatz verfügt. Aus Sicherheitsgründen wird der Cache immer beim Ausloggen geleert. Du kannst ihn auch manuell leeren, sofern du Speicherplatz auf deinem Gerät freigeben möchtest." + "settings_cacheHint": "CryptPad legt Teile deiner Dokumente im Speicher deines Browser ab, um den Datenverkehr und die Ladezeiten zu reduzieren. Du kannst diesen Cache deaktivieren, wenn dein Gerät nicht über viel freien Speicherplatz verfügt. Aus Sicherheitsgründen wird der Cache immer beim Ausloggen geleert. Du kannst ihn auch manuell leeren, sofern du Speicherplatz auf deinem Gerät freigeben möchtest.", + "admin_cat_performance": "Performance", + "admin_performanceProfilingTitle": "Performance", + "admin_performanceProfilingHint": "Übersicht über die Gesamtzeit für die Ausführung verschiedener serverseitiger Befehle", + "redo": "Wiederholen", + "undo": "Rückgängig", + "admin_performancePercentHeading": "Anteil", + "admin_performanceTimeHeading": "Zeit (Sekunden)", + "admin_performanceKeyHeading": "Befehl" } From a0e6e8a30bbff0383cd4e3751398e6764e0c6c17 Mon Sep 17 00:00:00 2001 From: Weblate Date: Tue, 9 Feb 2021 14:22:58 +0100 Subject: [PATCH 2/9] Translated using Weblate (English) Currently translated at 100.0% (1370 of 1370 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1370 of 1370 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1369 of 1369 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1368 of 1368 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1367 of 1367 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1366 of 1366 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1365 of 1365 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1364 of 1364 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1363 of 1363 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1362 of 1362 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ --- www/common/translations/messages.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/www/common/translations/messages.json b/www/common/translations/messages.json index f41095305..984c2ea26 100644 --- a/www/common/translations/messages.json +++ b/www/common/translations/messages.json @@ -1385,5 +1385,14 @@ "admin_performanceProfilingTitle": "Performance", "admin_performanceKeyHeading": "Command", "admin_performanceTimeHeading": "Time (seconds)", - "admin_performancePercentHeading": "Percentage" + "admin_performancePercentHeading": "Percentage", + "settings_cat_style": "Appearance", + "settings_colortheme_dark": "Dark", + "settings_colortheme_light": "Light", + "settings_colortheme_default": "System default ({0})", + "settings_colorthemeHint": "Change the overall colors of CryptPad on this device.", + "settings_colorthemeTitle": "Color theme", + "admin_getquotaTitle": "Check account storage", + "admin_getquotaHint": "Check the total size of items counted against a user or team's quota given their public key.", + "admin_getquotaButton": "Check" } From ee74a76d57c27f79033388b7d705ebad309e64ba Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 9 Feb 2021 18:53:58 +0530 Subject: [PATCH 3/9] change the speech bubble icon that was used for comments in two contexts --- www/pad/comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pad/comments.js b/www/pad/comments.js index 6af3743d0..4d752d54d 100644 --- a/www/pad/comments.js +++ b/www/pad/comments.js @@ -771,7 +771,7 @@ define([ var button = h('button.btn.btn-secondary', { style: 'top:' + y + 'px;', title: Messages.comments_comment - }, h('i.fa.fa-comment')); + }, h('i.fa.fa-commenting')); Env.bubble = { node: node, button: button From 559be3029387f50eabe4600bc39f725c32a9c706 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 9 Feb 2021 18:57:36 +0530 Subject: [PATCH 4/9] remove some hardcoded translations --- www/settings/inner.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/www/settings/inner.js b/www/settings/inner.js index 2fa0be234..e7d061231 100644 --- a/www/settings/inner.js +++ b/www/settings/inner.js @@ -412,14 +412,7 @@ define([ ]); }, true); - // XXX - Messages.settings_colorthemeTitle = "Color theme"; - Messages.settings_colorthemeHint = "Change the overall colors of CryptPad on this machine."; - Messages.settings_colortheme_default = "Default ({0})"; - Messages.settings_colortheme_light = "Light"; - Messages.settings_colortheme_dark = "Dark"; - Messages.settings_colortheme_custom = "Custom"; - Messages.settings_cat_style = "Appearance"; + Messages.settings_colortheme_custom = "Custom"; // XXX makeBlock('colortheme', function (cb) { var theme = window.cryptpadStore.store['colortheme'] || 'default'; From cda083490c3e7af7364697204fd47bd86faf8839 Mon Sep 17 00:00:00 2001 From: Weblate Date: Tue, 9 Feb 2021 14:42:35 +0100 Subject: [PATCH 5/9] Translated using Weblate (English) Currently translated at 100.0% (1378 of 1378 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1377 of 1377 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1376 of 1376 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1375 of 1375 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1374 of 1374 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1373 of 1373 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1372 of 1372 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1371 of 1371 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ --- www/common/translations/messages.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/www/common/translations/messages.json b/www/common/translations/messages.json index 984c2ea26..eda26caec 100644 --- a/www/common/translations/messages.json +++ b/www/common/translations/messages.json @@ -1394,5 +1394,13 @@ "settings_colorthemeTitle": "Color theme", "admin_getquotaTitle": "Check account storage", "admin_getquotaHint": "Check the total size of items counted against a user or team's quota given their public key.", - "admin_getquotaButton": "Check" + "admin_getquotaButton": "Check", + "pad_settings_title": "Document Settings", + "pad_settings_info": "Default settings for this document. These will be applied when new users visit this document.", + "pad_settings_width_small": "Page mode", + "pad_settings_width_large": "Full width", + "pad_settings_outline": "Choose whether the Table of Contents should be visible or hidden by default.", + "pad_settings_comments": "Choose whether the Comments should be visible or hidden by default.", + "pad_settings_hide": "Hide", + "pad_settings_show": "Show" } From aa8b3c6d0aa102fbb72ff023a9d9e83fe7400927 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 9 Feb 2021 19:14:52 +0530 Subject: [PATCH 6/9] remove hardcoded translations for rich text --- www/pad/inner.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/www/pad/inner.js b/www/pad/inner.js index af3ef88fb..d31fb07ad 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -204,16 +204,6 @@ define([ }; var mkSettingsMenu = function(framework) { - - // XXX - Messages.pad_settings_title = "Document Settings"; - Messages.pad_settings_info = "Default settings for this document. These will be applied when new users visit this document."; - Messages.pad_settings_width_small = "Page mode"; - Messages.pad_settings_width_large = "Full width"; - Messages.pad_settings_outline = "Choose whether the Table of Contents should be visible or hidden by default."; - Messages.pad_settings_comments = "Choose whether the Comments should be visible or hidden by default."; - Messages.pad_settings_hide = "Hide"; - Messages.pad_settings_show = "Show"; var getSettings = function () { var $d = $(h('div.cp-pad-settings-dialog')); var common = framework._.sfCommon; From d73d62b9e795e35118d5837227f4031f493511c2 Mon Sep 17 00:00:00 2001 From: Weblate Date: Tue, 9 Feb 2021 14:48:05 +0100 Subject: [PATCH 7/9] Translated using Weblate (English) Currently translated at 100.0% (1379 of 1379 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ --- www/common/translations/messages.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/translations/messages.json b/www/common/translations/messages.json index eda26caec..1d2f2123f 100644 --- a/www/common/translations/messages.json +++ b/www/common/translations/messages.json @@ -1402,5 +1402,6 @@ "pad_settings_outline": "Choose whether the Table of Contents should be visible or hidden by default.", "pad_settings_comments": "Choose whether the Comments should be visible or hidden by default.", "pad_settings_hide": "Hide", - "pad_settings_show": "Show" + "pad_settings_show": "Show", + "settings_colortheme_custom": "Custom" } From d523b0e6da67d34d0effe1574f53da06e11dce69 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 9 Feb 2021 19:18:24 +0530 Subject: [PATCH 8/9] remove a hardcoded translation --- www/settings/inner.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/www/settings/inner.js b/www/settings/inner.js index e7d061231..a87dbb249 100644 --- a/www/settings/inner.js +++ b/www/settings/inner.js @@ -412,8 +412,6 @@ define([ ]); }, true); - Messages.settings_colortheme_custom = "Custom"; // XXX - makeBlock('colortheme', function (cb) { var theme = window.cryptpadStore.store['colortheme'] || 'default'; var os = window.cryptpadStore.store['colortheme_default'] || 'light'; From 5e72c5c8a02e337f023466111ffd5c44280afa35 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 9 Feb 2021 19:21:37 +0530 Subject: [PATCH 9/9] set poll comments color for dark mode --- www/poll/app-poll.less | 1 + 1 file changed, 1 insertion(+) diff --git a/www/poll/app-poll.less b/www/poll/app-poll.less index 3851f5e30..571f08887 100644 --- a/www/poll/app-poll.less +++ b/www/poll/app-poll.less @@ -180,6 +180,7 @@ } #cp-app-poll-comments { display: block; + color: @cryptpad_text_col; } } }