mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-09 10:02:12 +00:00
Add translations
This commit is contained in:
parent
41f68bd2fc
commit
555bf1421b
|
@ -1 +1 @@
|
|||
Subproject commit 713ceed9c7ef84deaa222e68361e670e0763cd83
|
||||
Subproject commit a1a19aea1ad7d91195775a5ccea62ccc9076a2c7
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue