Profile settings: Fix shiftinfo email text
This commit is contained in:
parent
fa95bca673
commit
2e26f41964
|
@ -435,7 +435,7 @@ function guest_register()
|
||||||
form_checkbox(
|
form_checkbox(
|
||||||
'email_shiftinfo',
|
'email_shiftinfo',
|
||||||
__(
|
__(
|
||||||
'The %s is allowed to send me an email (e.g. when my shifts change)',
|
'settings.profile.email_shiftinfo',
|
||||||
[config('app_name')]
|
[config('app_name')]
|
||||||
),
|
),
|
||||||
$email_shiftinfo
|
$email_shiftinfo
|
||||||
|
|
|
@ -1067,9 +1067,6 @@ msgstr ""
|
||||||
"Mit diesem Formular registrierst Du Dich als Engel. Du bekommst ein Konto in "
|
"Mit diesem Formular registrierst Du Dich als Engel. Du bekommst ein Konto in "
|
||||||
"der Engel-Aufgabenverwaltung."
|
"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"
|
msgid "Notify me of new news"
|
||||||
msgstr "Benachrichtige mich bei neuen News"
|
msgstr "Benachrichtige mich bei neuen News"
|
||||||
|
|
||||||
|
|
|
@ -1339,8 +1339,7 @@ msgstr ""
|
||||||
|
|
||||||
#: includes/pages/guest_login.php:229 includes/view/User_view.php:50
|
#: includes/pages/guest_login.php:229 includes/view/User_view.php:50
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid "settings.profile.email_shiftinfo"
|
||||||
"The %s is allowed to send me an email (e.g. when my shifts change)"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Permito que o %s me envie emails (por exemplo, quando meus turnos "
|
"Permito que o %s me envie emails (por exemplo, quando meus turnos "
|
||||||
"mudam)"
|
"mudam)"
|
||||||
|
|
|
@ -109,9 +109,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
{{ f.checkbox('email_shiftinfo', __('settings.profile.email_shiftinfo'), {
|
{{ f.checkbox('email_shiftinfo', __('settings.profile.email_shiftinfo', [config('app_name')]), {
|
||||||
'checked': [config('app_name')],
|
'checked': user.settings.email_shiftinfo,
|
||||||
'value': user.settings.email_shiftinfo,
|
|
||||||
}) }}
|
}) }}
|
||||||
{{ f.checkbox('email_news', __('settings.profile.email_news'), {
|
{{ f.checkbox('email_news', __('settings.profile.email_news'), {
|
||||||
'checked': user.settings.email_news,
|
'checked': user.settings.email_news,
|
||||||
|
@ -129,7 +128,6 @@
|
||||||
%}
|
%}
|
||||||
{{ f.checkbox('email_goody', email_goody_label, {
|
{{ f.checkbox('email_goody', email_goody_label, {
|
||||||
'checked': user.settings.email_goody,
|
'checked': user.settings.email_goody,
|
||||||
'value': user.settings.email_goody,
|
|
||||||
'raw_label': true,
|
'raw_label': true,
|
||||||
}) }}
|
}) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue