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

View File

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