Add translations

This commit is contained in:
SleeplessOne1917 2023-07-12 18:34:32 -04:00
parent 41f68bd2fc
commit 555bf1421b
2 changed files with 7 additions and 3 deletions

@ -1 +1 @@
Subproject commit 713ceed9c7ef84deaa222e68361e670e0763cd83
Subproject commit a1a19aea1ad7d91195775a5ccea62ccc9076a2c7

View file

@ -103,8 +103,12 @@ class PasswordInput extends Component<PasswordInputProps, PasswordInputState> {
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`
)}
>
<Icon icon={`eye${show ? "-slash" : ""}`} inline />
</button>