summaryrefslogtreecommitdiff
path: root/includes/view/ShiftCalendarRenderer.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-09-15 14:58:31 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-09-15 14:58:31 +0200
commitd0abc27c079f058c40a74b89e54bd21ba4aad53e (patch)
tree2d42f2a3c99d4a01930832c4e257bd550cbe9ac5 /includes/view/ShiftCalendarRenderer.php
parent13d2786b7b51df927c8976dc767cc27e88bc8e84 (diff)
parent5456fea5031000a6325cdcae5f1e9d4c16b6ed50 (diff)
Merge remote-tracking branch 'MyIgel/translations'
Diffstat (limited to 'includes/view/ShiftCalendarRenderer.php')
-rw-r--r--includes/view/ShiftCalendarRenderer.php14
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')
]);
}
}