Replace `Please select...` with translation key

This commit is contained in:
Igor Scheller 2023-05-11 19:04:07 +02:00 committed by Michael Weimann
parent b07f879d64
commit ab5f6a270c
7 changed files with 11 additions and 8 deletions

View File

@ -79,7 +79,7 @@ function admin_user()
'eSize', 'eSize',
$tshirt_sizes, $tshirt_sizes,
$user_source->personalData->shirt_size, $user_source->personalData->shirt_size,
__('Please select...') __('form.select_placeholder')
) )
. '</td></tr>' . "\n"; . '</td></tr>' . "\n";
} }

View File

@ -505,7 +505,7 @@ function guest_register()
__('Shirt size') . ' ' . entry_required(), __('Shirt size') . ' ' . entry_required(),
$tshirt_sizes, $tshirt_sizes,
$tshirt_size, $tshirt_size,
__('Please select...') __('form.select_placeholder')
) : '', ) : '',
]), ]),
]), ]),

View File

@ -999,9 +999,6 @@ msgstr "Alle Engel"
msgid "This user does not exist." msgid "This user does not exist."
msgstr "Benutzer existiert nicht." msgstr "Benutzer existiert nicht."
msgid "Please select..."
msgstr "Bitte auswählen..."
msgid "Yes" msgid "Yes"
msgstr "Ja" msgstr "Ja"
@ -1953,6 +1950,9 @@ msgstr ""
msgid "form.select_placeholder"
msgstr "Bitte auswählen..."
msgid "form.load_schedule" msgid "form.load_schedule"
msgstr "Programm laden" msgstr "Programm laden"

View File

@ -49,6 +49,9 @@ msgstr ""
"[contributors list on GitHub](https://github.com/engelsystem/engelsystem/graphs/contributors)" "[contributors list on GitHub](https://github.com/engelsystem/engelsystem/graphs/contributors)"
" for a complete list." " for a complete list."
msgid "form.select_placeholder"
msgstr "Please select..."
msgid "form.load_schedule" msgid "form.load_schedule"
msgstr "Load schedule" msgstr "Load schedule"

View File

@ -2168,7 +2168,7 @@ msgid "Truck 12t"
msgstr "Caminhão 12t" msgstr "Caminhão 12t"
#: includes/view/User_view.php:7 #: includes/view/User_view.php:7
msgid "Please select..." msgid "form.select_placeholder"
msgstr "Por favor selecione..." msgstr "Por favor selecione..."
#: includes/view/User_view.php:38 #: includes/view/User_view.php:38

View File

@ -22,7 +22,7 @@
'selected': userdata.personalData.shirt_size, 'selected': userdata.personalData.shirt_size,
'required': true, 'required': true,
'required_icon': true, 'required_icon': true,
'default_option': __('Please select...'), 'default_option': __('form.select_placeholder'),
}) }} }) }}
</div> </div>
{% endif %} {% endif %}

View File

@ -141,7 +141,7 @@
'selected': user.personalData.shirt_size, 'selected': user.personalData.shirt_size,
'required': true, 'required': true,
'required_icon': true, 'required_icon': true,
'default_option': __('Please select...'), 'default_option': __('form.select_placeholder'),
}) }} }) }}
</div> </div>
{% endif %} {% endif %}