mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-20 10:57:40 +02:00
Added translations.
This commit is contained in:
parent
2773d36886
commit
df6546d94d
6 changed files with 1621 additions and 783 deletions
|
@ -32,6 +32,7 @@ class ScanDialogType extends AbstractType
|
|||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
{
|
||||
$builder->add('input', TextType::class, [
|
||||
'label' => 'scan_dialog.input',
|
||||
'attr' => [
|
||||
'autofocus' => true,
|
||||
'id' => 'scan_dialog_input',
|
||||
|
@ -39,7 +40,7 @@ class ScanDialogType extends AbstractType
|
|||
]);
|
||||
|
||||
$builder->add('submit', SubmitType::class, [
|
||||
|
||||
'label' => 'scan_dialog.submit'
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
@ -178,6 +178,7 @@ class UserAdminForm extends AbstractType
|
|||
'attr' => [
|
||||
'class' => 'selectpicker',
|
||||
],
|
||||
'choice_translation_domain' => false,
|
||||
'placeholder' => 'user_settings.theme.placeholder',
|
||||
'label' => 'user.theme.label',
|
||||
'disabled' => ! $this->security->isGranted('change_user_settings', $entity),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue