Skip to content

Commit 1edc3b6

Browse files
committed
add comments
1 parent 2cdfb48 commit 1edc3b6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

templates/components/password_field.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@
1717
if (input.type === "password") {
1818
input.type = "text";
1919
button.innerHTML = `{{ icon.visibility_on() }}`;
20-
button.setAttribute('aria-label', 'Masquer');
20+
//todo translate this
21+
button.setAttribute('aria-label', 'Hide');
2122
} else {
2223
input.type = "password";
2324
button.innerHTML = `{{ icon.visibility_off() }}`;
24-
button.setAttribute('aria-label', 'Afficher');
25+
//todo translate this
26+
button.setAttribute('aria-label', 'Show');
2527
}
2628
}
2729
</script>

0 commit comments

Comments
 (0)