mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-14 06:59:30 +00:00
Made password toggle buttons labels translatable
This commit is contained in:
parent
d55d9b43f9
commit
3649fffde1
2 changed files with 14 additions and 2 deletions
|
|
@ -46,8 +46,8 @@ final class TogglePasswordTypeExtension extends AbstractTypeExtension
|
|||
{
|
||||
$resolver->setDefaults([
|
||||
'toggle' => false,
|
||||
'hidden_label' => 'Hide',
|
||||
'visible_label' => 'Show',
|
||||
'hidden_label' => new TranslatableMessage('password_toggle.hide'),
|
||||
'visible_label' => new TranslatableMessage('password_toggle.show'),
|
||||
'hidden_icon' => 'Default',
|
||||
'visible_icon' => 'Default',
|
||||
'button_classes' => ['toggle-password-button'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue