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',
$tshirt_sizes,
$user_source->personalData->shirt_size,
__('Please select...')
__('form.select_placeholder')
)
. '</td></tr>' . "\n";
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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