From 533b0eb977adf41c82c4d3c859b4bfd24cc1866f Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sun, 16 Aug 2026 14:35:17 +0200 Subject: [PATCH] Updated translation --- cps/static/css/style.css | 13 - cps/static/js/main.js | 26 +- cps/themes/caliblur/templates/login.html | 4 +- cps/themes/standard/templates/layout.html | 2 +- cps/themes/standard/templates/login.html | 4 +- cps/translations/ar/LC_MESSAGES/messages.mo | Bin 75264 -> 74991 bytes cps/translations/ar/LC_MESSAGES/messages.po | 4688 ++++++++-------- cps/translations/cs/LC_MESSAGES/messages.mo | Bin 35066 -> 34840 bytes cps/translations/cs/LC_MESSAGES/messages.po | 4664 ++++++++-------- cps/translations/de/LC_MESSAGES/messages.mo | Bin 66806 -> 67257 bytes cps/translations/de/LC_MESSAGES/messages.po | 4692 ++++++++-------- cps/translations/el/LC_MESSAGES/messages.mo | Bin 51354 -> 51051 bytes cps/translations/el/LC_MESSAGES/messages.po | 4664 ++++++++-------- cps/translations/es/LC_MESSAGES/messages.mo | Bin 68583 -> 68371 bytes cps/translations/es/LC_MESSAGES/messages.po | 4688 ++++++++-------- cps/translations/fi/LC_MESSAGES/messages.mo | Bin 24224 -> 24027 bytes cps/translations/fi/LC_MESSAGES/messages.po | 4666 ++++++++-------- cps/translations/fr/LC_MESSAGES/messages.mo | Bin 71923 -> 71706 bytes cps/translations/fr/LC_MESSAGES/messages.po | 4680 ++++++++-------- cps/translations/gl/LC_MESSAGES/messages.mo | Bin 67948 -> 67741 bytes cps/translations/gl/LC_MESSAGES/messages.po | 4684 ++++++++-------- cps/translations/hu/LC_MESSAGES/messages.mo | Bin 22150 -> 21926 bytes cps/translations/hu/LC_MESSAGES/messages.po | 4662 ++++++++-------- cps/translations/id/LC_MESSAGES/messages.mo | Bin 52690 -> 52486 bytes cps/translations/id/LC_MESSAGES/messages.po | 4680 ++++++++-------- cps/translations/it/LC_MESSAGES/messages.mo | Bin 68379 -> 68169 bytes cps/translations/it/LC_MESSAGES/messages.po | 4680 ++++++++-------- cps/translations/ja/LC_MESSAGES/messages.mo | Bin 58218 -> 57963 bytes cps/translations/ja/LC_MESSAGES/messages.po | 4680 ++++++++-------- cps/translations/km/LC_MESSAGES/messages.mo | Bin 21926 -> 21550 bytes cps/translations/km/LC_MESSAGES/messages.po | 4580 +++++++++------- cps/translations/ko/LC_MESSAGES/messages.mo | Bin 66420 -> 66183 bytes cps/translations/ko/LC_MESSAGES/messages.po | 4680 ++++++++-------- cps/translations/nl/LC_MESSAGES/messages.mo | Bin 53628 -> 53419 bytes cps/translations/nl/LC_MESSAGES/messages.po | 4672 ++++++++-------- cps/translations/no/LC_MESSAGES/messages.mo | Bin 35598 -> 35484 bytes cps/translations/no/LC_MESSAGES/messages.po | 4558 +++++++++------- cps/translations/pl/LC_MESSAGES/messages.mo | Bin 67516 -> 67304 bytes cps/translations/pl/LC_MESSAGES/messages.po | 4738 +++++++++-------- cps/translations/pt/LC_MESSAGES/messages.mo | Bin 57632 -> 57420 bytes cps/translations/pt/LC_MESSAGES/messages.po | 4684 ++++++++-------- .../pt_BR/LC_MESSAGES/messages.mo | Bin 67813 -> 67603 bytes .../pt_BR/LC_MESSAGES/messages.po | 4678 ++++++++-------- cps/translations/ru/LC_MESSAGES/messages.mo | Bin 42528 -> 42233 bytes cps/translations/ru/LC_MESSAGES/messages.po | 4668 ++++++++-------- cps/translations/sk/LC_MESSAGES/messages.mo | Bin 61230 -> 61008 bytes cps/translations/sk/LC_MESSAGES/messages.po | 4718 ++++++++-------- cps/translations/sl/LC_MESSAGES/messages.mo | Bin 63088 -> 62873 bytes cps/translations/sl/LC_MESSAGES/messages.po | 4678 ++++++++-------- cps/translations/sv/LC_MESSAGES/messages.mo | Bin 43840 -> 43636 bytes cps/translations/sv/LC_MESSAGES/messages.po | 4670 ++++++++-------- cps/translations/tr/LC_MESSAGES/messages.mo | Bin 20029 -> 19924 bytes cps/translations/tr/LC_MESSAGES/messages.po | 4660 ++++++++-------- cps/translations/uk/LC_MESSAGES/messages.mo | Bin 86865 -> 86564 bytes cps/translations/uk/LC_MESSAGES/messages.po | 4696 ++++++++-------- cps/translations/vi/LC_MESSAGES/messages.mo | Bin 29285 -> 29060 bytes cps/translations/vi/LC_MESSAGES/messages.po | 4668 ++++++++-------- .../zh_Hans_CN/LC_MESSAGES/messages.mo | Bin 60642 -> 60454 bytes .../zh_Hans_CN/LC_MESSAGES/messages.po | 4680 ++++++++-------- .../zh_Hant_TW/LC_MESSAGES/messages.mo | Bin 52177 -> 51989 bytes .../zh_Hant_TW/LC_MESSAGES/messages.po | 4680 ++++++++-------- messages.pot | 4568 +++++++++------- 62 files changed, 75116 insertions(+), 60337 deletions(-) diff --git a/cps/static/css/style.css b/cps/static/css/style.css index 7a0db2cac..60e1f6dbd 100644 --- a/cps/static/css/style.css +++ b/cps/static/css/style.css @@ -511,16 +511,3 @@ body > div.container-fluid { .input-group .toggle-password { height: 40px; } - -.input-group .toggle-password { - min-width: 40px; - width: 40px; - padding-left: 0; - padding-right: 0; -} - -.input-group .toggle-password .glyphicon { - font-size: 16px; - line-height: 1; - top: 0; -} diff --git a/cps/static/js/main.js b/cps/static/js/main.js index 52fcc1639..7e4c02ca8 100644 --- a/cps/static/js/main.js +++ b/cps/static/js/main.js @@ -168,21 +168,23 @@ $("#form-upload-format").uploadprogress({ $(document).on('click', '.toggle-password', function (event) { event.preventDefault(); - var $button = $(this); - var selector = $button.data('target'); - var $passwordInput = $(selector); - if (!$passwordInput.length) { + var button = $(this); + var selector = button.data('target'); + var passwordInput = $(selector); + if (!passwordInput.length) { return; } - var isPassword = $passwordInput.attr('type') === 'password'; - $passwordInput.attr('type', isPassword ? 'text' : 'password'); - var $icon = $button.find('.glyphicon'); - if ($icon.length) { - $icon.toggleClass('glyphicon-eye-open', !isPassword); - $icon.toggleClass('glyphicon-eye-close', isPassword); + var isPassword = passwordInput.attr('type') === 'password'; + passwordInput.attr('type', isPassword ? 'text' : 'password'); + var icon = button.find('.glyphicon'); + if (icon.length) { + icon.toggleClass('glyphicon-eye-open', !isPassword); + icon.toggleClass('glyphicon-eye-close', isPassword); } - var label = isPassword ? _('Hide password') : _('Show password'); - $button.attr({ + var showLabel = button.attr('data-password-show') || button.attr('aria-label') || button.attr('title'); + var hideLabel = button.attr('data-password-hide') || showLabel; + var label = isPassword ? hideLabel : showLabel; + button.attr({ 'aria-label': label, 'title': label }); diff --git a/cps/themes/caliblur/templates/login.html b/cps/themes/caliblur/templates/login.html index dce8c87e9..25204f0ea 100644 --- a/cps/themes/caliblur/templates/login.html +++ b/cps/themes/caliblur/templates/login.html @@ -14,8 +14,8 @@
-
diff --git a/cps/themes/standard/templates/layout.html b/cps/themes/standard/templates/layout.html index c9692f1d5..ba9d2b8f6 100644 --- a/cps/themes/standard/templates/layout.html +++ b/cps/themes/standard/templates/layout.html @@ -111,7 +111,7 @@ {% if current_user.is_authenticated or g.allow_anonymous %}