added german date format for ticks in calender view + corresponding translation
This commit is contained in:
parent
386814805a
commit
e4712658a4
|
@ -222,14 +222,14 @@ class ShiftCalendarRenderer
|
||||||
return div('tick day');
|
return div('tick day');
|
||||||
}
|
}
|
||||||
return div('tick day', [
|
return div('tick day', [
|
||||||
date('m-d<b\r />H:i', $time)
|
date(__('m-d'), $time) .'<br>'.date(__('H:i'), $time)
|
||||||
]);
|
]);
|
||||||
} elseif ($time % (60 * 60) == 0) {
|
} elseif ($time % (60 * 60) == 0) {
|
||||||
if (!$label) {
|
if (!$label) {
|
||||||
return div('tick hour');
|
return div('tick hour');
|
||||||
}
|
}
|
||||||
return div('tick hour', [
|
return div('tick hour', [
|
||||||
date('m-d<b\r />H:i', $time)
|
date(__('m-d'), $time) .'<br>'.date(__('H:i'), $time)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
return div('tick');
|
return div('tick');
|
||||||
|
|
|
@ -2280,6 +2280,11 @@ msgstr "noch nicht"
|
||||||
msgid "Become %s"
|
msgid "Become %s"
|
||||||
msgstr "Werde ein %s"
|
msgstr "Werde ein %s"
|
||||||
|
|
||||||
|
#: includes/view/ShiftCalenderRenderer.php:225
|
||||||
|
#: includes/view/ShiftCalenderRenderer.php:232
|
||||||
|
msgid "m-d"
|
||||||
|
msgstr "d.m."
|
||||||
|
|
||||||
#: includes/view/ShiftEntry_view.php:18
|
#: includes/view/ShiftEntry_view.php:18
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Do you want to sign off %s from shift %s from %s to %s as %s?"
|
msgid "Do you want to sign off %s from shift %s from %s to %s as %s?"
|
||||||
|
|
Loading…
Reference in New Issue