Fix translation methods

This commit is contained in:
Igor Scheller 2019-08-21 22:11:20 +02:00
parent 1a6c7599d6
commit f73b8e7a0e
2 changed files with 5 additions and 5 deletions

View File

@ -205,7 +205,7 @@ class ShiftCalendarShiftRenderer
break;
case ShiftSignupState::NOT_YET:
$entry_list[] = $inner_text . ' (' . _('not yet') . ')';
$entry_list[] = $inner_text . ' (' . __('not yet') . ')';
break;
case ShiftSignupState::ANGELTYPE:

View File

@ -131,8 +131,8 @@ function Shift_view($shift, $shifttype, $room, $angeltypes_source, ShiftSignupSt
if (config('signup_advance_hours') && $shift['start'] > time() + config('signup_advance_hours') * 3600) {
$content[] = info(sprintf(
_('This shift is in the far future and becomes available for signup at %s.'),
date(_('Y-m-d') . ' H:i', $shift['start'] - config('signup_advance_hours') * 3600)
__('This shift is in the far future and becomes available for signup at %s.'),
date(__('Y-m-d') . ' H:i', $shift['start'] - config('signup_advance_hours') * 3600)
), true);
}