Improve voucher texts

This commit is contained in:
Michael Weimann 2022-07-23 21:40:17 +02:00 committed by Igor Scheller
parent af458d75c6
commit d26965e95b
2 changed files with 9 additions and 9 deletions

View File

@ -159,8 +159,8 @@ function User_edit_vouchers_view($user)
]),
info(sprintf(
$user->state->force_active
? __('Angel should receive at least %d vouchers and is FA.')
: __('Angel should receive at least %d vouchers.'),
? __('Angel can receive another %d vouchers and is FA.')
: __('Angel can receive another %d vouchers.'),
User_get_eligable_voucher_count($user)
), true),
form(
@ -635,7 +635,7 @@ function User_view(
'users',
['action' => 'edit_vouchers', 'user_id' => $user_source->id]
),
icon('file-binary-fill') . __('Edit vouchers')
icon('file-binary-fill') . __('Vouchers')
)
: '',
$admin_user_worklog_privilege ? button(

View File

@ -2535,13 +2535,13 @@ msgstr "Dein Passwort"
#: includes/view/User_view.php:148
#, php-format
msgid "Angel should receive at least %d vouchers."
msgstr "Engel sollte mindestens %d Gutscheine bekommen."
msgid "Angel can receive another %d vouchers."
msgstr "Engel kann noch %d Gutscheine bekommen."
#: includes/view/User_view.php:148
#, php-format
msgid "Angel should receive at least %d vouchers and is FA."
msgstr "Engel sollte mindestens %d Gutscheine bekommen und ist FA."
msgid "Angel can receive another %d vouchers and is FA."
msgstr "Engel kann noch %d Gutscheine bekommen und ist FA."
#: includes/view/User_view.php:153
msgid "Number of vouchers given out"
@ -2649,8 +2649,8 @@ msgid "driving license"
msgstr "Führerschein"
#: includes/view/User_view.php:608
msgid "Edit vouchers"
msgstr "Gutschein bearbeiten"
msgid "Vouchers"
msgstr "Gutscheine"
#: includes/view/User_view.php:612
msgid "Add work log"