From 142871f852c717319608de43d954180f17e5ed66 Mon Sep 17 00:00:00 2001 From: MichiK Date: Sun, 3 Dec 2017 04:05:02 +0100 Subject: Add a config option for maximum signup in advance We now have `signup_advance_hours` in the configuration that only allows signup for shifts so many hours in the future. A notice is displayed in the shift view for shifts in the far future, together with an info notice on when signup for that shift will be possible. In addition, we now have a new shift state `NOT_YET` for this purpose so we do not have to abuse `SHIFT_ENDED` anymore for `signup_requires_arrival` as well. --- resources/lang/de_DE.UTF-8/LC_MESSAGES/default.po | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'resources') diff --git a/resources/lang/de_DE.UTF-8/LC_MESSAGES/default.po b/resources/lang/de_DE.UTF-8/LC_MESSAGES/default.po index a41d9624..58bc44e9 100644 --- a/resources/lang/de_DE.UTF-8/LC_MESSAGES/default.po +++ b/resources/lang/de_DE.UTF-8/LC_MESSAGES/default.po @@ -2124,6 +2124,12 @@ msgstr "Eintragen" msgid "ended" msgstr "vorbei" +msgid "not yet" +msgstr "noch nicht" + +msgid "This shift is in the far future and becomes available for signup at %s." +msgstr "Diese Schicht liegt in der fernen Zukunft und du kannst dich ab %s eintragen." + # Wie ist dies zu verstehen bitte? #: includes/view/ShiftCalendarShiftRenderer.php:203 msgid "please arrive for signup" -- cgit v1.2.3-54-g00ecf