summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/EventConfig_view.php3
-rw-r--r--includes/view/User_view.php5
2 files changed, 6 insertions, 2 deletions
diff --git a/includes/view/EventConfig_view.php b/includes/view/EventConfig_view.php
index cd657c67..730593b1 100644
--- a/includes/view/EventConfig_view.php
+++ b/includes/view/EventConfig_view.php
@@ -1,6 +1,7 @@
<?php
use Carbon\Carbon;
+use Illuminate\Support\Str;
/**
* Shows basic event infos and countdowns.
@@ -24,7 +25,7 @@ function EventConfig_countdown_page()
$elements[] = div('col-sm-12 text-center', [
heading(sprintf(
__('Welcome to the %s!'),
- $name . ' <span class="icon-icon_angel"></span> ENGELSYSTEM'
+ $name . ' <span class="icon-icon_angel"></span> ' . Str::upper(config('app_name'))
), 2)
]);
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index ddf49885..fb541619 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -54,7 +54,10 @@ function User_settings_view(
form_text('mail', __('E-Mail') . ' ' . entry_required(), $user_source['email']),
form_checkbox(
'email_shiftinfo',
- __('The engelsystem is allowed to send me an email (e.g. when my shifts change)'),
+ __(
+ 'The %s is allowed to send me an email (e.g. when my shifts change)',
+ [config('app_name')]
+ ),
$user_source['email_shiftinfo']
),
form_checkbox(