Profile settings: Fix shiftinfo email text

This commit is contained in:
Igor Scheller 2023-05-11 16:31:07 +02:00 committed by Michael Weimann
parent fa95bca673
commit 2e26f41964
4 changed files with 4 additions and 10 deletions

View File

@ -435,7 +435,7 @@ function guest_register()
form_checkbox(
'email_shiftinfo',
__(
'The %s is allowed to send me an email (e.g. when my shifts change)',
'settings.profile.email_shiftinfo',
[config('app_name')]
),
$email_shiftinfo

View File

@ -1067,9 +1067,6 @@ msgstr ""
"Mit diesem Formular registrierst Du Dich als Engel. Du bekommst ein Konto in "
"der Engel-Aufgabenverwaltung."
msgid "The %s is allowed to send me an email (e.g. when my shifts change)"
msgstr "Das %s darf mir E-Mails senden (z.B. wenn sich meine Schichten ändern)"
msgid "Notify me of new news"
msgstr "Benachrichtige mich bei neuen News"

View File

@ -1339,8 +1339,7 @@ msgstr ""
#: includes/pages/guest_login.php:229 includes/view/User_view.php:50
#, php-format
msgid ""
"The %s is allowed to send me an email (e.g. when my shifts change)"
msgid "settings.profile.email_shiftinfo"
msgstr ""
"Permito que o %s me envie emails (por exemplo, quando meus turnos "
"mudam)"

View File

@ -109,9 +109,8 @@
</div>
<div class="col-md-6">
{{ f.checkbox('email_shiftinfo', __('settings.profile.email_shiftinfo'), {
'checked': [config('app_name')],
'value': user.settings.email_shiftinfo,
{{ f.checkbox('email_shiftinfo', __('settings.profile.email_shiftinfo', [config('app_name')]), {
'checked': user.settings.email_shiftinfo,
}) }}
{{ f.checkbox('email_news', __('settings.profile.email_news'), {
'checked': user.settings.email_news,
@ -129,7 +128,6 @@
%}
{{ f.checkbox('email_goody', email_goody_label, {
'checked': user.settings.email_goody,
'value': user.settings.email_goody,
'raw_label': true,
}) }}
{% endif %}