Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • AlekSIS/official/AlekSIS-App-Chronos
  • sunweaver/AlekSIS-App-Chronos
  • sggua/AlekSIS-App-Chronos
  • tincmeKdenka/AlekSIS-App-Chronos
  • ligquamacti/AlekSIS-App-Chronos
  • 1crotatilhe/AlekSIS-App-Chronos
  • 1compluningi/AlekSIS-App-Chronos
  • starwardcarfi/AlekSIS-App-Chronos
  • ceohecholeg/AlekSIS-App-Chronos
  • 7quecontranchi/AlekSIS-App-Chronos
  • 8evsubcesza/AlekSIS-App-Chronos
  • unscinKibdzu/AlekSIS-App-Chronos
  • delucPchondmu/AlekSIS-App-Chronos
13 results
Show changes
Commits on Source (17)
Showing
with 1540 additions and 2144 deletions
Changelog
=========
`2.0a2`_
--------
New features
~~~~~~~~~~~~
* Header box with absent and affected teachers and groups
* Models for advanced features from SchoolApps (imported from Untis)
* Provide smart plan for current day as dashboard widget
* Roles and permissions for timetable and lists
* Show events in timetable
* Show exams in timetable
* Show holidays in timetable
* Show supervision substitutions in timetable and list
Minor changes
~~~~~~~~~~~~~
* Improve handling of diferent types (substitutions, timetables,…)
* Improve view for groups in timetable views
* More intelligent personal timetable (checks if current person is teacher,…)
* Move get_*_by_pk functions to util
* Move prev/next function to models
* Refactor timetable view logic
* Rename field abbrev to short_name
* Show announcements in timetable views
Bug fixes
~~~~~~~~~
* Force all lessons in timetable to same height
* Render empty period correctly
`2.0a1`_
--------
......@@ -69,3 +102,4 @@ _`1.0a1`: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/1.0a1
_`1.0a2`: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/1.0a2
_`1.0a3`: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/1.0a3
_`2.0a1`: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0a1
_`2.0a2`: https://edugit.org/AlekSIS/Official/AlekSIS-App-Chronos/-/tags/2.0a2
......@@ -9,7 +9,15 @@ This is an application for use with the `AlekSIS`_ platform.
Features
--------
The Chronos app provides functionality for digital timetables.
* Show absent groups in timetable
* Show absent teachers in timetable
* Show affected groups in timetable
* Show affected teachers in timetable
* Timetables per day
* Timetables per group
* Timetables per person
* Timetables per room
* Timetables per week
Licence
-------
......@@ -19,6 +27,7 @@ Licence
Copyright © 2018, 2019, 2020 Jonathan Weth <wethjo@katharineum.de>
Copyright © 2018, 2019 Frank Poetzsch-Heffter <p-h@katharineum.de>
Copyright © 2019, 2020 Dominik George <dominik.george@teckids.org>
Copyright © 2019 Julian Leucker <leuckeju@katharineum.de>
Copyright © 2019 Tom Teichler <tom.teichler@teckids.org>
Copyright © 2019 Hangzhi Yu <yuha@katharineum.de>
......@@ -29,5 +38,5 @@ full licence text or on the `European Union Public Licence`_ website
https://joinup.ec.europa.eu/collection/eupl/guidelines-users-and-developers
(including all other official language versions).
.. _AlekSIS: https://edugit.org/AlekSIS/Official/AlekSIS
.. _AlekSIS: https://aleksis.org/
.. _European Union Public Licence: https://eupl.eu/
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-28 13:31+0000\n"
"POT-Creation-Date: 2020-05-04 15:42+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -16,9 +16,10 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#: forms.py:25
#: forms.py:29
msgid "Options for timetables"
msgstr ""
......@@ -31,355 +32,364 @@ msgstr ""
msgid "My timetable"
msgstr ""
#: menus.py:22 templates/chronos/all.html:11 templates/chronos/all.html:12
#: menus.py:27 templates/chronos/all.html:11 templates/chronos/all.html:12
msgid "All timetables"
msgstr ""
#: menus.py:28
#: menus.py:38
msgid "Daily lessons"
msgstr ""
#: menus.py:34 templates/chronos/substitutions.html:11
#: menus.py:49 templates/chronos/substitutions.html:11
#: templates/chronos/substitutions.html:17
#: templates/chronos/substitutions_print.html:12
#: templates/chronos/substitutions_print.html:17
msgid "Substitutions"
msgstr ""
#: model_extensions.py:94
#: model_extensions.py:89
msgid "Show announcement in timetable views?"
msgstr ""
#: models.py:286
#: models.py:45
msgid "Week day"
msgstr ""
#: models.py:287
#: models.py:46
msgid "Number of period"
msgstr ""
#: models.py:289
msgid "Time the period starts"
#: models.py:48
msgid "Start time"
msgstr ""
#: models.py:290
msgid "Time the period ends"
#: models.py:49
msgid "End time"
msgstr ""
#: models.py:388
#: models.py:144 models.py:277 models.py:732
msgid "Time period"
msgstr ""
#: models.py:389
#: models.py:145
msgid "Time periods"
msgstr ""
#: models.py:393
msgid "Short name of subject"
#: models.py:149 models.py:165 models.py:375 models.py:531 models.py:546
msgid "Short name"
msgstr ""
#: models.py:394
msgid "Long name of subject"
#: models.py:150 models.py:166 models.py:532 models.py:547
msgid "Long name"
msgstr ""
#: models.py:397
msgid "Foreground colour in timetable"
#: models.py:152
msgid "Foreground colour"
msgstr ""
#: models.py:403
msgid "Background colour in timetable"
#: models.py:153
msgid "Background colour"
msgstr ""
#: models.py:418
msgid "Short name, e.g. room number"
#: models.py:160 models.py:179 models.py:224 models.py:739
#: templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
#: models.py:161
msgid "Subjects"
msgstr ""
#: models.py:173 models.py:229 models.py:281 models.py:423 models.py:748
#: templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr ""
#: models.py:174 models.py:691 templates/chronos/all.html:39
msgid "Rooms"
msgstr ""
#: models.py:182 models.py:227 models.py:693 models.py:745 tables.py:35
#: templates/chronos/all.html:17 templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr ""
#: models.py:185
msgid "Periods"
msgstr ""
#: models.py:187 models.py:690 models.py:742 tables.py:34
#: templates/chronos/all.html:28
msgid "Groups"
msgstr ""
#: models.py:459
msgid "Effective start date of lesson"
#: models.py:189 models.py:426 models.py:496 models.py:677
msgid "Start date"
msgstr ""
#: models.py:460
msgid "Effective end date of lesson"
#: models.py:190 models.py:427 models.py:497 models.py:678
msgid "End date"
msgstr ""
#: models.py:479
#: models.py:205 models.py:274 models.py:463
msgid "Lesson"
msgstr ""
#: models.py:480 templates/chronos/lessons_day.html:9
#: models.py:206 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: models.py:486 models.py:1096
#: models.py:212 models.py:730
msgid "Week"
msgstr ""
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
#: models.py:215 models.py:330
msgid "Lesson period"
msgstr ""
#: models.py:503
#: models.py:231
msgid "Cancelled?"
msgstr ""
#: models.py:504
#: models.py:233
msgid "Cancelled for teachers?"
msgstr ""
#: models.py:506 models.py:712 models.py:739 models.py:1104
#: models.py:236 models.py:442 models.py:483 models.py:751
msgid "Comment"
msgstr ""
#: models.py:510
#: models.py:240
msgid "Lessons can only be either substituted or cancelled."
msgstr ""
#: models.py:543
#: models.py:264
msgid "Lesson substitution"
msgstr ""
#: models.py:544
#: models.py:265
msgid "Lesson substitutions"
msgstr ""
#: models.py:601
msgid "Lesson period"
msgstr ""
#: models.py:602
#: models.py:331
msgid "Lesson periods"
msgstr ""
#: models.py:643
#: models.py:370
msgid "Timetable widget"
msgstr ""
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
#: models.py:371
msgid "Timetable widgets"
msgstr ""
#: models.py:675
#: models.py:376
msgid "Name"
msgstr ""
#: models.py:684
#: models.py:385 models.py:398
msgid "Absence reason"
msgstr ""
#: models.py:685
#: models.py:386
msgid "Absence reasons"
msgstr ""
#: models.py:708
msgid "Effective start date of absence"
#: models.py:407 models.py:617 models.py:654
#: templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:709
msgid "Effective end date of absence"
#: models.py:415
msgid "Group"
msgstr ""
#: models.py:710
msgid "Effective start period of absence"
#: models.py:431 models.py:470
msgid "Start period"
msgstr ""
#: models.py:711
msgid "Effective end period of absence"
#: models.py:438 models.py:477
msgid "End period"
msgstr ""
#: models.py:722
#: models.py:452
msgid "Unknown absence"
msgstr ""
#: models.py:727
#: models.py:457
msgid "Absence"
msgstr ""
#: models.py:728
#: models.py:458
msgid "Absences"
msgstr ""
#: models.py:734
#: models.py:466
msgid "Date of exam"
msgstr ""
#: models.py:735
msgid "Effective start period of exam"
msgstr ""
#: models.py:736
msgid "Effective end period of exam"
msgstr ""
#: models.py:738 models.py:1032
#: models.py:482 models.py:495 models.py:675
msgid "Title"
msgstr ""
#: models.py:744
#: models.py:488
msgid "Exam"
msgstr ""
#: models.py:745
#: models.py:489
msgid "Exams"
msgstr ""
#: models.py:755
msgid "Title of the holidays"
msgstr ""
#: models.py:756
msgid "Effective start date of holidays"
msgstr ""
#: models.py:757
msgid "Effective end date of holidays"
msgstr ""
#: models.py:758
#: models.py:498
msgid "Comments"
msgstr ""
#: models.py:786
#: models.py:526
msgid "Holiday"
msgstr ""
#: models.py:787
#: models.py:527
msgid "Holidays"
msgstr ""
#: models.py:801 models.py:902
#: models.py:541 models.py:610
msgid "Supervision area"
msgstr ""
#: models.py:802
#: models.py:542
msgid "Supervision areas"
msgstr ""
#: models.py:810
msgid "Effective start of break"
#: models.py:552
msgid "Time period after break starts"
msgstr ""
#: models.py:813
msgid "Effective end of break"
#: models.py:560
msgid "Time period before break ends"
msgstr ""
#: models.py:862 models.py:903
#: models.py:600 models.py:614
msgid "Break"
msgstr ""
#: models.py:863
#: models.py:601
msgid "Breaks"
msgstr ""
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: models.py:641 models.py:648 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
#: models.py:930
#: models.py:642
msgid "Supervisions"
msgstr ""
#: models.py:934
#: models.py:646
msgid "Date"
msgstr ""
#: models.py:947
#: models.py:666
msgid "Supervision substitution"
msgstr ""
#: models.py:948
#: models.py:667
msgid "Supervision substitutions"
msgstr ""
#: models.py:1034
msgid "Effective start date of event"
#: models.py:683
msgid "Start time period"
msgstr ""
#: models.py:1035
msgid "Effective end date of event"
#: models.py:687
msgid "End time period"
msgstr ""
#: models.py:1037
msgid "Effective start period of event"
#: models.py:700
#, python-brace-format
msgid "Event {self.pk}"
msgstr ""
#: models.py:1038
msgid "Effective end period of event"
#: models.py:721 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
#: models.py:722
msgid "Events"
msgstr ""
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
#: models.py:757
msgid "Extra lesson"
msgstr ""
#: models.py:1042 models.py:1101 tables.py:32 templates/chronos/all.html:17
#: templates/chronos/substitutions_print.html:28
msgid "Teachers"
#: models.py:758
msgid "Extra lessons"
msgstr ""
#: models.py:1048
msgid "Event {}"
#: models.py:765
msgid "Can view all timetables"
msgstr ""
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
#: models.py:766
msgid "Can view timetable overview"
msgstr ""
#: models.py:1070
msgid "Events"
#: models.py:767
msgid "Can view all lessons per day"
msgstr ""
#: models.py:1110
msgid "Extra lesson"
#: preferences.py:8
msgid "Chronos"
msgstr ""
#: models.py:1111
msgid "Extra lessons"
#: preferences.py:16
msgid "Use parent groups in timetable views"
msgstr ""
#: settings.py:7
msgid "If an lesson or substitution has only one group and this group has parent groups, show the parent groups instead of the original group."
#: preferences.py:18
msgid ""
"If an lesson or substitution has only one group and this group has parent "
"groups, show the parent groups instead of the original group."
msgstr ""
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
#: preferences.py:29
msgid "Shorten groups in timetable views"
msgstr ""
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
#: preferences.py:30
msgid "If there are more groups than the set limit, they will be collapsed."
msgstr ""
#: settings.py:26
#: preferences.py:38
msgid "Limit of groups for shortening of groups"
msgstr ""
#: preferences.py:40
msgid ""
"If an user activates shortening of groups,they will be collapsed if there "
"are more groups than this limit."
msgstr ""
#: preferences.py:50
msgid "Number of days shown on substitutions print view"
msgstr ""
#: settings.py:30
#: preferences.py:58
msgid "Show header box in substitution views"
msgstr ""
#: preferences.py:59
msgid "The header box shows affected teachers/groups."
msgstr ""
#: tables.py:36
#: tables.py:41
msgid "Substitution"
msgstr ""
#: tables.py:37
#: tables.py:43
msgid "Manage substitution"
msgstr ""
......@@ -428,8 +438,8 @@ msgid "Cancelled for teachers"
msgstr ""
#: templates/chronos/partials/week_select.html:14
#: templates/chronos/partials/week_select.html:24
#: templates/chronos/partials/week_select.html:34
#: templates/chronos/partials/week_select.html:25
#: templates/chronos/partials/week_select.html:36
msgid "CW"
msgstr ""
......@@ -482,10 +492,10 @@ msgstr ""
msgid "Go to smart plan"
msgstr ""
#: views.py:230
#: views.py:234
msgid "The substitution has been saved."
msgstr ""
#: views.py:252
#: views.py:255
msgid "The substitution has been deleted."
msgstr ""
......@@ -7,10 +7,11 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-28 13:31+0000\n"
"PO-Revision-Date: 2020-04-26 15:23+0000\n"
"POT-Creation-Date: 2020-05-04 15:42+0200\n"
"PO-Revision-Date: 2020-05-04 14:31+0000\n"
"Last-Translator: Jonathan Weth <teckids@jonathanweth.de>\n"
"Language-Team: German <https://translate.edugit.org/projects/aleksis/aleksis-app-chronos/de/>\n"
"Language-Team: German <https://translate.edugit.org/projects/aleksis/"
"aleksis-app-chronos/de/>\n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
......@@ -18,7 +19,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.0.1\n"
#: forms.py:25
#: forms.py:29
msgid "Options for timetables"
msgstr "Einstellungen für Stundenpläne"
......@@ -31,357 +32,373 @@ msgstr "Stundenpläne"
msgid "My timetable"
msgstr "Mein Plan"
#: menus.py:22 templates/chronos/all.html:11 templates/chronos/all.html:12
#: menus.py:27 templates/chronos/all.html:11 templates/chronos/all.html:12
msgid "All timetables"
msgstr "Alle Stundenpläne"
#: menus.py:28
#: menus.py:38
msgid "Daily lessons"
msgstr "Tages-Stunden"
msgstr "Tagesstunden"
#: menus.py:34 templates/chronos/substitutions.html:11
#: menus.py:49 templates/chronos/substitutions.html:11
#: templates/chronos/substitutions.html:17
#: templates/chronos/substitutions_print.html:12
#: templates/chronos/substitutions_print.html:17
msgid "Substitutions"
msgstr "Vertretungen"
#: model_extensions.py:94
#: model_extensions.py:89
msgid "Show announcement in timetable views?"
msgstr "Ankündigungen in Stundenplanansichten anzeigen?"
#: models.py:286
#: models.py:45
msgid "Week day"
msgstr "Wochentag"
#: models.py:287
#: models.py:46
msgid "Number of period"
msgstr "Nummer der Stunde"
#: models.py:289
msgid "Time the period starts"
msgstr "Anfangszeit der Stunde"
#: models.py:48
msgid "Start time"
msgstr "Startzeit"
#: models.py:290
msgid "Time the period ends"
msgstr "Endzeit der Stunde"
#: models.py:49
msgid "End time"
msgstr "Endzeit"
#: models.py:388
#: models.py:144 models.py:277 models.py:732
msgid "Time period"
msgstr "Stunde"
#: models.py:389
#: models.py:145
msgid "Time periods"
msgstr "Stunden"
#: models.py:393
#, fuzzy
#| msgid "Long name of subject"
msgid "Short name of subject"
msgstr "Name des Faches"
#: models.py:149 models.py:165 models.py:375 models.py:531 models.py:546
msgid "Short name"
msgstr "Kurzname"
#: models.py:394
msgid "Long name of subject"
msgstr "Name des Faches"
#: models.py:150 models.py:166 models.py:532 models.py:547
msgid "Long name"
msgstr "Langer Name"
#: models.py:397
msgid "Foreground colour in timetable"
msgstr "Vordergrundfarbe im Stundenplan"
#: models.py:152
msgid "Foreground colour"
msgstr "Vordergrundfarbe"
#: models.py:403
msgid "Background colour in timetable"
msgstr "Hintergrundfarbe im Stundenplan"
#: models.py:153
msgid "Background colour"
msgstr "Hintergrundfarbe"
#: models.py:418
msgid "Short name, e.g. room number"
msgstr "Kurzer Name, z.B. Raumnummer"
#: models.py:160 models.py:179 models.py:224 models.py:739
#: templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr "Fach"
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
msgstr "Langer Name"
#: models.py:161
msgid "Subjects"
msgstr "Fächer"
#: models.py:173 models.py:229 models.py:281 models.py:423 models.py:748
#: templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr "Raum"
#: models.py:459
msgid "Effective start date of lesson"
msgstr "Effektives Startdatum des Unterrichts"
#: models.py:174 models.py:691 templates/chronos/all.html:39
msgid "Rooms"
msgstr "Räume"
#: models.py:460
msgid "Effective end date of lesson"
msgstr "Effektives Enddatum des Unterrichts"
#: models.py:182 models.py:227 models.py:693 models.py:745 tables.py:35
#: templates/chronos/all.html:17 templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr "Lehrkräfte"
#: models.py:479
#: models.py:185
msgid "Periods"
msgstr "Stunden"
#: models.py:187 models.py:690 models.py:742 tables.py:34
#: templates/chronos/all.html:28
msgid "Groups"
msgstr "Gruppen"
#: models.py:189 models.py:426 models.py:496 models.py:677
msgid "Start date"
msgstr "Startdatum"
#: models.py:190 models.py:427 models.py:497 models.py:678
msgid "End date"
msgstr "Enddatum"
#: models.py:205 models.py:274 models.py:463
msgid "Lesson"
msgstr "Unterrichtsstunde"
#: models.py:480 templates/chronos/lessons_day.html:9
#: models.py:206 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr "Unterrichtsstunden"
#: models.py:486 models.py:1096
#: models.py:212 models.py:730
msgid "Week"
msgstr "Woche"
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr "Fach"
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr "Raum"
#: models.py:215 models.py:330
msgid "Lesson period"
msgstr "Unterrichtsstunde"
#: models.py:503
#: models.py:231
msgid "Cancelled?"
msgstr "Entfällt?"
#: models.py:504
#: models.py:233
msgid "Cancelled for teachers?"
msgstr "Entfällt für Lehrkräfte?"
#: models.py:506 models.py:712 models.py:739 models.py:1104
#: models.py:236 models.py:442 models.py:483 models.py:751
msgid "Comment"
msgstr "Kommentar"
#: models.py:510
#: models.py:240
msgid "Lessons can only be either substituted or cancelled."
msgstr "Unterrichtsstunden können nur entweder vertreten werden oder ausfallen."
msgstr ""
"Unterrichtsstunden können nur entweder vertreten werden oder ausfallen."
#: models.py:543
#: models.py:264
msgid "Lesson substitution"
msgstr "Vertretung"
#: models.py:544
#: models.py:265
msgid "Lesson substitutions"
msgstr "Vertretungen"
#: models.py:601
msgid "Lesson period"
msgstr "Unterrichtsstunde"
#: models.py:602
#: models.py:331
msgid "Lesson periods"
msgstr "Unterrichtsstunden"
#: models.py:643
#: models.py:370
msgid "Timetable widget"
msgstr "Stundenplanwidget"
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
msgstr "Kurzname"
#: models.py:371
msgid "Timetable widgets"
msgstr "Stundenplanwidgets"
#: models.py:675
#: models.py:376
msgid "Name"
msgstr "Name"
#: models.py:684
#: models.py:385 models.py:398
msgid "Absence reason"
msgstr "Absenzgrund"
#: models.py:685
#: models.py:386
msgid "Absence reasons"
msgstr "Absenzgründe"
#: models.py:708
msgid "Effective start date of absence"
msgstr "Effektives Startdatum der Absenz"
#: models.py:407 models.py:617 models.py:654
#: templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr "Lehrkraft"
#: models.py:709
msgid "Effective end date of absence"
msgstr "Effektives Enddatum der Absenz"
#: models.py:415
msgid "Group"
msgstr "Gruppe"
#: models.py:710
msgid "Effective start period of absence"
msgstr "Effektive Startstunde der Absenz"
#: models.py:431 models.py:470
msgid "Start period"
msgstr "Startstunde"
#: models.py:711
msgid "Effective end period of absence"
msgstr "Effektive Endstunde der Absenz"
#: models.py:438 models.py:477
msgid "End period"
msgstr "Endstunde"
#: models.py:722
#: models.py:452
msgid "Unknown absence"
msgstr "Unbekannte Absenz"
#: models.py:727
#: models.py:457
msgid "Absence"
msgstr "Absenz"
#: models.py:728
#: models.py:458
msgid "Absences"
msgstr "Absenzen"
#: models.py:734
#: models.py:466
msgid "Date of exam"
msgstr "Datum der Klausur"
#: models.py:735
msgid "Effective start period of exam"
msgstr "Effektive Startstunde der Klausur"
#: models.py:736
msgid "Effective end period of exam"
msgstr "Effektive Endstunde der Klausur"
#: models.py:738 models.py:1032
#: models.py:482 models.py:495 models.py:675
msgid "Title"
msgstr "Titel"
#: models.py:744
#: models.py:488
msgid "Exam"
msgstr "Klausur"
#: models.py:745
#: models.py:489
msgid "Exams"
msgstr "Klausuren"
#: models.py:755
msgid "Title of the holidays"
msgstr "Titel der Ferien"
#: models.py:756
msgid "Effective start date of holidays"
msgstr "Effektives Startdatum der Ferien"
#: models.py:757
msgid "Effective end date of holidays"
msgstr "Effektives Enddatum der Ferien"
#: models.py:758
#: models.py:498
msgid "Comments"
msgstr "Kommentare"
#: models.py:786
#: models.py:526
msgid "Holiday"
msgstr "Ferien"
#: models.py:787
#: models.py:527
msgid "Holidays"
msgstr "Ferien"
#: models.py:801 models.py:902
#: models.py:541 models.py:610
msgid "Supervision area"
msgstr "Aufsichtsgebiet"
#: models.py:802
#: models.py:542
msgid "Supervision areas"
msgstr "Aufsichtsgebiete"
#: models.py:810
msgid "Effective start of break"
msgstr "Effektiver Start der Pause"
#: models.py:552
msgid "Time period after break starts"
msgstr "Stunde, nach der die Pause startet"
#: models.py:813
msgid "Effective end of break"
msgstr "Effektives Ende der Pause"
#: models.py:560
msgid "Time period before break ends"
msgstr "Stunde nach der Pause"
#: models.py:862 models.py:903
#: models.py:600 models.py:614
msgid "Break"
msgstr "Pause"
#: models.py:863
#: models.py:601
msgid "Breaks"
msgstr "Pausen"
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr "Lehrkraft"
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: models.py:641 models.py:648 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr "Aufsicht"
#: models.py:930
#: models.py:642
msgid "Supervisions"
msgstr "Aufsichten"
#: models.py:934
#: models.py:646
msgid "Date"
msgstr "Datum"
#: models.py:947
#: models.py:666
msgid "Supervision substitution"
msgstr "Aufsichtsvertretung"
#: models.py:948
#: models.py:667
msgid "Supervision substitutions"
msgstr "Aufsichtsvertretungen"
#: models.py:1034
msgid "Effective start date of event"
msgstr "Effektives Startdatum der Veranstaltung"
#: models.py:1035
msgid "Effective end date of event"
msgstr "Effektives Enddatum der Veranstaltung"
#: models.py:1037
msgid "Effective start period of event"
msgstr "Effektive Startstunde der Veranstaltung"
#: models.py:683
msgid "Start time period"
msgstr "Startstunde"
#: models.py:1038
msgid "Effective end period of event"
msgstr "Effektive Endstunde der Veranstaltung"
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
msgstr "Gruppen"
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
msgstr "Räume"
#: models.py:1042 models.py:1101 tables.py:32 templates/chronos/all.html:17
#: templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr "Lehrkräfte"
#: models.py:687
msgid "End time period"
msgstr "Endstunde"
#: models.py:1048
msgid "Event {}"
msgstr "Veranstaltung {}"
#: models.py:700
#, python-brace-format
msgid "Event {self.pk}"
msgstr "Veranstaltung {self.pk}"
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
#: models.py:721 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr "Veranstaltung"
#: models.py:1070
#: models.py:722
msgid "Events"
msgstr "Veranstaltungen"
#: models.py:1110
#: models.py:757
msgid "Extra lesson"
msgstr "Sonderstunde"
#: models.py:1111
#: models.py:758
msgid "Extra lessons"
msgstr "Sonderstunden"
#: settings.py:7
msgid "If an lesson or substitution has only one group and this group has parent groups, show the parent groups instead of the original group."
msgstr "Wenn eine Stunde oder Vertretung nur eine Gruppe hat und diese Gruppe Elterngruppen hat, zeige die Elterngruppen anstelle der eigentlichen Gruppe."
#: models.py:765
msgid "Can view all timetables"
msgstr "Kann alle Stundenpläne sehen"
#: models.py:766
msgid "Can view timetable overview"
msgstr "Kann Stundenplanübersicht sehen"
#: models.py:767
msgid "Can view all lessons per day"
msgstr "Kann alle Tagesstunden sehen"
#: preferences.py:8
msgid "Chronos"
msgstr "Chronos"
#: preferences.py:16
msgid "Use parent groups in timetable views"
msgstr "Elterngruppen in Stundenplanansichten benutzen"
#: preferences.py:18
msgid ""
"If an lesson or substitution has only one group and this group has parent "
"groups, show the parent groups instead of the original group."
msgstr ""
"Wenn eine Stunde oder Vertretung nur eine Gruppe hat und diese Gruppe "
"Elterngruppen hat, zeige die Elterngruppen anstelle der eigentlichen Gruppe."
#: preferences.py:29
msgid "Shorten groups in timetable views"
msgstr "Gruppen in Stundenplanansichten kürzen"
#: preferences.py:30
msgid "If there are more groups than the set limit, they will be collapsed."
msgstr ""
"Wenn es mehr Gruppen als das gesetzte Limit gibt, werden die Gruppenangaben "
"gekürzt."
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
msgstr "Wenn es mehr Gruppen als in CHRONOS_SHORTEN_GROUPS_LIMIT festgelegt gibt, werden die Gruppenangaben gekürzt."
#: preferences.py:38
msgid "Limit of groups for shortening of groups"
msgstr "Anzahl der Gruppen, ab der gekürzt wird"
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
msgstr "Wenn es mehr Gruppen als dieses Limit gibt und CHRONOS_SHORTEN_GROUPS aktiviert ist, werden die Gruppenangaben gekürzt."
#: preferences.py:40
msgid ""
"If an user activates shortening of groups,they will be collapsed if there "
"are more groups than this limit."
msgstr ""
"Wenn ein Nutzer die Kürzung von Gruppen aktiviert hat, werden sie ab diesem "
"Limit gekürzt."
#: settings.py:26
#: preferences.py:50
msgid "Number of days shown on substitutions print view"
msgstr "Anzahl der Tage, die in der Druckansicht des Vertretungsplanes angezeigt werden soll"
msgstr ""
"Anzahl der Tage, die in der Druckansicht des Vertretungsplanes angezeigt "
"werden soll"
#: preferences.py:58
msgid "Show header box in substitution views"
msgstr "Kopfbox in Vertretungsplänen anzeigen"
#: settings.py:30
#: preferences.py:59
msgid "The header box shows affected teachers/groups."
msgstr "Die Kopfbox zeigt betroffene Lehrkräfte/Gruppen."
#: tables.py:36
#: tables.py:41
msgid "Substitution"
msgstr "Vertretung"
#: tables.py:37
#: tables.py:43
msgid "Manage substitution"
msgstr "Vertretung verwalten"
......@@ -423,15 +440,15 @@ msgstr "Betroffene Gruppen"
#: templates/chronos/partials/subs/badge.html:4
msgid "Cancelled"
msgstr "Fällt aus"
msgstr "Entfall"
#: templates/chronos/partials/subs/badge.html:6
msgid "Cancelled for teachers"
msgstr "Entfall für Lehrkräfte"
#: templates/chronos/partials/week_select.html:14
#: templates/chronos/partials/week_select.html:24
#: templates/chronos/partials/week_select.html:34
#: templates/chronos/partials/week_select.html:25
#: templates/chronos/partials/week_select.html:36
msgid "CW"
msgstr "KW"
......@@ -490,20 +507,84 @@ msgstr ""
msgid "Go to smart plan"
msgstr "SMART PLAN anzeigen"
#: views.py:230
#: views.py:234
msgid "The substitution has been saved."
msgstr "Die Vertretung wurde gespeichert."
#: views.py:252
#: views.py:255
msgid "The substitution has been deleted."
msgstr "Die Vertretung wurde gelöscht."
#~ msgid "Short name of subject"
#~ msgstr "Kurzname des Faches"
#~ msgid "Long name of subject"
#~ msgstr "Name des Faches"
#~ msgid "Short name, e.g. room number"
#~ msgstr "Kurzer Name, z.B. Raumnummer"
#~ msgid "Effective start date of lesson"
#~ msgstr "Effektives Startdatum des Unterrichts"
#~ msgid "Effective end date of lesson"
#~ msgstr "Effektives Enddatum des Unterrichts"
#~ msgid "Effective start date of absence"
#~ msgstr "Effektives Startdatum der Absenz"
#~ msgid "Effective end date of absence"
#~ msgstr "Effektives Enddatum der Absenz"
#~ msgid "Effective start period of absence"
#~ msgstr "Effektive Startstunde der Absenz"
#~ msgid "Effective end period of absence"
#~ msgstr "Effektive Endstunde der Absenz"
#~ msgid "Effective start period of exam"
#~ msgstr "Effektive Startstunde der Klausur"
#~ msgid "Effective end period of exam"
#~ msgstr "Effektive Endstunde der Klausur"
#~ msgid "Title of the holidays"
#~ msgstr "Titel der Ferien"
#~ msgid "Effective start date of holidays"
#~ msgstr "Effektives Startdatum der Ferien"
#~ msgid "Effective end date of holidays"
#~ msgstr "Effektives Enddatum der Ferien"
#~ msgid "Effective start of break"
#~ msgstr "Effektiver Start der Pause"
#~ msgid "Effective end of break"
#~ msgstr "Effektives Ende der Pause"
#~ msgid "Effective start date of event"
#~ msgstr "Effektives Startdatum der Veranstaltung"
#~ msgid "Effective end date of event"
#~ msgstr "Effektives Enddatum der Veranstaltung"
#~ msgid "Effective start period of event"
#~ msgstr "Effektive Startstunde der Veranstaltung"
#~ msgid "Effective end period of event"
#~ msgstr "Effektive Endstunde der Veranstaltung"
#~ msgid ""
#~ "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is "
#~ "enabled, add text collapsible."
#~ msgstr ""
#~ "Wenn es mehr Gruppen als dieses Limit gibt und CHRONOS_SHORTEN_GROUPS "
#~ "aktiviert ist, werden die Gruppenangaben gekürzt."
#~ msgid "Abbreviation of subject in timetable"
#~ msgstr "Kürzel des Faches im Stundenplan"
#~ msgid "Group"
#~ msgstr "Gruppe"
#~ msgid "Sunday"
#~ msgstr "Sonntag"
......
......@@ -7,11 +7,11 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-26 15:06+0000\n"
"POT-Creation-Date: 2020-05-04 15:42+0200\n"
"PO-Revision-Date: 2020-04-29 12:01+0000\n"
"Last-Translator: Marlene Grundey <grundema@katharineum.de>\n"
"Language-Team: French <https://translate.edugit.org/projects/aleksis/"
"aleksis-app-chronos/fr/>\n"
"Language-Team: French <https://translate.edugit.org/projects/aleksis/aleksis-"
"app-chronos/fr/>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
......@@ -19,7 +19,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.0.1\n"
#: forms.py:25
#: forms.py:29
msgid "Options for timetables"
msgstr ""
......@@ -32,355 +32,366 @@ msgstr ""
msgid "My timetable"
msgstr ""
#: menus.py:22 templates/chronos/all.html:11 templates/chronos/all.html:12
#: menus.py:27 templates/chronos/all.html:11 templates/chronos/all.html:12
msgid "All timetables"
msgstr ""
#: menus.py:28
#: menus.py:38
msgid "Daily lessons"
msgstr ""
#: menus.py:34 templates/chronos/substitutions.html:11
#: menus.py:49 templates/chronos/substitutions.html:11
#: templates/chronos/substitutions.html:17
#: templates/chronos/substitutions_print.html:12
#: templates/chronos/substitutions_print.html:17
msgid "Substitutions"
msgstr ""
#: model_extensions.py:94
#: model_extensions.py:89
msgid "Show announcement in timetable views?"
msgstr ""
#: models.py:286
#: models.py:45
msgid "Week day"
msgstr ""
#: models.py:287
#: models.py:46
msgid "Number of period"
msgstr ""
#: models.py:289
msgid "Time the period starts"
#: models.py:48
msgid "Start time"
msgstr ""
#: models.py:290
msgid "Time the period ends"
#: models.py:49
msgid "End time"
msgstr ""
#: models.py:388
#: models.py:144 models.py:277 models.py:732
msgid "Time period"
msgstr ""
#: models.py:389
#: models.py:145
msgid "Time periods"
msgstr ""
#: models.py:393
msgid "Short name of subject"
#: models.py:149 models.py:165 models.py:375 models.py:531 models.py:546
msgid "Short name"
msgstr ""
#: models.py:394
msgid "Long name of subject"
#: models.py:150 models.py:166 models.py:532 models.py:547
msgid "Long name"
msgstr ""
#: models.py:397
msgid "Foreground colour in timetable"
#: models.py:152
msgid "Foreground colour"
msgstr ""
#: models.py:403
msgid "Background colour in timetable"
#: models.py:153
msgid "Background colour"
msgstr ""
#: models.py:160 models.py:179 models.py:224 models.py:739
#: templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr "Sujet"
#: models.py:161
#, fuzzy
#| msgid "Subject"
msgid "Subjects"
msgstr "Sujet"
#: models.py:173 models.py:229 models.py:281 models.py:423 models.py:748
#: templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr "Salle"
#: models.py:174 models.py:691 templates/chronos/all.html:39
msgid "Rooms"
msgstr ""
#: models.py:418
msgid "Short name, e.g. room number"
#: models.py:182 models.py:227 models.py:693 models.py:745 tables.py:35
#: templates/chronos/all.html:17 templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr "Profs"
#: models.py:185
msgid "Periods"
msgstr ""
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
#: models.py:187 models.py:690 models.py:742 tables.py:34
#: templates/chronos/all.html:28
msgid "Groups"
msgstr ""
#: models.py:459
msgid "Effective start date of lesson"
#: models.py:189 models.py:426 models.py:496 models.py:677
msgid "Start date"
msgstr ""
#: models.py:460
msgid "Effective end date of lesson"
#: models.py:190 models.py:427 models.py:497 models.py:678
msgid "End date"
msgstr ""
#: models.py:479
#: models.py:205 models.py:274 models.py:463
msgid "Lesson"
msgstr "Cours"
#: models.py:480 templates/chronos/lessons_day.html:9
#: models.py:206 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: models.py:486 models.py:1096
#: models.py:212 models.py:730
msgid "Week"
msgstr ""
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr "Sujet"
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr "Salle"
#: models.py:215 models.py:330
msgid "Lesson period"
msgstr ""
#: models.py:503
#: models.py:231
msgid "Cancelled?"
msgstr ""
#: models.py:504
#: models.py:233
msgid "Cancelled for teachers?"
msgstr ""
#: models.py:506 models.py:712 models.py:739 models.py:1104
#: models.py:236 models.py:442 models.py:483 models.py:751
msgid "Comment"
msgstr ""
#: models.py:510
#: models.py:240
msgid "Lessons can only be either substituted or cancelled."
msgstr ""
#: models.py:543
#: models.py:264
msgid "Lesson substitution"
msgstr ""
#: models.py:544
#: models.py:265
msgid "Lesson substitutions"
msgstr ""
#: models.py:601
msgid "Lesson period"
msgstr ""
#: models.py:602
#: models.py:331
msgid "Lesson periods"
msgstr ""
#: models.py:643
#: models.py:370
msgid "Timetable widget"
msgstr ""
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
#: models.py:371
msgid "Timetable widgets"
msgstr ""
#: models.py:675
#: models.py:376
msgid "Name"
msgstr ""
#: models.py:684
#: models.py:385 models.py:398
msgid "Absence reason"
msgstr ""
#: models.py:685
#: models.py:386
msgid "Absence reasons"
msgstr ""
#: models.py:708
msgid "Effective start date of absence"
msgstr ""
#: models.py:407 models.py:617 models.py:654
#: templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr "Profs"
#: models.py:709
msgid "Effective end date of absence"
#: models.py:415
msgid "Group"
msgstr ""
#: models.py:710
msgid "Effective start period of absence"
#: models.py:431 models.py:470
msgid "Start period"
msgstr ""
#: models.py:711
msgid "Effective end period of absence"
#: models.py:438 models.py:477
msgid "End period"
msgstr ""
#: models.py:722
#: models.py:452
msgid "Unknown absence"
msgstr ""
#: models.py:727
#: models.py:457
msgid "Absence"
msgstr ""
#: models.py:728
#: models.py:458
msgid "Absences"
msgstr "Absences"
#: models.py:734
#: models.py:466
msgid "Date of exam"
msgstr ""
#: models.py:735
msgid "Effective start period of exam"
msgstr ""
#: models.py:736
msgid "Effective end period of exam"
msgstr ""
#: models.py:738 models.py:1032
#: models.py:482 models.py:495 models.py:675
msgid "Title"
msgstr ""
#: models.py:744
#: models.py:488
msgid "Exam"
msgstr ""
#: models.py:745
#: models.py:489
msgid "Exams"
msgstr ""
#: models.py:755
msgid "Title of the holidays"
msgstr ""
#: models.py:756
msgid "Effective start date of holidays"
msgstr ""
#: models.py:757
msgid "Effective end date of holidays"
msgstr ""
#: models.py:758
#: models.py:498
msgid "Comments"
msgstr ""
#: models.py:786
#: models.py:526
msgid "Holiday"
msgstr ""
#: models.py:787
#: models.py:527
msgid "Holidays"
msgstr ""
#: models.py:801 models.py:902
#: models.py:541 models.py:610
msgid "Supervision area"
msgstr ""
#: models.py:802
#: models.py:542
msgid "Supervision areas"
msgstr ""
#: models.py:810
msgid "Effective start of break"
#: models.py:552
msgid "Time period after break starts"
msgstr ""
#: models.py:813
msgid "Effective end of break"
#: models.py:560
msgid "Time period before break ends"
msgstr ""
#: models.py:862 models.py:903
#: models.py:600 models.py:614
msgid "Break"
msgstr ""
#: models.py:863
#: models.py:601
msgid "Breaks"
msgstr ""
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr "Profs"
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: models.py:641 models.py:648 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
#: models.py:930
#: models.py:642
msgid "Supervisions"
msgstr ""
#: models.py:934
#: models.py:646
msgid "Date"
msgstr "Date"
#: models.py:947
#: models.py:666
msgid "Supervision substitution"
msgstr ""
#: models.py:948
#: models.py:667
msgid "Supervision substitutions"
msgstr ""
#: models.py:1034
msgid "Effective start date of event"
#: models.py:683
msgid "Start time period"
msgstr ""
#: models.py:1035
msgid "Effective end date of event"
#: models.py:687
msgid "End time period"
msgstr ""
#: models.py:1037
msgid "Effective start period of event"
#: models.py:700
#, python-brace-format
msgid "Event {self.pk}"
msgstr ""
#: models.py:1038
msgid "Effective end period of event"
#: models.py:721 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
#: models.py:722
msgid "Events"
msgstr ""
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
#: models.py:757
msgid "Extra lesson"
msgstr ""
#: models.py:1042 models.py:1101 tables.py:32 templates/chronos/all.html:17
#: templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr "Profs"
#: models.py:758
msgid "Extra lessons"
msgstr ""
#: models.py:1048
msgid "Event {}"
#: models.py:765
msgid "Can view all timetables"
msgstr ""
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
#: models.py:766
msgid "Can view timetable overview"
msgstr ""
#: models.py:1070
msgid "Events"
#: models.py:767
msgid "Can view all lessons per day"
msgstr ""
#: models.py:1110
msgid "Extra lesson"
#: preferences.py:8
msgid "Chronos"
msgstr ""
#: models.py:1111
msgid "Extra lessons"
#: preferences.py:16
msgid "Use parent groups in timetable views"
msgstr ""
#: settings.py:7
msgid "If an lesson or substitution has only one group and this group has parent groups, show the parent groups instead of the original group."
#: preferences.py:18
msgid ""
"If an lesson or substitution has only one group and this group has parent "
"groups, show the parent groups instead of the original group."
msgstr ""
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
#: preferences.py:29
msgid "Shorten groups in timetable views"
msgstr ""
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
#: preferences.py:30
msgid "If there are more groups than the set limit, they will be collapsed."
msgstr ""
#: settings.py:26
#: preferences.py:38
msgid "Limit of groups for shortening of groups"
msgstr ""
#: preferences.py:40
msgid ""
"If an user activates shortening of groups,they will be collapsed if there "
"are more groups than this limit."
msgstr ""
#: preferences.py:50
msgid "Number of days shown on substitutions print view"
msgstr ""
#: settings.py:30
#: preferences.py:58
msgid "Show header box in substitution views"
msgstr ""
#: preferences.py:59
msgid "The header box shows affected teachers/groups."
msgstr ""
#: tables.py:36
#: tables.py:41
msgid "Substitution"
msgstr ""
#: tables.py:37
#: tables.py:43
msgid "Manage substitution"
msgstr ""
......@@ -429,8 +440,8 @@ msgid "Cancelled for teachers"
msgstr ""
#: templates/chronos/partials/week_select.html:14
#: templates/chronos/partials/week_select.html:24
#: templates/chronos/partials/week_select.html:34
#: templates/chronos/partials/week_select.html:25
#: templates/chronos/partials/week_select.html:36
msgid "CW"
msgstr ""
......@@ -483,10 +494,10 @@ msgstr ""
msgid "Go to smart plan"
msgstr ""
#: views.py:230
#: views.py:234
msgid "The substitution has been saved."
msgstr ""
#: views.py:252
#: views.py:255
msgid "The substitution has been deleted."
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-28 13:31+0000\n"
"POT-Creation-Date: 2020-05-04 15:42+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: forms.py:25
#: forms.py:29
msgid "Options for timetables"
msgstr ""
......@@ -30,355 +30,364 @@ msgstr ""
msgid "My timetable"
msgstr ""
#: menus.py:22 templates/chronos/all.html:11 templates/chronos/all.html:12
#: menus.py:27 templates/chronos/all.html:11 templates/chronos/all.html:12
msgid "All timetables"
msgstr ""
#: menus.py:28
#: menus.py:38
msgid "Daily lessons"
msgstr ""
#: menus.py:34 templates/chronos/substitutions.html:11
#: menus.py:49 templates/chronos/substitutions.html:11
#: templates/chronos/substitutions.html:17
#: templates/chronos/substitutions_print.html:12
#: templates/chronos/substitutions_print.html:17
msgid "Substitutions"
msgstr ""
#: model_extensions.py:94
#: model_extensions.py:89
msgid "Show announcement in timetable views?"
msgstr ""
#: models.py:286
#: models.py:45
msgid "Week day"
msgstr ""
#: models.py:287
#: models.py:46
msgid "Number of period"
msgstr ""
#: models.py:289
msgid "Time the period starts"
#: models.py:48
msgid "Start time"
msgstr ""
#: models.py:290
msgid "Time the period ends"
#: models.py:49
msgid "End time"
msgstr ""
#: models.py:388
#: models.py:144 models.py:277 models.py:732
msgid "Time period"
msgstr ""
#: models.py:389
#: models.py:145
msgid "Time periods"
msgstr ""
#: models.py:393
msgid "Short name of subject"
#: models.py:149 models.py:165 models.py:375 models.py:531 models.py:546
msgid "Short name"
msgstr ""
#: models.py:394
msgid "Long name of subject"
#: models.py:150 models.py:166 models.py:532 models.py:547
msgid "Long name"
msgstr ""
#: models.py:397
msgid "Foreground colour in timetable"
#: models.py:152
msgid "Foreground colour"
msgstr ""
#: models.py:403
msgid "Background colour in timetable"
#: models.py:153
msgid "Background colour"
msgstr ""
#: models.py:418
msgid "Short name, e.g. room number"
#: models.py:160 models.py:179 models.py:224 models.py:739
#: templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
#: models.py:161
msgid "Subjects"
msgstr ""
#: models.py:173 models.py:229 models.py:281 models.py:423 models.py:748
#: templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr ""
#: models.py:174 models.py:691 templates/chronos/all.html:39
msgid "Rooms"
msgstr ""
#: models.py:182 models.py:227 models.py:693 models.py:745 tables.py:35
#: templates/chronos/all.html:17 templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr ""
#: models.py:185
msgid "Periods"
msgstr ""
#: models.py:187 models.py:690 models.py:742 tables.py:34
#: templates/chronos/all.html:28
msgid "Groups"
msgstr ""
#: models.py:459
msgid "Effective start date of lesson"
#: models.py:189 models.py:426 models.py:496 models.py:677
msgid "Start date"
msgstr ""
#: models.py:460
msgid "Effective end date of lesson"
#: models.py:190 models.py:427 models.py:497 models.py:678
msgid "End date"
msgstr ""
#: models.py:479
#: models.py:205 models.py:274 models.py:463
msgid "Lesson"
msgstr ""
#: models.py:480 templates/chronos/lessons_day.html:9
#: models.py:206 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: models.py:486 models.py:1096
#: models.py:212 models.py:730
msgid "Week"
msgstr ""
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
#: models.py:215 models.py:330
msgid "Lesson period"
msgstr ""
#: models.py:503
#: models.py:231
msgid "Cancelled?"
msgstr ""
#: models.py:504
#: models.py:233
msgid "Cancelled for teachers?"
msgstr ""
#: models.py:506 models.py:712 models.py:739 models.py:1104
#: models.py:236 models.py:442 models.py:483 models.py:751
msgid "Comment"
msgstr ""
#: models.py:510
#: models.py:240
msgid "Lessons can only be either substituted or cancelled."
msgstr ""
#: models.py:543
#: models.py:264
msgid "Lesson substitution"
msgstr ""
#: models.py:544
#: models.py:265
msgid "Lesson substitutions"
msgstr ""
#: models.py:601
msgid "Lesson period"
msgstr ""
#: models.py:602
#: models.py:331
msgid "Lesson periods"
msgstr ""
#: models.py:643
#: models.py:370
msgid "Timetable widget"
msgstr ""
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
#: models.py:371
msgid "Timetable widgets"
msgstr ""
#: models.py:675
#: models.py:376
msgid "Name"
msgstr ""
#: models.py:684
#: models.py:385 models.py:398
msgid "Absence reason"
msgstr ""
#: models.py:685
#: models.py:386
msgid "Absence reasons"
msgstr ""
#: models.py:708
msgid "Effective start date of absence"
#: models.py:407 models.py:617 models.py:654
#: templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:709
msgid "Effective end date of absence"
#: models.py:415
msgid "Group"
msgstr ""
#: models.py:710
msgid "Effective start period of absence"
#: models.py:431 models.py:470
msgid "Start period"
msgstr ""
#: models.py:711
msgid "Effective end period of absence"
#: models.py:438 models.py:477
msgid "End period"
msgstr ""
#: models.py:722
#: models.py:452
msgid "Unknown absence"
msgstr ""
#: models.py:727
#: models.py:457
msgid "Absence"
msgstr ""
#: models.py:728
#: models.py:458
msgid "Absences"
msgstr ""
#: models.py:734
#: models.py:466
msgid "Date of exam"
msgstr ""
#: models.py:735
msgid "Effective start period of exam"
msgstr ""
#: models.py:736
msgid "Effective end period of exam"
msgstr ""
#: models.py:738 models.py:1032
#: models.py:482 models.py:495 models.py:675
msgid "Title"
msgstr ""
#: models.py:744
#: models.py:488
msgid "Exam"
msgstr ""
#: models.py:745
#: models.py:489
msgid "Exams"
msgstr ""
#: models.py:755
msgid "Title of the holidays"
msgstr ""
#: models.py:756
msgid "Effective start date of holidays"
msgstr ""
#: models.py:757
msgid "Effective end date of holidays"
msgstr ""
#: models.py:758
#: models.py:498
msgid "Comments"
msgstr ""
#: models.py:786
#: models.py:526
msgid "Holiday"
msgstr ""
#: models.py:787
#: models.py:527
msgid "Holidays"
msgstr ""
#: models.py:801 models.py:902
#: models.py:541 models.py:610
msgid "Supervision area"
msgstr ""
#: models.py:802
#: models.py:542
msgid "Supervision areas"
msgstr ""
#: models.py:810
msgid "Effective start of break"
#: models.py:552
msgid "Time period after break starts"
msgstr ""
#: models.py:813
msgid "Effective end of break"
#: models.py:560
msgid "Time period before break ends"
msgstr ""
#: models.py:862 models.py:903
#: models.py:600 models.py:614
msgid "Break"
msgstr ""
#: models.py:863
#: models.py:601
msgid "Breaks"
msgstr ""
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: models.py:641 models.py:648 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
#: models.py:930
#: models.py:642
msgid "Supervisions"
msgstr ""
#: models.py:934
#: models.py:646
msgid "Date"
msgstr ""
#: models.py:947
#: models.py:666
msgid "Supervision substitution"
msgstr ""
#: models.py:948
#: models.py:667
msgid "Supervision substitutions"
msgstr ""
#: models.py:1034
msgid "Effective start date of event"
#: models.py:683
msgid "Start time period"
msgstr ""
#: models.py:1035
msgid "Effective end date of event"
#: models.py:687
msgid "End time period"
msgstr ""
#: models.py:1037
msgid "Effective start period of event"
#: models.py:700
#, python-brace-format
msgid "Event {self.pk}"
msgstr ""
#: models.py:1038
msgid "Effective end period of event"
#: models.py:721 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
#: models.py:722
msgid "Events"
msgstr ""
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
#: models.py:757
msgid "Extra lesson"
msgstr ""
#: models.py:1042 models.py:1101 tables.py:32 templates/chronos/all.html:17
#: templates/chronos/substitutions_print.html:28
msgid "Teachers"
#: models.py:758
msgid "Extra lessons"
msgstr ""
#: models.py:1048
msgid "Event {}"
#: models.py:765
msgid "Can view all timetables"
msgstr ""
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
#: models.py:766
msgid "Can view timetable overview"
msgstr ""
#: models.py:1070
msgid "Events"
#: models.py:767
msgid "Can view all lessons per day"
msgstr ""
#: models.py:1110
msgid "Extra lesson"
#: preferences.py:8
msgid "Chronos"
msgstr ""
#: models.py:1111
msgid "Extra lessons"
#: preferences.py:16
msgid "Use parent groups in timetable views"
msgstr ""
#: settings.py:7
msgid "If an lesson or substitution has only one group and this group has parent groups, show the parent groups instead of the original group."
#: preferences.py:18
msgid ""
"If an lesson or substitution has only one group and this group has parent "
"groups, show the parent groups instead of the original group."
msgstr ""
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
#: preferences.py:29
msgid "Shorten groups in timetable views"
msgstr ""
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
#: preferences.py:30
msgid "If there are more groups than the set limit, they will be collapsed."
msgstr ""
#: settings.py:26
#: preferences.py:38
msgid "Limit of groups for shortening of groups"
msgstr ""
#: preferences.py:40
msgid ""
"If an user activates shortening of groups,they will be collapsed if there "
"are more groups than this limit."
msgstr ""
#: preferences.py:50
msgid "Number of days shown on substitutions print view"
msgstr ""
#: settings.py:30
#: preferences.py:58
msgid "Show header box in substitution views"
msgstr ""
#: preferences.py:59
msgid "The header box shows affected teachers/groups."
msgstr ""
#: tables.py:36
#: tables.py:41
msgid "Substitution"
msgstr ""
#: tables.py:37
#: tables.py:43
msgid "Manage substitution"
msgstr ""
......@@ -427,8 +436,8 @@ msgid "Cancelled for teachers"
msgstr ""
#: templates/chronos/partials/week_select.html:14
#: templates/chronos/partials/week_select.html:24
#: templates/chronos/partials/week_select.html:34
#: templates/chronos/partials/week_select.html:25
#: templates/chronos/partials/week_select.html:36
msgid "CW"
msgstr ""
......@@ -481,10 +490,10 @@ msgstr ""
msgid "Go to smart plan"
msgstr ""
#: views.py:230
#: views.py:234
msgid "The substitution has been saved."
msgstr ""
#: views.py:252
#: views.py:255
msgid "The substitution has been deleted."
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-28 13:31+0000\n"
"POT-Creation-Date: 2020-05-04 15:42+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: forms.py:25
#: forms.py:29
msgid "Options for timetables"
msgstr ""
......@@ -30,355 +30,364 @@ msgstr ""
msgid "My timetable"
msgstr ""
#: menus.py:22 templates/chronos/all.html:11 templates/chronos/all.html:12
#: menus.py:27 templates/chronos/all.html:11 templates/chronos/all.html:12
msgid "All timetables"
msgstr ""
#: menus.py:28
#: menus.py:38
msgid "Daily lessons"
msgstr ""
#: menus.py:34 templates/chronos/substitutions.html:11
#: menus.py:49 templates/chronos/substitutions.html:11
#: templates/chronos/substitutions.html:17
#: templates/chronos/substitutions_print.html:12
#: templates/chronos/substitutions_print.html:17
msgid "Substitutions"
msgstr ""
#: model_extensions.py:94
#: model_extensions.py:89
msgid "Show announcement in timetable views?"
msgstr ""
#: models.py:286
#: models.py:45
msgid "Week day"
msgstr ""
#: models.py:287
#: models.py:46
msgid "Number of period"
msgstr ""
#: models.py:289
msgid "Time the period starts"
#: models.py:48
msgid "Start time"
msgstr ""
#: models.py:290
msgid "Time the period ends"
#: models.py:49
msgid "End time"
msgstr ""
#: models.py:388
#: models.py:144 models.py:277 models.py:732
msgid "Time period"
msgstr ""
#: models.py:389
#: models.py:145
msgid "Time periods"
msgstr ""
#: models.py:393
msgid "Short name of subject"
#: models.py:149 models.py:165 models.py:375 models.py:531 models.py:546
msgid "Short name"
msgstr ""
#: models.py:394
msgid "Long name of subject"
#: models.py:150 models.py:166 models.py:532 models.py:547
msgid "Long name"
msgstr ""
#: models.py:397
msgid "Foreground colour in timetable"
#: models.py:152
msgid "Foreground colour"
msgstr ""
#: models.py:403
msgid "Background colour in timetable"
#: models.py:153
msgid "Background colour"
msgstr ""
#: models.py:418
msgid "Short name, e.g. room number"
#: models.py:160 models.py:179 models.py:224 models.py:739
#: templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
#: models.py:161
msgid "Subjects"
msgstr ""
#: models.py:173 models.py:229 models.py:281 models.py:423 models.py:748
#: templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr ""
#: models.py:174 models.py:691 templates/chronos/all.html:39
msgid "Rooms"
msgstr ""
#: models.py:182 models.py:227 models.py:693 models.py:745 tables.py:35
#: templates/chronos/all.html:17 templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr ""
#: models.py:185
msgid "Periods"
msgstr ""
#: models.py:187 models.py:690 models.py:742 tables.py:34
#: templates/chronos/all.html:28
msgid "Groups"
msgstr ""
#: models.py:459
msgid "Effective start date of lesson"
#: models.py:189 models.py:426 models.py:496 models.py:677
msgid "Start date"
msgstr ""
#: models.py:460
msgid "Effective end date of lesson"
#: models.py:190 models.py:427 models.py:497 models.py:678
msgid "End date"
msgstr ""
#: models.py:479
#: models.py:205 models.py:274 models.py:463
msgid "Lesson"
msgstr ""
#: models.py:480 templates/chronos/lessons_day.html:9
#: models.py:206 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: models.py:486 models.py:1096
#: models.py:212 models.py:730
msgid "Week"
msgstr ""
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
#: models.py:215 models.py:330
msgid "Lesson period"
msgstr ""
#: models.py:503
#: models.py:231
msgid "Cancelled?"
msgstr ""
#: models.py:504
#: models.py:233
msgid "Cancelled for teachers?"
msgstr ""
#: models.py:506 models.py:712 models.py:739 models.py:1104
#: models.py:236 models.py:442 models.py:483 models.py:751
msgid "Comment"
msgstr ""
#: models.py:510
#: models.py:240
msgid "Lessons can only be either substituted or cancelled."
msgstr ""
#: models.py:543
#: models.py:264
msgid "Lesson substitution"
msgstr ""
#: models.py:544
#: models.py:265
msgid "Lesson substitutions"
msgstr ""
#: models.py:601
msgid "Lesson period"
msgstr ""
#: models.py:602
#: models.py:331
msgid "Lesson periods"
msgstr ""
#: models.py:643
#: models.py:370
msgid "Timetable widget"
msgstr ""
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
#: models.py:371
msgid "Timetable widgets"
msgstr ""
#: models.py:675
#: models.py:376
msgid "Name"
msgstr ""
#: models.py:684
#: models.py:385 models.py:398
msgid "Absence reason"
msgstr ""
#: models.py:685
#: models.py:386
msgid "Absence reasons"
msgstr ""
#: models.py:708
msgid "Effective start date of absence"
#: models.py:407 models.py:617 models.py:654
#: templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:709
msgid "Effective end date of absence"
#: models.py:415
msgid "Group"
msgstr ""
#: models.py:710
msgid "Effective start period of absence"
#: models.py:431 models.py:470
msgid "Start period"
msgstr ""
#: models.py:711
msgid "Effective end period of absence"
#: models.py:438 models.py:477
msgid "End period"
msgstr ""
#: models.py:722
#: models.py:452
msgid "Unknown absence"
msgstr ""
#: models.py:727
#: models.py:457
msgid "Absence"
msgstr ""
#: models.py:728
#: models.py:458
msgid "Absences"
msgstr ""
#: models.py:734
#: models.py:466
msgid "Date of exam"
msgstr ""
#: models.py:735
msgid "Effective start period of exam"
msgstr ""
#: models.py:736
msgid "Effective end period of exam"
msgstr ""
#: models.py:738 models.py:1032
#: models.py:482 models.py:495 models.py:675
msgid "Title"
msgstr ""
#: models.py:744
#: models.py:488
msgid "Exam"
msgstr ""
#: models.py:745
#: models.py:489
msgid "Exams"
msgstr ""
#: models.py:755
msgid "Title of the holidays"
msgstr ""
#: models.py:756
msgid "Effective start date of holidays"
msgstr ""
#: models.py:757
msgid "Effective end date of holidays"
msgstr ""
#: models.py:758
#: models.py:498
msgid "Comments"
msgstr ""
#: models.py:786
#: models.py:526
msgid "Holiday"
msgstr ""
#: models.py:787
#: models.py:527
msgid "Holidays"
msgstr ""
#: models.py:801 models.py:902
#: models.py:541 models.py:610
msgid "Supervision area"
msgstr ""
#: models.py:802
#: models.py:542
msgid "Supervision areas"
msgstr ""
#: models.py:810
msgid "Effective start of break"
#: models.py:552
msgid "Time period after break starts"
msgstr ""
#: models.py:813
msgid "Effective end of break"
#: models.py:560
msgid "Time period before break ends"
msgstr ""
#: models.py:862 models.py:903
#: models.py:600 models.py:614
msgid "Break"
msgstr ""
#: models.py:863
#: models.py:601
msgid "Breaks"
msgstr ""
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: models.py:641 models.py:648 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
#: models.py:930
#: models.py:642
msgid "Supervisions"
msgstr ""
#: models.py:934
#: models.py:646
msgid "Date"
msgstr ""
#: models.py:947
#: models.py:666
msgid "Supervision substitution"
msgstr ""
#: models.py:948
#: models.py:667
msgid "Supervision substitutions"
msgstr ""
#: models.py:1034
msgid "Effective start date of event"
#: models.py:683
msgid "Start time period"
msgstr ""
#: models.py:1035
msgid "Effective end date of event"
#: models.py:687
msgid "End time period"
msgstr ""
#: models.py:1037
msgid "Effective start period of event"
#: models.py:700
#, python-brace-format
msgid "Event {self.pk}"
msgstr ""
#: models.py:1038
msgid "Effective end period of event"
#: models.py:721 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
#: models.py:722
msgid "Events"
msgstr ""
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
#: models.py:757
msgid "Extra lesson"
msgstr ""
#: models.py:1042 models.py:1101 tables.py:32 templates/chronos/all.html:17
#: templates/chronos/substitutions_print.html:28
msgid "Teachers"
#: models.py:758
msgid "Extra lessons"
msgstr ""
#: models.py:1048
msgid "Event {}"
#: models.py:765
msgid "Can view all timetables"
msgstr ""
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
#: models.py:766
msgid "Can view timetable overview"
msgstr ""
#: models.py:1070
msgid "Events"
#: models.py:767
msgid "Can view all lessons per day"
msgstr ""
#: models.py:1110
msgid "Extra lesson"
#: preferences.py:8
msgid "Chronos"
msgstr ""
#: models.py:1111
msgid "Extra lessons"
#: preferences.py:16
msgid "Use parent groups in timetable views"
msgstr ""
#: settings.py:7
msgid "If an lesson or substitution has only one group and this group has parent groups, show the parent groups instead of the original group."
#: preferences.py:18
msgid ""
"If an lesson or substitution has only one group and this group has parent "
"groups, show the parent groups instead of the original group."
msgstr ""
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
#: preferences.py:29
msgid "Shorten groups in timetable views"
msgstr ""
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
#: preferences.py:30
msgid "If there are more groups than the set limit, they will be collapsed."
msgstr ""
#: settings.py:26
#: preferences.py:38
msgid "Limit of groups for shortening of groups"
msgstr ""
#: preferences.py:40
msgid ""
"If an user activates shortening of groups,they will be collapsed if there "
"are more groups than this limit."
msgstr ""
#: preferences.py:50
msgid "Number of days shown on substitutions print view"
msgstr ""
#: settings.py:30
#: preferences.py:58
msgid "Show header box in substitution views"
msgstr ""
#: preferences.py:59
msgid "The header box shows affected teachers/groups."
msgstr ""
#: tables.py:36
#: tables.py:41
msgid "Substitution"
msgstr ""
#: tables.py:37
#: tables.py:43
msgid "Manage substitution"
msgstr ""
......@@ -427,8 +436,8 @@ msgid "Cancelled for teachers"
msgstr ""
#: templates/chronos/partials/week_select.html:14
#: templates/chronos/partials/week_select.html:24
#: templates/chronos/partials/week_select.html:34
#: templates/chronos/partials/week_select.html:25
#: templates/chronos/partials/week_select.html:36
msgid "CW"
msgstr ""
......@@ -481,10 +490,10 @@ msgstr ""
msgid "Go to smart plan"
msgstr ""
#: views.py:230
#: views.py:234
msgid "The substitution has been saved."
msgstr ""
#: views.py:252
#: views.py:255
msgid "The substitution has been deleted."
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-28 13:31+0000\n"
"POT-Creation-Date: 2020-05-04 15:42+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: forms.py:25
#: forms.py:29
msgid "Options for timetables"
msgstr ""
......@@ -30,355 +30,364 @@ msgstr ""
msgid "My timetable"
msgstr ""
#: menus.py:22 templates/chronos/all.html:11 templates/chronos/all.html:12
#: menus.py:27 templates/chronos/all.html:11 templates/chronos/all.html:12
msgid "All timetables"
msgstr ""
#: menus.py:28
#: menus.py:38
msgid "Daily lessons"
msgstr ""
#: menus.py:34 templates/chronos/substitutions.html:11
#: menus.py:49 templates/chronos/substitutions.html:11
#: templates/chronos/substitutions.html:17
#: templates/chronos/substitutions_print.html:12
#: templates/chronos/substitutions_print.html:17
msgid "Substitutions"
msgstr ""
#: model_extensions.py:94
#: model_extensions.py:89
msgid "Show announcement in timetable views?"
msgstr ""
#: models.py:286
#: models.py:45
msgid "Week day"
msgstr ""
#: models.py:287
#: models.py:46
msgid "Number of period"
msgstr ""
#: models.py:289
msgid "Time the period starts"
#: models.py:48
msgid "Start time"
msgstr ""
#: models.py:290
msgid "Time the period ends"
#: models.py:49
msgid "End time"
msgstr ""
#: models.py:388
#: models.py:144 models.py:277 models.py:732
msgid "Time period"
msgstr ""
#: models.py:389
#: models.py:145
msgid "Time periods"
msgstr ""
#: models.py:393
msgid "Short name of subject"
#: models.py:149 models.py:165 models.py:375 models.py:531 models.py:546
msgid "Short name"
msgstr ""
#: models.py:394
msgid "Long name of subject"
#: models.py:150 models.py:166 models.py:532 models.py:547
msgid "Long name"
msgstr ""
#: models.py:397
msgid "Foreground colour in timetable"
#: models.py:152
msgid "Foreground colour"
msgstr ""
#: models.py:403
msgid "Background colour in timetable"
#: models.py:153
msgid "Background colour"
msgstr ""
#: models.py:418
msgid "Short name, e.g. room number"
#: models.py:160 models.py:179 models.py:224 models.py:739
#: templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
#: models.py:161
msgid "Subjects"
msgstr ""
#: models.py:173 models.py:229 models.py:281 models.py:423 models.py:748
#: templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr ""
#: models.py:174 models.py:691 templates/chronos/all.html:39
msgid "Rooms"
msgstr ""
#: models.py:182 models.py:227 models.py:693 models.py:745 tables.py:35
#: templates/chronos/all.html:17 templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr ""
#: models.py:185
msgid "Periods"
msgstr ""
#: models.py:187 models.py:690 models.py:742 tables.py:34
#: templates/chronos/all.html:28
msgid "Groups"
msgstr ""
#: models.py:459
msgid "Effective start date of lesson"
#: models.py:189 models.py:426 models.py:496 models.py:677
msgid "Start date"
msgstr ""
#: models.py:460
msgid "Effective end date of lesson"
#: models.py:190 models.py:427 models.py:497 models.py:678
msgid "End date"
msgstr ""
#: models.py:479
#: models.py:205 models.py:274 models.py:463
msgid "Lesson"
msgstr ""
#: models.py:480 templates/chronos/lessons_day.html:9
#: models.py:206 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: models.py:486 models.py:1096
#: models.py:212 models.py:730
msgid "Week"
msgstr ""
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
#: models.py:215 models.py:330
msgid "Lesson period"
msgstr ""
#: models.py:503
#: models.py:231
msgid "Cancelled?"
msgstr ""
#: models.py:504
#: models.py:233
msgid "Cancelled for teachers?"
msgstr ""
#: models.py:506 models.py:712 models.py:739 models.py:1104
#: models.py:236 models.py:442 models.py:483 models.py:751
msgid "Comment"
msgstr ""
#: models.py:510
#: models.py:240
msgid "Lessons can only be either substituted or cancelled."
msgstr ""
#: models.py:543
#: models.py:264
msgid "Lesson substitution"
msgstr ""
#: models.py:544
#: models.py:265
msgid "Lesson substitutions"
msgstr ""
#: models.py:601
msgid "Lesson period"
msgstr ""
#: models.py:602
#: models.py:331
msgid "Lesson periods"
msgstr ""
#: models.py:643
#: models.py:370
msgid "Timetable widget"
msgstr ""
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
#: models.py:371
msgid "Timetable widgets"
msgstr ""
#: models.py:675
#: models.py:376
msgid "Name"
msgstr ""
#: models.py:684
#: models.py:385 models.py:398
msgid "Absence reason"
msgstr ""
#: models.py:685
#: models.py:386
msgid "Absence reasons"
msgstr ""
#: models.py:708
msgid "Effective start date of absence"
#: models.py:407 models.py:617 models.py:654
#: templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:709
msgid "Effective end date of absence"
#: models.py:415
msgid "Group"
msgstr ""
#: models.py:710
msgid "Effective start period of absence"
#: models.py:431 models.py:470
msgid "Start period"
msgstr ""
#: models.py:711
msgid "Effective end period of absence"
#: models.py:438 models.py:477
msgid "End period"
msgstr ""
#: models.py:722
#: models.py:452
msgid "Unknown absence"
msgstr ""
#: models.py:727
#: models.py:457
msgid "Absence"
msgstr ""
#: models.py:728
#: models.py:458
msgid "Absences"
msgstr ""
#: models.py:734
#: models.py:466
msgid "Date of exam"
msgstr ""
#: models.py:735
msgid "Effective start period of exam"
msgstr ""
#: models.py:736
msgid "Effective end period of exam"
msgstr ""
#: models.py:738 models.py:1032
#: models.py:482 models.py:495 models.py:675
msgid "Title"
msgstr ""
#: models.py:744
#: models.py:488
msgid "Exam"
msgstr ""
#: models.py:745
#: models.py:489
msgid "Exams"
msgstr ""
#: models.py:755
msgid "Title of the holidays"
msgstr ""
#: models.py:756
msgid "Effective start date of holidays"
msgstr ""
#: models.py:757
msgid "Effective end date of holidays"
msgstr ""
#: models.py:758
#: models.py:498
msgid "Comments"
msgstr ""
#: models.py:786
#: models.py:526
msgid "Holiday"
msgstr ""
#: models.py:787
#: models.py:527
msgid "Holidays"
msgstr ""
#: models.py:801 models.py:902
#: models.py:541 models.py:610
msgid "Supervision area"
msgstr ""
#: models.py:802
#: models.py:542
msgid "Supervision areas"
msgstr ""
#: models.py:810
msgid "Effective start of break"
#: models.py:552
msgid "Time period after break starts"
msgstr ""
#: models.py:813
msgid "Effective end of break"
#: models.py:560
msgid "Time period before break ends"
msgstr ""
#: models.py:862 models.py:903
#: models.py:600 models.py:614
msgid "Break"
msgstr ""
#: models.py:863
#: models.py:601
msgid "Breaks"
msgstr ""
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: models.py:641 models.py:648 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
#: models.py:930
#: models.py:642
msgid "Supervisions"
msgstr ""
#: models.py:934
#: models.py:646
msgid "Date"
msgstr ""
#: models.py:947
#: models.py:666
msgid "Supervision substitution"
msgstr ""
#: models.py:948
#: models.py:667
msgid "Supervision substitutions"
msgstr ""
#: models.py:1034
msgid "Effective start date of event"
#: models.py:683
msgid "Start time period"
msgstr ""
#: models.py:1035
msgid "Effective end date of event"
#: models.py:687
msgid "End time period"
msgstr ""
#: models.py:1037
msgid "Effective start period of event"
#: models.py:700
#, python-brace-format
msgid "Event {self.pk}"
msgstr ""
#: models.py:1038
msgid "Effective end period of event"
#: models.py:721 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
#: models.py:722
msgid "Events"
msgstr ""
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
#: models.py:757
msgid "Extra lesson"
msgstr ""
#: models.py:1042 models.py:1101 tables.py:32 templates/chronos/all.html:17
#: templates/chronos/substitutions_print.html:28
msgid "Teachers"
#: models.py:758
msgid "Extra lessons"
msgstr ""
#: models.py:1048
msgid "Event {}"
#: models.py:765
msgid "Can view all timetables"
msgstr ""
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
#: models.py:766
msgid "Can view timetable overview"
msgstr ""
#: models.py:1070
msgid "Events"
#: models.py:767
msgid "Can view all lessons per day"
msgstr ""
#: models.py:1110
msgid "Extra lesson"
#: preferences.py:8
msgid "Chronos"
msgstr ""
#: models.py:1111
msgid "Extra lessons"
#: preferences.py:16
msgid "Use parent groups in timetable views"
msgstr ""
#: settings.py:7
msgid "If an lesson or substitution has only one group and this group has parent groups, show the parent groups instead of the original group."
#: preferences.py:18
msgid ""
"If an lesson or substitution has only one group and this group has parent "
"groups, show the parent groups instead of the original group."
msgstr ""
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
#: preferences.py:29
msgid "Shorten groups in timetable views"
msgstr ""
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
#: preferences.py:30
msgid "If there are more groups than the set limit, they will be collapsed."
msgstr ""
#: settings.py:26
#: preferences.py:38
msgid "Limit of groups for shortening of groups"
msgstr ""
#: preferences.py:40
msgid ""
"If an user activates shortening of groups,they will be collapsed if there "
"are more groups than this limit."
msgstr ""
#: preferences.py:50
msgid "Number of days shown on substitutions print view"
msgstr ""
#: settings.py:30
#: preferences.py:58
msgid "Show header box in substitution views"
msgstr ""
#: preferences.py:59
msgid "The header box shows affected teachers/groups."
msgstr ""
#: tables.py:36
#: tables.py:41
msgid "Substitution"
msgstr ""
#: tables.py:37
#: tables.py:43
msgid "Manage substitution"
msgstr ""
......@@ -427,8 +436,8 @@ msgid "Cancelled for teachers"
msgstr ""
#: templates/chronos/partials/week_select.html:14
#: templates/chronos/partials/week_select.html:24
#: templates/chronos/partials/week_select.html:34
#: templates/chronos/partials/week_select.html:25
#: templates/chronos/partials/week_select.html:36
msgid "CW"
msgstr ""
......@@ -481,10 +490,10 @@ msgstr ""
msgid "Go to smart plan"
msgstr ""
#: views.py:230
#: views.py:234
msgid "The substitution has been saved."
msgstr ""
#: views.py:252
#: views.py:255
msgid "The substitution has been deleted."
msgstr ""
......@@ -2,7 +2,7 @@ from datetime import date, datetime, timedelta
from enum import Enum
from typing import Optional, Union
from django.contrib.sites.managers import CurrentSiteManager
from django.contrib.sites.managers import CurrentSiteManager as _CurrentSiteManager
from django.db import models
from django.db.models import Count, F, Q
......@@ -13,6 +13,10 @@ from aleksis.core.models import Group, Person
from aleksis.core.util.core_helpers import get_site_preferences
class CurrentSiteManager(_CurrentSiteManager):
use_in_migrations = False
class TimetableType(Enum):
"""Enum for different types of timetables."""
......@@ -361,7 +365,7 @@ class TimetableQuerySet(models.QuerySet):
def filter_participant(self, person: Union[Person, int]):
"""Filter for all objects a participant (student) attends."""
return self.filter(Q(groups_members=person))
return self.filter(Q(groups__members=person))
def filter_group(self, group: Union[Group, int]):
"""Filter for all objects a group (class) attends."""
......
# Generated by Django 2.2.4 on 2019-09-04 13:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("core", "0001_initial"),
("chronos", "0001_initial"),
]
operations = [
migrations.AlterUniqueTogether(
name="lessonsubstitution",
unique_together={("school", "lesson_period", "week")},
),
migrations.AddIndex(
model_name="lesson",
index=models.Index(
fields=["date_start", "date_end"], name="chronos_les_date_st_5ecc62_idx"
),
),
migrations.AddIndex(
model_name="lessonperiod",
index=models.Index(
fields=["lesson", "period"], name="chronos_les_lesson__05250e_idx"
),
),
migrations.AddIndex(
model_name="timeperiod",
index=models.Index(
fields=["time_start", "time_end"], name="chronos_tim_time_st_491e4c_idx"
),
),
]
# Generated by Django 2.2.5 on 2019-09-07 14:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("chronos", "0002_db_indexes"),
]
operations = [
migrations.AddField(
model_name="lessonsubstitution",
name="cancelled",
field=models.BooleanField(default=False),
),
migrations.AddConstraint(
model_name="lessonsubstitution",
constraint=models.CheckConstraint(
check=models.Q(
("cancelled", True), ("subject__isnull", False), _negated=True
),
name="either_substituted_or_cancelled",
),
),
]
# Generated by Django 2.2.5 on 2019-09-14 16:17
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("chronos", "0003_substitution_cancelled_or_subject"),
]
operations = [
migrations.AlterUniqueTogether(
name="room", unique_together={("school", "short_name")},
),
]
# Generated by Django 3.0.2 on 2020-01-10 16:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("core", "0008_rename_fields_notification_activity"),
("chronos", "0004_room_name_not_unique"),
]
operations = [
migrations.RemoveField(model_name="lesson", name="school",),
migrations.RemoveField(model_name="lessonperiod", name="school",),
migrations.AlterField(
model_name="lesson",
name="teachers",
field=models.ManyToManyField(
related_name="lessons_as_teacher", to="core.Person"
),
),
migrations.AlterField(
model_name="room",
name="short_name",
field=models.CharField(
max_length=10, unique=True, verbose_name="Short name, e.g. room number"
),
),
migrations.AlterField(
model_name="subject",
name="abbrev",
field=models.CharField(
max_length=10,
unique=True,
verbose_name="Abbreviation of subject in timetable",
),
),
migrations.AlterField(
model_name="subject",
name="name",
field=models.CharField(
max_length=30, unique=True, verbose_name="Long name of subject"
),
),
migrations.AlterUniqueTogether(
name="lessonsubstitution", unique_together={("lesson_period", "week")},
),
migrations.AlterUniqueTogether(name="room", unique_together=set(),),
migrations.AlterUniqueTogether(name="subject", unique_together=set(),),
migrations.AlterUniqueTogether(
name="timeperiod", unique_together={("weekday", "period")},
),
migrations.RemoveField(model_name="lessonsubstitution", name="school",),
migrations.RemoveField(model_name="room", name="school",),
migrations.RemoveField(model_name="subject", name="school",),
migrations.RemoveField(model_name="timeperiod", name="school",),
]
# Generated by Django 3.0.2 on 2020-01-19 13:15
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("chronos", "0005_remove_school_related"),
]
operations = [
migrations.AddField(
model_name="lessonperiod",
name="extended_data",
field=django.contrib.postgres.fields.jsonb.JSONField(
default=dict, editable=False
),
),
]
# Generated by Django 3.0.3 on 2020-03-08 20:16
import django.contrib.postgres.fields.jsonb
import django.db.models.deletion
from django.db import migrations, models
import colorfield.fields
class Migration(migrations.Migration):
dependencies = [
("chronos", "0006_extended_data"),
]
operations = [
migrations.CreateModel(
name="Absence",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
django.contrib.postgres.fields.jsonb.JSONField(
default=dict, editable=False
),
),
(
"date_start",
models.DateField(
null=True, verbose_name="Effective start date of absence"
),
),
(
"date_end",
models.DateField(
null=True, verbose_name="Effective end date of absence"
),
),
(
"comment",
models.TextField(verbose_name="Comment", null=True, blank=True),
),
],
options={
"verbose_name": "Absence",
"verbose_name_plural": "Absences",
"ordering": ["date_start"],
},
),
migrations.CreateModel(
name="AbsenceReason",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
django.contrib.postgres.fields.jsonb.JSONField(
default=dict, editable=False
),
),
("title", models.CharField(max_length=50, verbose_name="Title")),
(
"description",
models.TextField(verbose_name="Description", null=True, blank=True),
),
],
options={
"verbose_name": "Absence reason",
"verbose_name_plural": "Absence reasons",
},
),
migrations.CreateModel(
name="Event",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
django.contrib.postgres.fields.jsonb.JSONField(
default=dict, editable=False
),
),
("title", models.CharField(max_length=50, verbose_name="Title")),
(
"date_start",
models.DateField(
null=True, verbose_name="Effective start date of event"
),
),
(
"date_end",
models.DateField(
null=True, verbose_name="Effective end date of event"
),
),
],
options={
"verbose_name": "Events",
"verbose_name_plural": "Events",
"ordering": ["date_start"],
},
),
migrations.CreateModel(
name="Exam",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
django.contrib.postgres.fields.jsonb.JSONField(
default=dict, editable=False
),
),
("date", models.DateField(null=True, verbose_name="Date of exam")),
("title", models.CharField(max_length=50, verbose_name="Title")),
(
"comment",
models.TextField(verbose_name="Comment", null=True, blank=True),
),
],
options={
"verbose_name": "Exam",
"verbose_name_plural": "Exams",
"ordering": ["date"],
},
),
migrations.CreateModel(
name="Holiday",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
django.contrib.postgres.fields.jsonb.JSONField(
default=dict, editable=False
),
),
(
"title",
models.CharField(
max_length=50, verbose_name="Title of the holidays"
),
),
(
"date_start",
models.DateField(
null=True, verbose_name="Effective start date of holidays"
),
),
(
"date_end",
models.DateField(
null=True, verbose_name="Effective end date of holidays"
),
),
(
"comments",
models.TextField(verbose_name="Comments", null=True, blank=True),
),
],
options={
"verbose_name": "Holiday",
"verbose_name_plural": "Holidays",
"ordering": ["date_start"],
},
),
migrations.CreateModel(
name="SupervisionArea",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
django.contrib.postgres.fields.jsonb.JSONField(
default=dict, editable=False
),
),
(
"short_name",
models.CharField(max_length=10, verbose_name="Short name"),
),
("name", models.CharField(max_length=50, verbose_name="Long name")),
(
"colour_fg",
colorfield.fields.ColorField(default="#000000", max_length=18),
),
(
"colour_bg",
colorfield.fields.ColorField(default="#FFFFFF", max_length=18),
),
],
options={
"verbose_name": "Supervision areas",
"verbose_name_plural": "Supervision areas",
"ordering": ["name"],
},
),
migrations.CreateModel(
name="Break",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
django.contrib.postgres.fields.jsonb.JSONField(
default=dict, editable=False
),
),
(
"short_name",
models.CharField(max_length=10, verbose_name="Short name"),
),
("name", models.CharField(max_length=50, verbose_name="Long name")),
(
"weekday",
models.PositiveSmallIntegerField(
choices=[
(0, "Montag"),
(1, "Dienstag"),
(2, "Mittwoch"),
(3, "Donnerstag"),
(4, "Freitag"),
(5, "Samstag"),
(6, "Sonntag"),
],
verbose_name="Week day",
),
),
("time_start", models.TimeField(verbose_name="Start time")),
("time_end", models.TimeField(verbose_name="End time")),
],
options={
"verbose_name": "Break",
"verbose_name_plural": "Breaks",
"ordering": ["weekday", "time_start"],
},
),
migrations.CreateModel(
name="Supervision",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
django.contrib.postgres.fields.jsonb.JSONField(
default=dict, editable=False
),
),
],
options={
"verbose_name": "Supervision",
"verbose_name_plural": "Supervisions",
"ordering": ["area", "break_item"],
},
),
migrations.CreateModel(
name="SupervisionSubstitution",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
(
"extended_data",
django.contrib.postgres.fields.jsonb.JSONField(
default=dict, editable=False
),
),
("date", models.DateField(verbose_name="Date")),
],
options={
"verbose_name": "Supervision substitution",
"verbose_name_plural": "Supervision substitutions",
"ordering": ["date", "supervision"],
},
),
migrations.AddIndex(
model_name="holiday",
index=models.Index(
fields=["date_start", "date_end"], name="chronos_hol_date_st_a47004_idx"
),
),
migrations.AddField(
model_name="exam",
name="lesson",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="exams",
to="chronos.Lesson",
),
),
migrations.AddField(
model_name="exam",
name="period_from",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="+",
to="chronos.TimePeriod",
verbose_name="Effective start period of exam",
),
),
migrations.AddField(
model_name="exam",
name="period_to",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="+",
to="chronos.TimePeriod",
verbose_name="Effective end period of exam",
),
),
migrations.AddField(
model_name="event",
name="absence_reason",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="absence_reason",
to="chronos.AbsenceReason",
verbose_name="Absence reason",
),
),
migrations.AddField(
model_name="event",
name="teachers",
field=models.ManyToManyField(
related_name="events", to="core.Person", verbose_name="Teachers"
),
),
migrations.AddField(
model_name="event",
name="period_from",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="+",
to="chronos.TimePeriod",
verbose_name="Effective start period of event",
),
),
migrations.AddField(
model_name="event",
name="period_to",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="+",
to="chronos.TimePeriod",
verbose_name="Effective end period of event",
),
),
migrations.AddField(
model_name="event",
name="rooms",
field=models.ManyToManyField(
related_name="events", to="chronos.Room", verbose_name="Rooms"
),
),
migrations.AddField(
model_name="absence",
name="period_from",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="+",
to="chronos.TimePeriod",
verbose_name="Effective start period of absence",
),
),
migrations.AddField(
model_name="absence",
name="period_to",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="+",
to="chronos.TimePeriod",
verbose_name="Effective end period of absence",
),
),
migrations.AddField(
model_name="absence",
name="person",
field=models.ManyToManyField(related_name="absences", to="core.Person"),
),
migrations.AddField(
model_name="absence",
name="reason",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="absences",
to="chronos.AbsenceReason",
),
),
migrations.AddIndex(
model_name="exam",
index=models.Index(fields=["date"], name="chronos_exa_date_5ba442_idx"),
),
migrations.AddIndex(
model_name="event",
index=models.Index(
fields=["period_from", "period_to", "date_start", "date_end"],
name="chronos_eve_periodf_56eb18_idx",
),
),
migrations.AddIndex(
model_name="absence",
index=models.Index(
fields=["date_start", "date_end"], name="chronos_abs_date_st_337ff5_idx"
),
),
migrations.AddField(
model_name="lessonsubstitution",
name="cancelled_for_teachers",
field=models.BooleanField(
default=False, verbose_name="Cancelled for teachers?"
),
),
migrations.AddField(
model_name="lessonsubstitution",
name="comment",
field=models.TextField(blank=True, null=True, verbose_name="Comment"),
),
migrations.AlterField(
model_name="lessonsubstitution",
name="cancelled",
field=models.BooleanField(default=False, verbose_name="Cancelled?"),
),
migrations.AddField(
model_name="event",
name="groups",
field=models.ManyToManyField(
related_name="events", to="core.Group", verbose_name="Groups"
),
),
migrations.AddField(
model_name="supervisionsubstitution",
name="supervision",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="substitutions",
to="chronos.Supervision",
verbose_name="Supervision",
),
),
migrations.AddField(
model_name="supervisionsubstitution",
name="teacher",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="substituted_supervisions",
to="core.Person",
verbose_name="Teacher",
),
),
migrations.AddField(
model_name="supervision",
name="area",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="supervisions",
to="chronos.SupervisionArea",
verbose_name="Supervision area",
),
),
migrations.AddField(
model_name="supervision",
name="break_item",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="supervisions",
to="chronos.Break",
verbose_name="Break",
),
),
migrations.AddField(
model_name="supervision",
name="teacher",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="supervisions",
to="core.Person",
verbose_name="Teacher",
),
),
migrations.AddIndex(
model_name="break",
index=models.Index(
fields=["weekday", "time_start", "time_end"],
name="chronos_bre_weekday_165338_idx",
),
),
]
This diff is collapsed.