From 0ef6e537b500e1077a36959555829daa1ba6bd9d Mon Sep 17 00:00:00 2001 From: Weblate Date: Tue, 5 Jan 2021 14:21:20 +0100 Subject: [PATCH 1/2] Translated using Weblate (English) Currently translated at 100.0% (1408 of 1408 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1407 of 1407 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1406 of 1406 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1405 of 1405 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1404 of 1404 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1403 of 1403 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1402 of 1402 strings) Translation: CryptPad/App Translate-URL: http://weblate.cryptpad.fr/projects/cryptpad/app/en/ Translated using Weblate (English) Currently translated at 100.0% (1401 of 1401 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 f07dab3e0..8bb43e4b3 100644 --- a/www/common/translations/messages.json +++ b/www/common/translations/messages.json @@ -1496,5 +1496,13 @@ "settings_mediatagSizeHint": "Maximum size in megabytes (MB) for automatically loading media elements (images, videos, pdf) embedded into documents. Elements bigger than the specified size can be loaded manually. Use \"-1\" to always load the media elements automatically.", "mediatag_loadButton": "Load attachment", "history_trimPrompt": "This document has accumulated {0} of history that may slow down loading time. Consider deleting the history if it is not needed.", - "contacts_confirmCancel": "Are you sure you want to cancel your contact request with {0}?" + "contacts_confirmCancel": "Are you sure you want to cancel your contact request with {0}?", + "admin_support_premium": "Premium tickets:", + "admin_support_normal": "Unanswered tickets:", + "admin_support_answered": "Answered tickets:", + "admin_support_closed": "Closed tickets:", + "admin_support_open": "Show", + "admin_support_collapse": "Collapse", + "admin_support_first": "Created on: ", + "admin_support_last": "Updated on: " } From 662629185d79fc0b2c2150ddab6cf2464c177b5a Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 5 Jan 2021 19:36:52 +0530 Subject: [PATCH 2/2] remove hardcoded translations for admin panel --- www/admin/inner.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/www/admin/inner.js b/www/admin/inner.js index 755b60ddc..a4762bf50 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -552,14 +552,6 @@ define([ var $div = $(h('div.cp-support-container')).appendTo($container); var catContainer = h('div.cp-dropdown-container'); - Messages.admin_support_premium = "Premium tickets:"; // XXX - Messages.admin_support_normal = "Unanswered tickets:"; - Messages.admin_support_answered = "Answered tickets:"; - Messages.admin_support_closed = "Closed tickets:"; - Messages.admin_support_open = "Show"; - Messages.admin_support_collapse = "Collapse"; - Messages.admin_support_first = "Created on: "; - Messages.admin_support_last = "Updated on: "; var col1 = h('div.cp-support-column', h('h1', [ h('span', Messages.admin_support_premium), h('span.cp-support-count'),