From 3ffb0a38e8a360bcee53afa501965015a8d985fb Mon Sep 17 00:00:00 2001 From: Xu Date: Fri, 17 Nov 2023 12:26:41 +0100 Subject: [PATCH] add user-info hint --- includes/pages/admin_user.php | 22 ++++++++++++++-------- resources/lang/de_DE/default.po | 3 +++ resources/lang/en_US/default.po | 3 +++ 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/includes/pages/admin_user.php b/includes/pages/admin_user.php index dbb19a1a..dbb5dcfe 100644 --- a/includes/pages/admin_user.php +++ b/includes/pages/admin_user.php @@ -85,12 +85,18 @@ function admin_user() . '' . "\n"; } + // User info if ($user_info_edit) { - $html .= ' ' . __('user.info') . '' - . '' - . '' . "\n"; + $html .= ' ' + . __('user.info') + . ' ' + . '' + . '' + . '' . "\n"; } $options = [ @@ -98,7 +104,7 @@ function admin_user() '0' => __('No'), ]; - // Gekommen? + // Arrived? $html .= ' ' . __('user.arrived') . '' . "\n"; if ($user_source->state->arrived) { $html .= __('Yes'); @@ -107,11 +113,11 @@ function admin_user() } $html .= '' . "\n"; - // Aktiv? + // Active? $html .= ' ' . __('user.active') . '' . "\n"; $html .= html_options('eAktiv', $options, $user_source->state->active) . '' . "\n"; - // Aktiv erzwingen + // Forced active? if (auth()->can('admin_active')) { $html .= ' ' . __('Force active') . '' . "\n"; $html .= html_options('force_active', $options, $user_source->state->force_active) . '' . "\n"; diff --git a/resources/lang/de_DE/default.po b/resources/lang/de_DE/default.po index d6689684..8b069711 100644 --- a/resources/lang/de_DE/default.po +++ b/resources/lang/de_DE/default.po @@ -1998,3 +1998,6 @@ msgstr "Ende" msgid "user.info" msgstr "Benutzer Info" + +msgid "user.info.hint" +msgstr "Wird auf der Benutzer Seite für Schichtkoordinatoren und Admins angezeigt." diff --git a/resources/lang/en_US/default.po b/resources/lang/en_US/default.po index 3711dca7..58806813 100644 --- a/resources/lang/en_US/default.po +++ b/resources/lang/en_US/default.po @@ -701,3 +701,6 @@ msgstr "End" msgid "user.info" msgstr "User info" + +msgid "user.info.hint" +msgstr "Is displayed for shift coordinators and admins in the user view."