LP#1977554: (follow-up) tag new strings for translations
[evergreen-equinox.git] / Open-ILS / src / templates / opac / parts / js.tt2
index 33df990..1ae203d 100644 (file)
     checkbox.addEventListener('change', () => {
         if(checkbox.checked){
           input.type = 'text';
-          input.setAttribute('aria-description', 'Your password is visible!');
+          input.setAttribute('aria-description', "[% l('Your password is visible!') %]");
         }
         else {
           input.type = 'password';
-          input.setAttribute('aria-description', 'Your password is not visible.');
+          input.setAttribute('aria-description', "[% l('Your password is not visible.') %]");
         }
         input.focus();
     });