[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>
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
Reference in New Issue
Block a user