diff --git a/lemmy-translations b/lemmy-translations index 713ceed9..a1a19aea 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit 713ceed9c7ef84deaa222e68361e670e0763cd83 +Subproject commit a1a19aea1ad7d91195775a5ccea62ccc9076a2c7 diff --git a/src/shared/components/common/password-input.tsx b/src/shared/components/common/password-input.tsx index b6ab6e5d..47005a00 100644 --- a/src/shared/components/common/password-input.tsx +++ b/src/shared/components/common/password-input.tsx @@ -103,8 +103,12 @@ class PasswordInput extends Component { type="button" id={id} onClick={linkEvent(this, handleToggleShow)} - aria-label={show ? "Hide Password" : "Show Password"} - data-tippy-content={show ? "Hide Password" : "Show Password"} + aria-label={I18NextService.i18n.t( + `${show ? "show" : "hide"}_password` + )} + data-tippy-content={I18NextService.i18n.t( + `${show ? "show" : "hide"}_password` + )} >