rename "Shifts" translation
This commit is contained in:
parent
49cc935ceb
commit
865ffe5e5a
|
@ -377,7 +377,7 @@ function admin_active()
|
|||
],
|
||||
($goodie_tshirt ? ['shirt_size' => __('Size')] : []),
|
||||
[
|
||||
'shift_count' => __('Shifts'),
|
||||
'shift_count' => __('general.shifts'),
|
||||
'work_time' => __('Length'),
|
||||
],
|
||||
($goodie_enabled ? ['score' => ($goodie_tshirt
|
||||
|
|
|
@ -17,7 +17,7 @@ use Illuminate\Support\Collection;
|
|||
*/
|
||||
function shifts_title()
|
||||
{
|
||||
return __('Shifts');
|
||||
return __('general.shifts');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -58,7 +58,7 @@ function make_navigation()
|
|||
$pages = [
|
||||
'news' => __('news.title'),
|
||||
'meetings' => [__('news.title.meetings'), 'user_meetings'],
|
||||
'user_shifts' => __('Shifts'),
|
||||
'user_shifts' => __('general.shifts'),
|
||||
'angeltypes' => __('angeltypes.angeltypes'),
|
||||
'questions' => [__('Ask the Heaven'), 'question.add'],
|
||||
];
|
||||
|
|
|
@ -517,7 +517,7 @@ function AngelType_view(
|
|||
$admin_angeltypes,
|
||||
$supporter
|
||||
),
|
||||
__('Shifts') => AngelType_view_shifts(
|
||||
__('general.shifts') => AngelType_view_shifts(
|
||||
$angeltype,
|
||||
$shiftsFilterRenderer,
|
||||
$shiftCalendarRenderer
|
||||
|
|
|
@ -62,7 +62,7 @@ function location_view(Location $location, ShiftsFilterRenderer $shiftsFilterRen
|
|||
);
|
||||
}
|
||||
|
||||
$tabs[__('Shifts')] = div('first', [
|
||||
$tabs[__('general.shifts')] = div('first', [
|
||||
$shiftsFilterRenderer->render(url('/locations', [
|
||||
'action' => 'view',
|
||||
'location_id' => $location->id,
|
||||
|
|
|
@ -722,7 +722,7 @@ function User_view(
|
|||
User_groups_render($user_groups),
|
||||
$admin_user_privilege ? User_oauth_render($user_source) : '',
|
||||
]),
|
||||
($its_me || $admin_user_privilege) ? '<h2>' . __('Shifts') . '</h2>' : '',
|
||||
($its_me || $admin_user_privilege) ? '<h2>' . __('general.shifts') . '</h2>' : '',
|
||||
$myshifts_table,
|
||||
($its_me && $nightShiftsConfig['enabled'] && $goodie_enabled) ? info(
|
||||
sprintf(
|
||||
|
|
|
@ -533,7 +533,7 @@ msgstr "Größe"
|
|||
msgid "No."
|
||||
msgstr "Nr."
|
||||
|
||||
msgid "Shifts"
|
||||
msgid "general.shifts"
|
||||
msgstr "Schichten"
|
||||
|
||||
msgid "Length"
|
||||
|
|
|
@ -34,6 +34,9 @@ msgstr "DECT"
|
|||
msgid "general.name"
|
||||
msgstr "Name"
|
||||
|
||||
msgid "general.shifts"
|
||||
msgstr "Shifts"
|
||||
|
||||
msgid "general.description"
|
||||
msgstr "Description"
|
||||
|
||||
|
|
Loading…
Reference in New Issue