diff options
author | Bot <bot@myigel.name> | 2018-08-29 21:55:32 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-29 23:46:32 +0200 |
commit | e8f8fc7f5f5eba315290bc8d45348c3a4d4bee79 (patch) | |
tree | f882e29ee1ca436ee98a93a4f8a489630a71b9c1 /includes/view/ShiftCalendarRenderer.php | |
parent | 3a1164164791edbe30c7247b98585474867dd968 (diff) |
Replaced gettext translation `_()` with `__()` that uses the Translator class
Diffstat (limited to 'includes/view/ShiftCalendarRenderer.php')
-rw-r--r-- | includes/view/ShiftCalendarRenderer.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/includes/view/ShiftCalendarRenderer.php b/includes/view/ShiftCalendarRenderer.php index 731d063a..fc099d7d 100644 --- a/includes/view/ShiftCalendarRenderer.php +++ b/includes/view/ShiftCalendarRenderer.php @@ -143,7 +143,7 @@ class ShiftCalendarRenderer public function render() { if (count($this->lanes) == 0) { - return info(_('No shifts found.'), true); + return info(__('No shifts found.'), true); } return div('shift-calendar', [ $this->renderTimeLane(), @@ -245,7 +245,7 @@ class ShiftCalendarRenderer { $time_slot = [ div('header', [ - _('Time') + __('Time') ]) ]; for ($block = 0; $block < $this->getBlocksPerSlot(); $block++) { @@ -311,11 +311,11 @@ class ShiftCalendarRenderer private function renderLegend() { return div('legend', [ - label(_('Your shift'), 'primary'), - label(_('Help needed'), 'danger'), - label(_('Other angeltype needed / collides with my shifts'), 'warning'), - label(_('Shift is full'), 'success'), - label(_('Shift running/ended or user not arrived'), 'default') + label(__('Your shift'), 'primary'), + label(__('Help needed'), 'danger'), + label(__('Other angeltype needed / collides with my shifts'), 'warning'), + label(__('Shift is full'), 'success'), + label(__('Shift running/ended or user not arrived'), 'default') ]); } } |