From a007a23d758709d1b7210b2c79f4ce17fb6c18f0 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Wed, 12 Dec 2012 00:22:30 +0100 Subject: fix #91 (SQL error in shift filter) and translate "shifts" and "my shifts" a lot --- db/update.d/17_translations.php | 60 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 db/update.d/17_translations.php (limited to 'db/update.d') diff --git a/db/update.d/17_translations.php b/db/update.d/17_translations.php new file mode 100644 index 00000000..05b520d3 --- /dev/null +++ b/db/update.d/17_translations.php @@ -0,0 +1,60 @@ +diesen Link (bitte geheimhalten, im Notfall Deinen iCal-Key zurücksetzen):'), +('inc_schicht_ical_text', 'EN', 'To subscribe the shifts shown in your calendar software, use this link (please keep secret, otherwise reset the ical key):'), +('helpers', 'DE', 'Helfer'), +('helpers', 'EN', 'helpers'), +('helper', 'DE', 'Helfer'), +('helper', 'EN', 'helper'), +('needed', 'DE', 'gebraucht'), +('needed', 'EN', 'needed'), +('pub_myshifts_intro', 'DE', 'Hier sind Deine Schichten.
Versuche bitte 15 Minuten vor Schichtbeginn anwesend zu sein!
Du kannst Dich %d Stunden vor Schichtbeginn noch aus Schichten wieder austragen.'), +('pub_myshifts_intro', 'EN', 'These are your shifts.
Please try to appear 15 minutes before your shift begins!
You can remove yourself from a shift up to %d hours before it starts.'), +('pub_myshifts_goto_shifts', 'DE', 'Gehe zum Schichtplan um Dich für Schichten einzutragen.'), +('pub_myshifts_goto_shifts', 'EN', 'Go to the shifts table to sign yourself up for some shifts.'), +('pub_myshifts_signed_off', 'DE', 'Du wurdest aus der Schicht ausgetragen.'), +('pub_myshifts_signed_off', 'EN', 'You have been signed off from the shift.'), +('pub_myshifts_too_late', 'DE', 'Es ist zu spät um sich aus der Schicht auszutragen. Frage ggf. den Schichtkoordinator, ob er dich austragen kann.'), +('pub_myshifts_too_late', 'EN', 'It\'s too late to sign yourself off the shift. If neccessary, as the dispatcher to do so.'), +('sign_off', 'DE', 'austragen'), +('sign_off', 'EN', 'sign off'), +;"); + +if(mysql_affected_rows() > 0) + $applied = true; -- cgit v1.2.3-54-g00ecf