[Web] added translations for various strings (#4173)
* [Web] translated synchronization "open logs" str Signed-off-by: Kristian Feldsam <feldsam@gmail.com> * [Web] translated selectbox "nothing selected" str Signed-off-by: Kristian Feldsam <feldsam@gmail.com> * [Web] translated Check against haveibeenpwned.com Signed-off-by: Kristian Feldsam <feldsam@gmail.com>master
parent
fa9327a279
commit
7bc8781db8
|
@ -93,7 +93,9 @@ $(document).ready(function() {
|
|||
}).remove();
|
||||
|
||||
// selectpicker
|
||||
$('select').selectpicker();
|
||||
$('select').selectpicker({
|
||||
'noneSelectedText': lang_footer.nothing_selected
|
||||
});
|
||||
|
||||
// haveibeenpwned and passwd policy
|
||||
$.ajax({
|
||||
|
@ -103,7 +105,7 @@ $(document).ready(function() {
|
|||
$(".hibp-out").after(res);
|
||||
}
|
||||
});
|
||||
$('[data-hibp]').after('<p class="small haveibeenpwned"><i class="bi bi-shield-fill-exclamation"></i> Check against haveibeenpwned.com</p><span class="hibp-out"></span>');
|
||||
$('[data-hibp]').after('<p class="small haveibeenpwned"><i class="bi bi-shield-fill-exclamation"></i> ' + lang_footer.hibp_check + '</p><span class="hibp-out"></span>');
|
||||
$('[data-hibp]').on('input', function() {
|
||||
out_field = $(this).next('.haveibeenpwned').next('.hibp-out').text('').attr('class', 'hibp-out');
|
||||
});
|
||||
|
|
|
@ -966,7 +966,7 @@ jQuery(function($){
|
|||
},
|
||||
success: function (data) {
|
||||
$.each(data, function (i, item) {
|
||||
item.log = '<a href="#syncjobLogModal" data-toggle="modal" data-syncjob-id="' + encodeURIComponent(item.id) + '">Open logs</a>'
|
||||
item.log = '<a href="#syncjobLogModal" data-toggle="modal" data-syncjob-id="' + encodeURIComponent(item.id) + '">' + lang.open_logs + '</a>'
|
||||
item.user2 = escapeHtml(item.user2);
|
||||
if (!item.exclude > 0) {
|
||||
item.exclude = '-';
|
||||
|
|
|
@ -196,7 +196,7 @@ jQuery(function($){
|
|||
success: function (data) {
|
||||
$.each(data, function (i, item) {
|
||||
item.user1 = escapeHtml(item.user1);
|
||||
item.log = '<a href="#syncjobLogModal" data-toggle="modal" data-syncjob-id="' + item.id + '">Open logs</a>'
|
||||
item.log = '<a href="#syncjobLogModal" data-toggle="modal" data-syncjob-id="' + item.id + '">' + lang.open_logs + '</a>'
|
||||
if (!item.exclude > 0) {
|
||||
item.exclude = '-';
|
||||
} else {
|
||||
|
|
|
@ -559,9 +559,11 @@
|
|||
"confirm_delete": "Potvdit smazání",
|
||||
"delete_now": "Smazat",
|
||||
"delete_these_items": "Prosím potvrďte změny objektu id:",
|
||||
"hibp_check": "Ověřit heslo v databázi hacknutých hesel haveibeenpwned.com",
|
||||
"hibp_nok": "Nalezeno! Toto je potenciálně nebezpečné heslo!",
|
||||
"hibp_ok": "Nebyla nalezena žádná shoda.",
|
||||
"loading": "Prosím čekejte...",
|
||||
"nothing_selected": "Není nic vybráno",
|
||||
"restart_container": "Restartovat kontejner",
|
||||
"restart_container_info": "<b>Důležité:</b> Šetrný restart může chvíli trvat, prosím čekejte...",
|
||||
"restart_now": "Restartovat nyní",
|
||||
|
@ -666,6 +668,7 @@
|
|||
"no": "✕",
|
||||
"no_record": "Žádný záznam pro objekt %s",
|
||||
"no_record_single": "Žádný záznam",
|
||||
"open_logs": "Otevřít záznam",
|
||||
"owner": "Vlastník",
|
||||
"private_comment": "Soukromý komentář",
|
||||
"public_comment": "Veřejný komentář",
|
||||
|
@ -936,6 +939,7 @@
|
|||
"no_active_filter": "Není k dispozici žádný aktivní filtr",
|
||||
"no_last_login": "Žádný záznam o přihlášení",
|
||||
"no_record": "Žádný záznam",
|
||||
"open_logs": "Otevřít záznam",
|
||||
"password": "Heslo",
|
||||
"password_now": "Současné heslo (pro potvrzení změny)",
|
||||
"password_repeat": "Heslo (znovu)",
|
||||
|
|
|
@ -648,9 +648,11 @@
|
|||
"confirm_delete": "Confirm deletion",
|
||||
"delete_now": "Delete now",
|
||||
"delete_these_items": "Please confirm your changes to the following object id",
|
||||
"hibp_check": "Check against haveibeenpwned.com",
|
||||
"hibp_nok": "Matched! This is a potentially dangerous password!",
|
||||
"hibp_ok": "No match found.",
|
||||
"loading": "Please wait...",
|
||||
"nothing_selected": "Nothing selected",
|
||||
"restart_container": "Restart container",
|
||||
"restart_container_info": "<b>Important:</b> A graceful restart may take a while to complete, please wait for it to finish.",
|
||||
"restart_now": "Restart now",
|
||||
|
@ -764,6 +766,7 @@
|
|||
"no": "✕",
|
||||
"no_record": "No record for object %s",
|
||||
"no_record_single": "No record",
|
||||
"open_logs": "Open logs",
|
||||
"owner": "Owner",
|
||||
"private_comment": "Private comment",
|
||||
"public_comment": "Public comment",
|
||||
|
@ -1068,6 +1071,7 @@
|
|||
"no_active_filter": "No active filter available",
|
||||
"no_last_login": "No last UI login information",
|
||||
"no_record": "No record",
|
||||
"open_logs": "Open logs",
|
||||
"open_webmail_sso": "Login to webmail",
|
||||
"password": "Password",
|
||||
"password_now": "Current password (confirm changes)",
|
||||
|
|
|
@ -647,9 +647,11 @@
|
|||
"confirm_delete": "Potvrďte vymazanie",
|
||||
"delete_now": "Vymazať teraz",
|
||||
"delete_these_items": "Prosím potvrďte svoje vykonané zmeny nasledujúcemu objektovému id",
|
||||
"hibp_check": "Overiť heslo v databáze hacknutých hesiel haveibeenpwned.com",
|
||||
"hibp_nok": "Zhoda! Toto je potenciálne nebezpečné heslo!",
|
||||
"hibp_ok": "Nenašla sa zhoda.",
|
||||
"loading": "Prosím čakajte...",
|
||||
"nothing_selected": "Nie je nič vybrané",
|
||||
"restart_container": "Reštartovať kontajner",
|
||||
"restart_container_info": "<b>Dôležité:</b> Reštartovanie môže trvať dlhšie, čakajte prosím ...",
|
||||
"restart_now": "Reštartuj teraz",
|
||||
|
@ -763,6 +765,7 @@
|
|||
"no": "✕",
|
||||
"no_record": "Žiaden záznam pre objekt %s",
|
||||
"no_record_single": "Žiaden záznam",
|
||||
"open_logs": "Otvoriť záznam",
|
||||
"owner": "Majiteľ",
|
||||
"private_comment": "Súkromný komentár",
|
||||
"public_comment": "Verejný komentár",
|
||||
|
@ -1065,6 +1068,7 @@
|
|||
"no_active_filter": "Nie je dostupný žiadny aktívny filter.",
|
||||
"no_last_login": "Žiadne informácie o UI prihlásení.",
|
||||
"no_record": "Žiaden záznam",
|
||||
"open_logs": "Otvoriť záznam",
|
||||
"password": "Heslo",
|
||||
"password_now": "Aktuálne heslo (potvrdiť zmeny)",
|
||||
"password_repeat": "Heslo (opakovať)",
|
||||
|
|
Loading…
Reference in New Issue