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