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 (28)
Showing
with 1474 additions and 825 deletions
......@@ -17,6 +17,7 @@ from .models import (
AbsenceReason,
Break,
TimePeriod,
ExtraLesson,
)
from .util.format import format_date_period, format_m2m
......@@ -91,6 +92,19 @@ class EventAdmin(admin.ModelAdmin):
admin.site.register(Event, EventAdmin)
class ExtraLessonAdmin(admin.ModelAdmin):
def _groups(self, obj):
return format_m2m(obj.groups)
def _teachers(self, obj):
return format_m2m(obj.teachers)
list_display = ("week", "period", "subject", "_groups", "_teachers", "room")
admin.site.register(ExtraLesson, ExtraLessonAdmin)
class HolidayAdmin(admin.ModelAdmin):
list_display = ("title", "date_start", "date_end")
......@@ -137,10 +151,10 @@ admin.site.register(Room, RoomAdmin)
class SubjectAdmin(admin.ModelAdmin):
def _colour(self, obj):
return colour_badge(obj.colour_fg, obj.colour_bg, obj.abbrev,)
return colour_badge(obj.colour_fg, obj.colour_bg, obj.short_name, )
list_display = ("abbrev", "name", "_colour")
list_display_links = ("abbrev", "name")
list_display = ("short_name", "name", "_colour")
list_display_links = ("short_name", "name")
admin.site.register(Subject, SubjectAdmin)
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-01 13:21+0200\n"
"POT-Creation-Date: 2020-04-28 13:31+0000\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,8 +16,7 @@ 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
msgid "Options for timetables"
......@@ -51,266 +50,328 @@ msgstr ""
msgid "Show announcement in timetable views?"
msgstr ""
#: models.py:276
#: models.py:286
msgid "Week day"
msgstr ""
#: models.py:277
#: models.py:287
msgid "Number of period"
msgstr ""
#: models.py:279
#: models.py:289
msgid "Time the period starts"
msgstr ""
#: models.py:280
#: models.py:290
msgid "Time the period ends"
msgstr ""
#: models.py:384
msgid "Abbreviation of subject in timetable"
#: models.py:388
msgid "Time period"
msgstr ""
#: models.py:386
#: models.py:389
msgid "Time periods"
msgstr ""
#: models.py:393
msgid "Short name of subject"
msgstr ""
#: models.py:394
msgid "Long name of subject"
msgstr ""
#: models.py:389
#: models.py:397
msgid "Foreground colour in timetable"
msgstr ""
#: models.py:395
#: models.py:403
msgid "Background colour in timetable"
msgstr ""
#: models.py:410
#: models.py:418
msgid "Short name, e.g. room number"
msgstr ""
#: models.py:412 models.py:653 models.py:665
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
msgstr ""
#: models.py:427
#: models.py:459
msgid "Effective start date of lesson"
msgstr ""
#: models.py:428
#: models.py:460
msgid "Effective end date of lesson"
msgstr ""
#: models.py:453
#: models.py:479
msgid "Lesson"
msgstr ""
#: models.py:480 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: models.py:486 models.py:1096
msgid "Week"
msgstr ""
#: models.py:463 templates/chronos/substitutions.html:46
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:468 templates/chronos/substitutions.html:47
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr ""
#: models.py:470
#: models.py:503
msgid "Cancelled?"
msgstr ""
#: models.py:471
#: models.py:504
msgid "Cancelled for teachers?"
msgstr ""
#: models.py:473 models.py:612 models.py:629
#: models.py:506 models.py:712 models.py:739 models.py:1104
msgid "Comment"
msgstr ""
#: models.py:477
#: models.py:510
msgid "Lessons can only be either substituted or cancelled."
msgstr ""
#: models.py:593
#: models.py:543
msgid "Lesson substitution"
msgstr ""
#: models.py:544
msgid "Lesson substitutions"
msgstr ""
#: models.py:601
msgid "Lesson period"
msgstr ""
#: models.py:602
msgid "Lesson periods"
msgstr ""
#: models.py:643
msgid "Timetable widget"
msgstr ""
#: models.py:597 models.py:628 models.py:704
msgid "Title"
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
msgstr ""
#: models.py:598
msgid "Description"
#: models.py:675
msgid "Name"
msgstr ""
#: models.py:601 models.py:707
#: models.py:684
msgid "Absence reason"
msgstr ""
#: models.py:602
#: models.py:685
msgid "Absence reasons"
msgstr ""
#: models.py:608
#: models.py:708
msgid "Effective start date of absence"
msgstr ""
#: models.py:609
#: models.py:709
msgid "Effective end date of absence"
msgstr ""
#: models.py:610
#: models.py:710
msgid "Effective start period of absence"
msgstr ""
#: models.py:611
#: models.py:711
msgid "Effective end period of absence"
msgstr ""
#: models.py:617
#: models.py:722
msgid "Unknown absence"
msgstr ""
#: models.py:727
msgid "Absence"
msgstr ""
#: models.py:618
#: models.py:728
msgid "Absences"
msgstr ""
#: models.py:624
#: models.py:734
msgid "Date of exam"
msgstr ""
#: models.py:625
#: models.py:735
msgid "Effective start period of exam"
msgstr ""
#: models.py:626
#: models.py:736
msgid "Effective end period of exam"
msgstr ""
#: models.py:634
#: models.py:738 models.py:1032
msgid "Title"
msgstr ""
#: models.py:744
msgid "Exam"
msgstr ""
#: models.py:635
#: models.py:745
msgid "Exams"
msgstr ""
#: models.py:639
#: models.py:755
msgid "Title of the holidays"
msgstr ""
#: models.py:640
#: models.py:756
msgid "Effective start date of holidays"
msgstr ""
#: models.py:641
#: models.py:757
msgid "Effective end date of holidays"
msgstr ""
#: models.py:642
#: models.py:758
msgid "Comments"
msgstr ""
#: models.py:647
#: models.py:786
msgid "Holiday"
msgstr ""
#: models.py:648
#: models.py:787
msgid "Holidays"
msgstr ""
#: models.py:652 models.py:664
msgid "Short name"
msgstr ""
#: models.py:659 models.py:682
#: models.py:801 models.py:902
msgid "Supervision area"
msgstr ""
#: models.py:660
#: models.py:802
msgid "Supervision areas"
msgstr ""
#: models.py:668
#: models.py:810
msgid "Effective start of break"
msgstr ""
#: models.py:671
#: models.py:813
msgid "Effective end of break"
msgstr ""
#: models.py:677 models.py:683
#: models.py:862 models.py:903
msgid "Break"
msgstr ""
#: models.py:678
#: models.py:863
msgid "Breaks"
msgstr ""
#: models.py:684 models.py:695 templates/chronos/substitutions.html:45
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:688 models.py:694 templates/chronos/partials/subs/subject.html:5
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
#: models.py:689
#: models.py:930
msgid "Supervisions"
msgstr ""
#: models.py:693
#: models.py:934
msgid "Date"
msgstr ""
#: models.py:699
#: models.py:947
msgid "Supervision substitution"
msgstr ""
#: models.py:700
#: models.py:948
msgid "Supervision substitutions"
msgstr ""
#: models.py:705
#: models.py:1034
msgid "Effective start date of event"
msgstr ""
#: models.py:706
#: models.py:1035
msgid "Effective end date of event"
msgstr ""
#: models.py:708
#: models.py:1037
msgid "Effective start period of event"
msgstr ""
#: models.py:709
#: models.py:1038
msgid "Effective end period of event"
msgstr ""
#: models.py:711 tables.py:31 templates/chronos/all.html:28
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
msgstr ""
#: models.py:712 templates/chronos/all.html:39
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
msgstr ""
#: models.py:713 tables.py:32 templates/chronos/all.html:17
#: models.py:1042 models.py:1101 tables.py:32 templates/chronos/all.html:17
#: templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr ""
#: models.py:718
#: models.py:1048
msgid "Event {}"
msgstr ""
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
#: models.py:719
#: models.py:1070
msgid "Events"
msgstr ""
#: settings.py:6
#: models.py:1110
msgid "Extra lesson"
msgstr ""
#: models.py:1111
msgid "Extra lessons"
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."
msgstr ""
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
msgstr ""
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
msgstr ""
#: settings.py:26
msgid "Number of days shown on substitutions print view"
msgstr ""
#: settings.py:10
#: settings.py:30
msgid "The header box shows affected teachers/groups."
msgstr ""
......@@ -334,10 +395,6 @@ msgstr ""
msgid "Delete"
msgstr ""
#: templates/chronos/lessons_day.html:9 templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: templates/chronos/my_timetable.html:19 templates/chronos/timetable.html:50
msgid "SMART PLAN"
msgstr ""
......@@ -347,20 +404,35 @@ msgid "Show week timetable for"
msgstr ""
#: templates/chronos/partials/headerbox.html:10
msgid "Affected teachers"
msgid "Absent teachers"
msgstr ""
#: templates/chronos/partials/headerbox.html:22
msgid "Absent groups"
msgstr ""
#: templates/chronos/partials/headerbox.html:34
msgid "Affected teachers"
msgstr ""
#: templates/chronos/partials/headerbox.html:46
msgid "Affected groups"
msgstr ""
#: templates/chronos/partials/lesson.html:42
#: templates/chronos/substitutions.html:83
#: templates/chronos/substitutions.html:89
#: templates/chronos/substitutions_print.html:71
#: templates/chronos/partials/subs/badge.html:4
msgid "Cancelled"
msgstr ""
#: templates/chronos/partials/subs/badge.html:6
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
msgid "CW"
msgstr ""
#: templates/chronos/substitutions.html:48
#: templates/chronos/substitutions_print.html:31
msgid "Notes"
......@@ -387,12 +459,7 @@ msgstr ""
msgid "Show regular timetable"
msgstr ""
#: templates/chronos/timetable.html:72 templates/chronos/timetable.html:82
#: templates/chronos/timetable.html:92
msgid "CW"
msgstr ""
#: templates/chronos/timetable.html:111
#: templates/chronos/timetable.html:67
msgid "Show SMART PLAN"
msgstr ""
......@@ -415,10 +482,10 @@ msgstr ""
msgid "Go to smart plan"
msgstr ""
#: views.py:262
#: views.py:230
msgid "The substitution has been saved."
msgstr ""
#: views.py:284
#: views.py:252
msgid "The substitution has been deleted."
msgstr ""
......@@ -7,21 +7,20 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-01 13:21+0200\n"
"PO-Revision-Date: 2019-11-23 11:07+0000\n"
"Last-Translator: Tom Teichler <tom.teichler@teckids.org>\n"
"Language-Team: German <https://translate.edugit.org/projects/aleksis-sis/"
"aleksis-app-chronos/de/>\n"
"POT-Creation-Date: 2020-04-28 13:31+0000\n"
"PO-Revision-Date: 2020-04-26 15:23+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: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.8\n"
"X-Generator: Weblate 4.0.1\n"
#: forms.py:25
msgid "Options for timetables"
msgstr ""
msgstr "Einstellungen für Stundenpläne"
#: menus.py:6
msgid "Timetables"
......@@ -29,16 +28,12 @@ msgstr "Stundenpläne"
#: menus.py:16 templates/chronos/my_timetable.html:11
#: templates/chronos/my_timetable.html:18
#, fuzzy
#| msgid "Timetable"
msgid "My timetable"
msgstr "Stundenplan"
msgstr "Mein Plan"
#: menus.py:22 templates/chronos/all.html:11 templates/chronos/all.html:12
#, fuzzy
#| msgid "Timetables"
msgid "All timetables"
msgstr "Stundenpläne"
msgstr "Alle Stundenpläne"
#: menus.py:28
msgid "Daily lessons"
......@@ -53,329 +48,346 @@ msgstr "Vertretungen"
#: model_extensions.py:94
msgid "Show announcement in timetable views?"
msgstr ""
msgstr "Ankündigungen in Stundenplanansichten anzeigen?"
#: models.py:276
#: models.py:286
msgid "Week day"
msgstr "Wochentag"
#: models.py:277
#: models.py:287
msgid "Number of period"
msgstr "Nummer der Stunde"
#: models.py:279
#: models.py:289
msgid "Time the period starts"
msgstr "Anfangszeit der Stunde"
#: models.py:280
#: models.py:290
msgid "Time the period ends"
msgstr "Endzeit der Stunde"
#: models.py:384
msgid "Abbreviation of subject in timetable"
msgstr "Kürzel des Faches im Stundenplan"
#: models.py:388
msgid "Time period"
msgstr "Stunde"
#: models.py:389
msgid "Time periods"
msgstr "Stunden"
#: models.py:386
#: models.py:393
#, fuzzy
#| msgid "Long name of subject"
msgid "Short name of subject"
msgstr "Name des Faches"
#: models.py:394
msgid "Long name of subject"
msgstr "Name des Faches"
#: models.py:389
#: models.py:397
msgid "Foreground colour in timetable"
msgstr "Vordergrundfarbe im Stundenplan"
#: models.py:395
#: models.py:403
msgid "Background colour in timetable"
msgstr "Hintergrundfarbe im Stundenplan"
#: models.py:410
#: models.py:418
msgid "Short name, e.g. room number"
msgstr "Kurzer Name, z.B. Raumnummer"
#: models.py:412 models.py:653 models.py:665
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
msgstr "Langer Name"
#: models.py:427
#: models.py:459
msgid "Effective start date of lesson"
msgstr "Effektives Startdatum des Unterrichts"
#: models.py:428
#: models.py:460
msgid "Effective end date of lesson"
msgstr "Effektives Enddatum des Unterrichts"
#: models.py:453
#: models.py:479
msgid "Lesson"
msgstr "Unterrichtsstunde"
#: models.py:480 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr "Unterrichtsstunden"
#: models.py:486 models.py:1096
msgid "Week"
msgstr "Woche"
#: models.py:463 templates/chronos/substitutions.html:46
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr "Fach"
#: models.py:468 templates/chronos/substitutions.html:47
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr "Raum"
#: models.py:470
#, fuzzy
#| msgid "Cancelled"
#: models.py:503
msgid "Cancelled?"
msgstr "Fällt aus"
msgstr "Entfällt?"
#: models.py:471
#: models.py:504
msgid "Cancelled for teachers?"
msgstr ""
msgstr "Entfällt für Lehrkräfte?"
#: models.py:473 models.py:612 models.py:629
#: models.py:506 models.py:712 models.py:739 models.py:1104
msgid "Comment"
msgstr ""
msgstr "Kommentar"
#: models.py:477
#: models.py:510
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:593
#, fuzzy
#| msgid "Timetable"
#: models.py:543
msgid "Lesson substitution"
msgstr "Vertretung"
#: models.py:544
msgid "Lesson substitutions"
msgstr "Vertretungen"
#: models.py:601
msgid "Lesson period"
msgstr "Unterrichtsstunde"
#: models.py:602
msgid "Lesson periods"
msgstr "Unterrichtsstunden"
#: models.py:643
msgid "Timetable widget"
msgstr "Stundenplan"
msgstr "Stundenplanwidget"
#: models.py:597 models.py:628 models.py:704
msgid "Title"
msgstr ""
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
msgstr "Kurzname"
#: models.py:598
msgid "Description"
msgstr ""
#: models.py:675
msgid "Name"
msgstr "Name"
#: models.py:601 models.py:707
#: models.py:684
msgid "Absence reason"
msgstr ""
msgstr "Absenzgrund"
#: models.py:602
#: models.py:685
msgid "Absence reasons"
msgstr ""
msgstr "Absenzgründe"
#: models.py:608
#, fuzzy
#| msgid "Effective start date of lesson"
#: models.py:708
msgid "Effective start date of absence"
msgstr "Effektives Startdatum des Unterrichts"
msgstr "Effektives Startdatum der Absenz"
#: models.py:609
#, fuzzy
#| msgid "Effective end date of lesson"
#: models.py:709
msgid "Effective end date of absence"
msgstr "Effektives Enddatum des Unterrichts"
msgstr "Effektives Enddatum der Absenz"
#: models.py:610
#, fuzzy
#| msgid "Effective start date of lesson"
#: models.py:710
msgid "Effective start period of absence"
msgstr "Effektives Startdatum des Unterrichts"
msgstr "Effektive Startstunde der Absenz"
#: models.py:611
#, fuzzy
#| msgid "Effective end date of lesson"
#: models.py:711
msgid "Effective end period of absence"
msgstr "Effektives Enddatum des Unterrichts"
msgstr "Effektive Endstunde der Absenz"
#: models.py:722
msgid "Unknown absence"
msgstr "Unbekannte Absenz"
#: models.py:617
#: models.py:727
msgid "Absence"
msgstr ""
msgstr "Absenz"
#: models.py:618
#: models.py:728
msgid "Absences"
msgstr ""
msgstr "Absenzen"
#: models.py:624
#: models.py:734
msgid "Date of exam"
msgstr ""
msgstr "Datum der Klausur"
#: models.py:625
#, fuzzy
#| msgid "Effective start date of lesson"
#: models.py:735
msgid "Effective start period of exam"
msgstr "Effektives Startdatum des Unterrichts"
msgstr "Effektive Startstunde der Klausur"
#: models.py:626
#, fuzzy
#| msgid "Effective end date of lesson"
#: models.py:736
msgid "Effective end period of exam"
msgstr "Effektives Enddatum des Unterrichts"
msgstr "Effektive Endstunde der Klausur"
#: models.py:634
#: models.py:738 models.py:1032
msgid "Title"
msgstr "Titel"
#: models.py:744
msgid "Exam"
msgstr ""
msgstr "Klausur"
#: models.py:635
#: models.py:745
msgid "Exams"
msgstr ""
msgstr "Klausuren"
#: models.py:639
#: models.py:755
msgid "Title of the holidays"
msgstr ""
msgstr "Titel der Ferien"
#: models.py:640
#, fuzzy
#| msgid "Effective start date of lesson"
#: models.py:756
msgid "Effective start date of holidays"
msgstr "Effektives Startdatum des Unterrichts"
msgstr "Effektives Startdatum der Ferien"
#: models.py:641
#, fuzzy
#| msgid "Effective end date of lesson"
#: models.py:757
msgid "Effective end date of holidays"
msgstr "Effektives Enddatum des Unterrichts"
msgstr "Effektives Enddatum der Ferien"
#: models.py:642
#: models.py:758
msgid "Comments"
msgstr ""
msgstr "Kommentare"
#: models.py:647
#, fuzzy
#| msgid "Friday"
#: models.py:786
msgid "Holiday"
msgstr "Freitag"
msgstr "Ferien"
#: models.py:648
#: models.py:787
msgid "Holidays"
msgstr ""
msgstr "Ferien"
#: models.py:652 models.py:664
#, fuzzy
#| msgid "Long name"
msgid "Short name"
msgstr "Langer Name"
#: models.py:659 models.py:682
#: models.py:801 models.py:902
msgid "Supervision area"
msgstr ""
msgstr "Aufsichtsgebiet"
#: models.py:660
#: models.py:802
msgid "Supervision areas"
msgstr ""
msgstr "Aufsichtsgebiete"
#: models.py:668
#, fuzzy
#| msgid "Effective start date of lesson"
#: models.py:810
msgid "Effective start of break"
msgstr "Effektives Startdatum des Unterrichts"
msgstr "Effektiver Start der Pause"
#: models.py:671
#, fuzzy
#| msgid "Effective end date of lesson"
#: models.py:813
msgid "Effective end of break"
msgstr "Effektives Enddatum des Unterrichts"
msgstr "Effektives Ende der Pause"
#: models.py:677 models.py:683
#: models.py:862 models.py:903
msgid "Break"
msgstr ""
msgstr "Pause"
#: models.py:678
#: models.py:863
msgid "Breaks"
msgstr ""
msgstr "Pausen"
#: models.py:684 models.py:695 templates/chronos/substitutions.html:45
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr "Lehrkraft"
#: models.py:688 models.py:694 templates/chronos/partials/subs/subject.html:5
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
msgstr "Aufsicht"
#: models.py:689
#: models.py:930
msgid "Supervisions"
msgstr ""
msgstr "Aufsichten"
#: models.py:693
#: models.py:934
msgid "Date"
msgstr ""
msgstr "Datum"
#: models.py:699
#, fuzzy
#| msgid "Edit substitution"
#: models.py:947
msgid "Supervision substitution"
msgstr "Vertretung bearbeiten"
msgstr "Aufsichtsvertretung"
#: models.py:700
#, fuzzy
#| msgid "Substitutions"
#: models.py:948
msgid "Supervision substitutions"
msgstr "Vertretungen"
msgstr "Aufsichtsvertretungen"
#: models.py:705
#, fuzzy
#| msgid "Effective start date of lesson"
#: models.py:1034
msgid "Effective start date of event"
msgstr "Effektives Startdatum des Unterrichts"
msgstr "Effektives Startdatum der Veranstaltung"
#: models.py:706
#, fuzzy
#| msgid "Effective end date of lesson"
#: models.py:1035
msgid "Effective end date of event"
msgstr "Effektives Enddatum des Unterrichts"
msgstr "Effektives Enddatum der Veranstaltung"
#: models.py:708
#, fuzzy
#| msgid "Effective start date of lesson"
#: models.py:1037
msgid "Effective start period of event"
msgstr "Effektives Startdatum des Unterrichts"
msgstr "Effektive Startstunde der Veranstaltung"
#: models.py:709
#, fuzzy
#| msgid "Effective end date of lesson"
#: models.py:1038
msgid "Effective end period of event"
msgstr "Effektives Enddatum des Unterrichts"
msgstr "Effektive Endstunde der Veranstaltung"
#: models.py:711 tables.py:31 templates/chronos/all.html:28
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
msgstr "Gruppen"
#: models.py:712 templates/chronos/all.html:39
#, fuzzy
#| msgid "Room"
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
msgstr "Raum"
msgstr "Räume"
#: models.py:713 tables.py:32 templates/chronos/all.html:17
#: 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:718
#: models.py:1048
msgid "Event {}"
msgstr "Veranstaltung {}"
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
msgstr "Veranstaltung"
#: models.py:719
#: models.py:1070
msgid "Events"
msgstr ""
msgstr "Veranstaltungen"
#: settings.py:6
#: models.py:1110
msgid "Extra lesson"
msgstr "Sonderstunde"
#: models.py:1111
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."
#: 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."
#: 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."
#: settings.py:26
msgid "Number of days shown on substitutions print view"
msgstr ""
msgstr "Anzahl der Tage, die in der Druckansicht des Vertretungsplanes angezeigt werden soll"
#: settings.py:10
#: settings.py:30
msgid "The header box shows affected teachers/groups."
msgstr ""
msgstr "Die Kopfbox zeigt betroffene Lehrkräfte/Gruppen."
#: tables.py:36
msgid "Substitution"
msgstr "Vertretung"
#: tables.py:37
#, fuzzy
#| msgid "Edit substitution"
msgid "Manage substitution"
msgstr "Vertretung bearbeiten"
msgstr "Vertretung verwalten"
#: templates/chronos/edit_substitution.html:6
#, fuzzy
#| msgid "Edit substitution"
msgid "Edit substitution."
msgstr "Vertretung bearbeiten"
msgstr "Vertretung bearbeiten."
#: templates/chronos/edit_substitution.html:7
msgid "Edit substitution"
......@@ -383,77 +395,75 @@ msgstr "Vertretung bearbeiten"
#: templates/chronos/edit_substitution.html:20
msgid "Delete"
msgstr ""
#: templates/chronos/lessons_day.html:9 templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr "Unterrichtsstunden"
msgstr "Löschen"
#: templates/chronos/my_timetable.html:19 templates/chronos/timetable.html:50
msgid "SMART PLAN"
msgstr ""
msgstr "SMART PLAN"
#: templates/chronos/my_timetable.html:22
msgid "Show week timetable for"
msgstr ""
msgstr "Wochenplan anzeigen für"
#: templates/chronos/partials/headerbox.html:10
msgid "Affected teachers"
msgstr ""
msgid "Absent teachers"
msgstr "Abwesende Lehrkräfte"
#: templates/chronos/partials/headerbox.html:22
msgid "Absent groups"
msgstr "Abwesende Gruppen"
#: templates/chronos/partials/headerbox.html:34
msgid "Affected teachers"
msgstr "Betroffene Lehrkräfte"
#: templates/chronos/partials/headerbox.html:46
msgid "Affected groups"
msgstr ""
msgstr "Betroffene Gruppen"
#: templates/chronos/partials/lesson.html:42
#: templates/chronos/substitutions.html:83
#: templates/chronos/substitutions.html:89
#: templates/chronos/substitutions_print.html:71
#: templates/chronos/partials/subs/badge.html:4
msgid "Cancelled"
msgstr "Fällt aus"
#: 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
msgid "CW"
msgstr "KW"
#: templates/chronos/substitutions.html:48
#: templates/chronos/substitutions_print.html:31
msgid "Notes"
msgstr ""
msgstr "Notizen"
#: templates/chronos/substitutions.html:56
#: templates/chronos/substitutions_print.html:41
#, fuzzy
#| msgid "The substitution has been saved."
msgid "No substitutions available."
msgstr "Die Vertretung wurde gespeichert."
msgstr "Keine Vertretungen vorhanden."
#: templates/chronos/substitutions_print.html:11
#, fuzzy
#| msgid "Substitutions"
msgid "Print: Substitutions"
msgstr "Vertretungen"
msgstr "Druckansicht: Vertretungen"
#: templates/chronos/timetable.html:11 templates/chronos/timetable.html:23
msgid "Timetable"
msgstr "Stundenplan"
#: templates/chronos/timetable.html:28
#, fuzzy
#| msgid "Teachers"
msgid "Group teachers:"
msgstr "Lehrkräfte"
msgstr "Grupenlehrkräfte:"
#: templates/chronos/timetable.html:55
#, fuzzy
#| msgid "Foreground colour in timetable"
msgid "Show regular timetable"
msgstr "Vordergrundfarbe im Stundenplan"
#: templates/chronos/timetable.html:72 templates/chronos/timetable.html:82
#: templates/chronos/timetable.html:92
msgid "CW"
msgstr ""
msgstr "Regulären Plan anzeigen"
#: templates/chronos/timetable.html:111
#: templates/chronos/timetable.html:67
msgid "Show SMART PLAN"
msgstr ""
msgstr "SMART PLAN anzeigen"
#: templates/chronos/widget.html:8
#, python-format
......@@ -462,6 +472,9 @@ msgid ""
" My timetable for %(day)s\n"
" "
msgstr ""
"\n"
" Mein Stundenplan für %(day)s\n"
" "
#: templates/chronos/widget.html:19
msgid ""
......@@ -469,19 +482,25 @@ msgid ""
" There is no timetable linked to your person.\n"
" "
msgstr ""
"\n"
" Es gibt keine Stundenplan, der Ihrer Person zugeordnet ist.\n"
" "
#: templates/chronos/widget.html:29
msgid "Go to smart plan"
msgstr ""
msgstr "SMART PLAN anzeigen"
#: views.py:262
#: views.py:230
msgid "The substitution has been saved."
msgstr "Die Vertretung wurde gespeichert."
#: views.py:284
#: views.py:252
msgid "The substitution has been deleted."
msgstr "Die Vertretung wurde gelöscht."
#~ msgid "Abbreviation of subject in timetable"
#~ msgstr "Kürzel des Faches im Stundenplan"
#~ msgid "Group"
#~ msgstr "Gruppe"
......@@ -503,9 +522,6 @@ msgstr "Die Vertretung wurde gelöscht."
#~ msgid "Saturday"
#~ msgstr "Samstag"
#~ msgid "Lesson"
#~ msgstr "Unterrichtsstunde"
#~ msgid "Save"
#~ msgstr "Speichern"
......
......@@ -3,20 +3,21 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-01 13:21+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"
"Language: \n"
"POT-Creation-Date: 2020-04-26 15:06+0000\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: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.0.1\n"
#: forms.py:25
msgid "Options for timetables"
......@@ -50,266 +51,328 @@ msgstr ""
msgid "Show announcement in timetable views?"
msgstr ""
#: models.py:276
#: models.py:286
msgid "Week day"
msgstr ""
#: models.py:277
#: models.py:287
msgid "Number of period"
msgstr ""
#: models.py:279
#: models.py:289
msgid "Time the period starts"
msgstr ""
#: models.py:280
#: models.py:290
msgid "Time the period ends"
msgstr ""
#: models.py:384
msgid "Abbreviation of subject in timetable"
#: models.py:388
msgid "Time period"
msgstr ""
#: models.py:386
#: models.py:389
msgid "Time periods"
msgstr ""
#: models.py:393
msgid "Short name of subject"
msgstr ""
#: models.py:394
msgid "Long name of subject"
msgstr ""
#: models.py:389
#: models.py:397
msgid "Foreground colour in timetable"
msgstr ""
#: models.py:395
#: models.py:403
msgid "Background colour in timetable"
msgstr ""
#: models.py:410
#: models.py:418
msgid "Short name, e.g. room number"
msgstr ""
#: models.py:412 models.py:653 models.py:665
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
msgstr ""
#: models.py:427
#: models.py:459
msgid "Effective start date of lesson"
msgstr ""
#: models.py:428
#: models.py:460
msgid "Effective end date of lesson"
msgstr ""
#: models.py:453
#: models.py:479
msgid "Lesson"
msgstr "Cours"
#: models.py:480 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: models.py:486 models.py:1096
msgid "Week"
msgstr ""
#: models.py:463 templates/chronos/substitutions.html:46
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
msgstr "Sujet"
#: models.py:468 templates/chronos/substitutions.html:47
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr ""
msgstr "Salle"
#: models.py:470
#: models.py:503
msgid "Cancelled?"
msgstr ""
#: models.py:471
#: models.py:504
msgid "Cancelled for teachers?"
msgstr ""
#: models.py:473 models.py:612 models.py:629
#: models.py:506 models.py:712 models.py:739 models.py:1104
msgid "Comment"
msgstr ""
#: models.py:477
#: models.py:510
msgid "Lessons can only be either substituted or cancelled."
msgstr ""
#: models.py:593
#: models.py:543
msgid "Lesson substitution"
msgstr ""
#: models.py:544
msgid "Lesson substitutions"
msgstr ""
#: models.py:601
msgid "Lesson period"
msgstr ""
#: models.py:602
msgid "Lesson periods"
msgstr ""
#: models.py:643
msgid "Timetable widget"
msgstr ""
#: models.py:597 models.py:628 models.py:704
msgid "Title"
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
msgstr ""
#: models.py:598
msgid "Description"
#: models.py:675
msgid "Name"
msgstr ""
#: models.py:601 models.py:707
#: models.py:684
msgid "Absence reason"
msgstr ""
#: models.py:602
#: models.py:685
msgid "Absence reasons"
msgstr ""
#: models.py:608
#: models.py:708
msgid "Effective start date of absence"
msgstr ""
#: models.py:609
#: models.py:709
msgid "Effective end date of absence"
msgstr ""
#: models.py:610
#: models.py:710
msgid "Effective start period of absence"
msgstr ""
#: models.py:611
#: models.py:711
msgid "Effective end period of absence"
msgstr ""
#: models.py:617
#: models.py:722
msgid "Unknown absence"
msgstr ""
#: models.py:727
msgid "Absence"
msgstr ""
#: models.py:618
#: models.py:728
msgid "Absences"
msgstr ""
msgstr "Absences"
#: models.py:624
#: models.py:734
msgid "Date of exam"
msgstr ""
#: models.py:625
#: models.py:735
msgid "Effective start period of exam"
msgstr ""
#: models.py:626
#: models.py:736
msgid "Effective end period of exam"
msgstr ""
#: models.py:634
#: models.py:738 models.py:1032
msgid "Title"
msgstr ""
#: models.py:744
msgid "Exam"
msgstr ""
#: models.py:635
#: models.py:745
msgid "Exams"
msgstr ""
#: models.py:639
#: models.py:755
msgid "Title of the holidays"
msgstr ""
#: models.py:640
#: models.py:756
msgid "Effective start date of holidays"
msgstr ""
#: models.py:641
#: models.py:757
msgid "Effective end date of holidays"
msgstr ""
#: models.py:642
#: models.py:758
msgid "Comments"
msgstr ""
#: models.py:647
#: models.py:786
msgid "Holiday"
msgstr ""
#: models.py:648
#: models.py:787
msgid "Holidays"
msgstr ""
#: models.py:652 models.py:664
msgid "Short name"
msgstr ""
#: models.py:659 models.py:682
#: models.py:801 models.py:902
msgid "Supervision area"
msgstr ""
#: models.py:660
#: models.py:802
msgid "Supervision areas"
msgstr ""
#: models.py:668
#: models.py:810
msgid "Effective start of break"
msgstr ""
#: models.py:671
#: models.py:813
msgid "Effective end of break"
msgstr ""
#: models.py:677 models.py:683
#: models.py:862 models.py:903
msgid "Break"
msgstr ""
#: models.py:678
#: models.py:863
msgid "Breaks"
msgstr ""
#: models.py:684 models.py:695 templates/chronos/substitutions.html:45
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
msgstr "Profs"
#: models.py:688 models.py:694 templates/chronos/partials/subs/subject.html:5
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
#: models.py:689
#: models.py:930
msgid "Supervisions"
msgstr ""
#: models.py:693
#: models.py:934
msgid "Date"
msgstr ""
msgstr "Date"
#: models.py:699
#: models.py:947
msgid "Supervision substitution"
msgstr ""
#: models.py:700
#: models.py:948
msgid "Supervision substitutions"
msgstr ""
#: models.py:705
#: models.py:1034
msgid "Effective start date of event"
msgstr ""
#: models.py:706
#: models.py:1035
msgid "Effective end date of event"
msgstr ""
#: models.py:708
#: models.py:1037
msgid "Effective start period of event"
msgstr ""
#: models.py:709
#: models.py:1038
msgid "Effective end period of event"
msgstr ""
#: models.py:711 tables.py:31 templates/chronos/all.html:28
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
msgstr ""
#: models.py:712 templates/chronos/all.html:39
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
msgstr ""
#: models.py:713 tables.py:32 templates/chronos/all.html:17
#: 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:1048
msgid "Event {}"
msgstr ""
#: models.py:718
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
#: models.py:719
#: models.py:1070
msgid "Events"
msgstr ""
#: settings.py:6
#: models.py:1110
msgid "Extra lesson"
msgstr ""
#: models.py:1111
msgid "Extra lessons"
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."
msgstr ""
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
msgstr ""
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
msgstr ""
#: settings.py:26
msgid "Number of days shown on substitutions print view"
msgstr ""
#: settings.py:10
#: settings.py:30
msgid "The header box shows affected teachers/groups."
msgstr ""
......@@ -333,10 +396,6 @@ msgstr ""
msgid "Delete"
msgstr ""
#: templates/chronos/lessons_day.html:9 templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: templates/chronos/my_timetable.html:19 templates/chronos/timetable.html:50
msgid "SMART PLAN"
msgstr ""
......@@ -346,24 +405,39 @@ msgid "Show week timetable for"
msgstr ""
#: templates/chronos/partials/headerbox.html:10
msgid "Affected teachers"
msgid "Absent teachers"
msgstr ""
#: templates/chronos/partials/headerbox.html:22
msgid "Absent groups"
msgstr ""
#: templates/chronos/partials/headerbox.html:34
msgid "Affected teachers"
msgstr ""
#: templates/chronos/partials/headerbox.html:46
msgid "Affected groups"
msgstr ""
#: templates/chronos/partials/lesson.html:42
#: templates/chronos/substitutions.html:83
#: templates/chronos/substitutions.html:89
#: templates/chronos/substitutions_print.html:71
#: templates/chronos/partials/subs/badge.html:4
msgid "Cancelled"
msgstr ""
#: templates/chronos/partials/subs/badge.html:6
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
msgid "CW"
msgstr ""
#: templates/chronos/substitutions.html:48
#: templates/chronos/substitutions_print.html:31
msgid "Notes"
msgstr ""
msgstr "Notes"
#: templates/chronos/substitutions.html:56
#: templates/chronos/substitutions_print.html:41
......@@ -386,12 +460,7 @@ msgstr ""
msgid "Show regular timetable"
msgstr ""
#: templates/chronos/timetable.html:72 templates/chronos/timetable.html:82
#: templates/chronos/timetable.html:92
msgid "CW"
msgstr ""
#: templates/chronos/timetable.html:111
#: templates/chronos/timetable.html:67
msgid "Show SMART PLAN"
msgstr ""
......@@ -414,10 +483,10 @@ msgstr ""
msgid "Go to smart plan"
msgstr ""
#: views.py:262
#: views.py:230
msgid "The substitution has been saved."
msgstr ""
#: views.py:284
#: views.py:252
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-01 13:21+0200\n"
"POT-Creation-Date: 2020-04-28 13:31+0000\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"
......@@ -49,266 +49,328 @@ msgstr ""
msgid "Show announcement in timetable views?"
msgstr ""
#: models.py:276
#: models.py:286
msgid "Week day"
msgstr ""
#: models.py:277
#: models.py:287
msgid "Number of period"
msgstr ""
#: models.py:279
#: models.py:289
msgid "Time the period starts"
msgstr ""
#: models.py:280
#: models.py:290
msgid "Time the period ends"
msgstr ""
#: models.py:384
msgid "Abbreviation of subject in timetable"
#: models.py:388
msgid "Time period"
msgstr ""
#: models.py:386
#: models.py:389
msgid "Time periods"
msgstr ""
#: models.py:393
msgid "Short name of subject"
msgstr ""
#: models.py:394
msgid "Long name of subject"
msgstr ""
#: models.py:389
#: models.py:397
msgid "Foreground colour in timetable"
msgstr ""
#: models.py:395
#: models.py:403
msgid "Background colour in timetable"
msgstr ""
#: models.py:410
#: models.py:418
msgid "Short name, e.g. room number"
msgstr ""
#: models.py:412 models.py:653 models.py:665
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
msgstr ""
#: models.py:427
#: models.py:459
msgid "Effective start date of lesson"
msgstr ""
#: models.py:428
#: models.py:460
msgid "Effective end date of lesson"
msgstr ""
#: models.py:453
#: models.py:479
msgid "Lesson"
msgstr ""
#: models.py:480 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: models.py:486 models.py:1096
msgid "Week"
msgstr ""
#: models.py:463 templates/chronos/substitutions.html:46
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:468 templates/chronos/substitutions.html:47
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr ""
#: models.py:470
#: models.py:503
msgid "Cancelled?"
msgstr ""
#: models.py:471
#: models.py:504
msgid "Cancelled for teachers?"
msgstr ""
#: models.py:473 models.py:612 models.py:629
#: models.py:506 models.py:712 models.py:739 models.py:1104
msgid "Comment"
msgstr ""
#: models.py:477
#: models.py:510
msgid "Lessons can only be either substituted or cancelled."
msgstr ""
#: models.py:593
#: models.py:543
msgid "Lesson substitution"
msgstr ""
#: models.py:544
msgid "Lesson substitutions"
msgstr ""
#: models.py:601
msgid "Lesson period"
msgstr ""
#: models.py:602
msgid "Lesson periods"
msgstr ""
#: models.py:643
msgid "Timetable widget"
msgstr ""
#: models.py:597 models.py:628 models.py:704
msgid "Title"
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
msgstr ""
#: models.py:598
msgid "Description"
#: models.py:675
msgid "Name"
msgstr ""
#: models.py:601 models.py:707
#: models.py:684
msgid "Absence reason"
msgstr ""
#: models.py:602
#: models.py:685
msgid "Absence reasons"
msgstr ""
#: models.py:608
#: models.py:708
msgid "Effective start date of absence"
msgstr ""
#: models.py:609
#: models.py:709
msgid "Effective end date of absence"
msgstr ""
#: models.py:610
#: models.py:710
msgid "Effective start period of absence"
msgstr ""
#: models.py:611
#: models.py:711
msgid "Effective end period of absence"
msgstr ""
#: models.py:617
#: models.py:722
msgid "Unknown absence"
msgstr ""
#: models.py:727
msgid "Absence"
msgstr ""
#: models.py:618
#: models.py:728
msgid "Absences"
msgstr ""
#: models.py:624
#: models.py:734
msgid "Date of exam"
msgstr ""
#: models.py:625
#: models.py:735
msgid "Effective start period of exam"
msgstr ""
#: models.py:626
#: models.py:736
msgid "Effective end period of exam"
msgstr ""
#: models.py:634
#: models.py:738 models.py:1032
msgid "Title"
msgstr ""
#: models.py:744
msgid "Exam"
msgstr ""
#: models.py:635
#: models.py:745
msgid "Exams"
msgstr ""
#: models.py:639
#: models.py:755
msgid "Title of the holidays"
msgstr ""
#: models.py:640
#: models.py:756
msgid "Effective start date of holidays"
msgstr ""
#: models.py:641
#: models.py:757
msgid "Effective end date of holidays"
msgstr ""
#: models.py:642
#: models.py:758
msgid "Comments"
msgstr ""
#: models.py:647
#: models.py:786
msgid "Holiday"
msgstr ""
#: models.py:648
#: models.py:787
msgid "Holidays"
msgstr ""
#: models.py:652 models.py:664
msgid "Short name"
msgstr ""
#: models.py:659 models.py:682
#: models.py:801 models.py:902
msgid "Supervision area"
msgstr ""
#: models.py:660
#: models.py:802
msgid "Supervision areas"
msgstr ""
#: models.py:668
#: models.py:810
msgid "Effective start of break"
msgstr ""
#: models.py:671
#: models.py:813
msgid "Effective end of break"
msgstr ""
#: models.py:677 models.py:683
#: models.py:862 models.py:903
msgid "Break"
msgstr ""
#: models.py:678
#: models.py:863
msgid "Breaks"
msgstr ""
#: models.py:684 models.py:695 templates/chronos/substitutions.html:45
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:688 models.py:694 templates/chronos/partials/subs/subject.html:5
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
#: models.py:689
#: models.py:930
msgid "Supervisions"
msgstr ""
#: models.py:693
#: models.py:934
msgid "Date"
msgstr ""
#: models.py:699
#: models.py:947
msgid "Supervision substitution"
msgstr ""
#: models.py:700
#: models.py:948
msgid "Supervision substitutions"
msgstr ""
#: models.py:705
#: models.py:1034
msgid "Effective start date of event"
msgstr ""
#: models.py:706
#: models.py:1035
msgid "Effective end date of event"
msgstr ""
#: models.py:708
#: models.py:1037
msgid "Effective start period of event"
msgstr ""
#: models.py:709
#: models.py:1038
msgid "Effective end period of event"
msgstr ""
#: models.py:711 tables.py:31 templates/chronos/all.html:28
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
msgstr ""
#: models.py:712 templates/chronos/all.html:39
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
msgstr ""
#: models.py:713 tables.py:32 templates/chronos/all.html:17
#: models.py:1042 models.py:1101 tables.py:32 templates/chronos/all.html:17
#: templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr ""
#: models.py:718
#: models.py:1048
msgid "Event {}"
msgstr ""
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
#: models.py:719
#: models.py:1070
msgid "Events"
msgstr ""
#: settings.py:6
#: models.py:1110
msgid "Extra lesson"
msgstr ""
#: models.py:1111
msgid "Extra lessons"
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."
msgstr ""
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
msgstr ""
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
msgstr ""
#: settings.py:26
msgid "Number of days shown on substitutions print view"
msgstr ""
#: settings.py:10
#: settings.py:30
msgid "The header box shows affected teachers/groups."
msgstr ""
......@@ -332,10 +394,6 @@ msgstr ""
msgid "Delete"
msgstr ""
#: templates/chronos/lessons_day.html:9 templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: templates/chronos/my_timetable.html:19 templates/chronos/timetable.html:50
msgid "SMART PLAN"
msgstr ""
......@@ -345,20 +403,35 @@ msgid "Show week timetable for"
msgstr ""
#: templates/chronos/partials/headerbox.html:10
msgid "Affected teachers"
msgid "Absent teachers"
msgstr ""
#: templates/chronos/partials/headerbox.html:22
msgid "Absent groups"
msgstr ""
#: templates/chronos/partials/headerbox.html:34
msgid "Affected teachers"
msgstr ""
#: templates/chronos/partials/headerbox.html:46
msgid "Affected groups"
msgstr ""
#: templates/chronos/partials/lesson.html:42
#: templates/chronos/substitutions.html:83
#: templates/chronos/substitutions.html:89
#: templates/chronos/substitutions_print.html:71
#: templates/chronos/partials/subs/badge.html:4
msgid "Cancelled"
msgstr ""
#: templates/chronos/partials/subs/badge.html:6
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
msgid "CW"
msgstr ""
#: templates/chronos/substitutions.html:48
#: templates/chronos/substitutions_print.html:31
msgid "Notes"
......@@ -385,12 +458,7 @@ msgstr ""
msgid "Show regular timetable"
msgstr ""
#: templates/chronos/timetable.html:72 templates/chronos/timetable.html:82
#: templates/chronos/timetable.html:92
msgid "CW"
msgstr ""
#: templates/chronos/timetable.html:111
#: templates/chronos/timetable.html:67
msgid "Show SMART PLAN"
msgstr ""
......@@ -413,10 +481,10 @@ msgstr ""
msgid "Go to smart plan"
msgstr ""
#: views.py:262
#: views.py:230
msgid "The substitution has been saved."
msgstr ""
#: views.py:284
#: views.py:252
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-01 13:21+0200\n"
"POT-Creation-Date: 2020-04-28 13:31+0000\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"
......@@ -49,266 +49,328 @@ msgstr ""
msgid "Show announcement in timetable views?"
msgstr ""
#: models.py:276
#: models.py:286
msgid "Week day"
msgstr ""
#: models.py:277
#: models.py:287
msgid "Number of period"
msgstr ""
#: models.py:279
#: models.py:289
msgid "Time the period starts"
msgstr ""
#: models.py:280
#: models.py:290
msgid "Time the period ends"
msgstr ""
#: models.py:384
msgid "Abbreviation of subject in timetable"
#: models.py:388
msgid "Time period"
msgstr ""
#: models.py:386
#: models.py:389
msgid "Time periods"
msgstr ""
#: models.py:393
msgid "Short name of subject"
msgstr ""
#: models.py:394
msgid "Long name of subject"
msgstr ""
#: models.py:389
#: models.py:397
msgid "Foreground colour in timetable"
msgstr ""
#: models.py:395
#: models.py:403
msgid "Background colour in timetable"
msgstr ""
#: models.py:410
#: models.py:418
msgid "Short name, e.g. room number"
msgstr ""
#: models.py:412 models.py:653 models.py:665
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
msgstr ""
#: models.py:427
#: models.py:459
msgid "Effective start date of lesson"
msgstr ""
#: models.py:428
#: models.py:460
msgid "Effective end date of lesson"
msgstr ""
#: models.py:453
#: models.py:479
msgid "Lesson"
msgstr ""
#: models.py:480 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: models.py:486 models.py:1096
msgid "Week"
msgstr ""
#: models.py:463 templates/chronos/substitutions.html:46
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:468 templates/chronos/substitutions.html:47
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr ""
#: models.py:470
#: models.py:503
msgid "Cancelled?"
msgstr ""
#: models.py:471
#: models.py:504
msgid "Cancelled for teachers?"
msgstr ""
#: models.py:473 models.py:612 models.py:629
#: models.py:506 models.py:712 models.py:739 models.py:1104
msgid "Comment"
msgstr ""
#: models.py:477
#: models.py:510
msgid "Lessons can only be either substituted or cancelled."
msgstr ""
#: models.py:593
#: models.py:543
msgid "Lesson substitution"
msgstr ""
#: models.py:544
msgid "Lesson substitutions"
msgstr ""
#: models.py:601
msgid "Lesson period"
msgstr ""
#: models.py:602
msgid "Lesson periods"
msgstr ""
#: models.py:643
msgid "Timetable widget"
msgstr ""
#: models.py:597 models.py:628 models.py:704
msgid "Title"
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
msgstr ""
#: models.py:598
msgid "Description"
#: models.py:675
msgid "Name"
msgstr ""
#: models.py:601 models.py:707
#: models.py:684
msgid "Absence reason"
msgstr ""
#: models.py:602
#: models.py:685
msgid "Absence reasons"
msgstr ""
#: models.py:608
#: models.py:708
msgid "Effective start date of absence"
msgstr ""
#: models.py:609
#: models.py:709
msgid "Effective end date of absence"
msgstr ""
#: models.py:610
#: models.py:710
msgid "Effective start period of absence"
msgstr ""
#: models.py:611
#: models.py:711
msgid "Effective end period of absence"
msgstr ""
#: models.py:617
#: models.py:722
msgid "Unknown absence"
msgstr ""
#: models.py:727
msgid "Absence"
msgstr ""
#: models.py:618
#: models.py:728
msgid "Absences"
msgstr ""
#: models.py:624
#: models.py:734
msgid "Date of exam"
msgstr ""
#: models.py:625
#: models.py:735
msgid "Effective start period of exam"
msgstr ""
#: models.py:626
#: models.py:736
msgid "Effective end period of exam"
msgstr ""
#: models.py:634
#: models.py:738 models.py:1032
msgid "Title"
msgstr ""
#: models.py:744
msgid "Exam"
msgstr ""
#: models.py:635
#: models.py:745
msgid "Exams"
msgstr ""
#: models.py:639
#: models.py:755
msgid "Title of the holidays"
msgstr ""
#: models.py:640
#: models.py:756
msgid "Effective start date of holidays"
msgstr ""
#: models.py:641
#: models.py:757
msgid "Effective end date of holidays"
msgstr ""
#: models.py:642
#: models.py:758
msgid "Comments"
msgstr ""
#: models.py:647
#: models.py:786
msgid "Holiday"
msgstr ""
#: models.py:648
#: models.py:787
msgid "Holidays"
msgstr ""
#: models.py:652 models.py:664
msgid "Short name"
msgstr ""
#: models.py:659 models.py:682
#: models.py:801 models.py:902
msgid "Supervision area"
msgstr ""
#: models.py:660
#: models.py:802
msgid "Supervision areas"
msgstr ""
#: models.py:668
#: models.py:810
msgid "Effective start of break"
msgstr ""
#: models.py:671
#: models.py:813
msgid "Effective end of break"
msgstr ""
#: models.py:677 models.py:683
#: models.py:862 models.py:903
msgid "Break"
msgstr ""
#: models.py:678
#: models.py:863
msgid "Breaks"
msgstr ""
#: models.py:684 models.py:695 templates/chronos/substitutions.html:45
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:688 models.py:694 templates/chronos/partials/subs/subject.html:5
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
#: models.py:689
#: models.py:930
msgid "Supervisions"
msgstr ""
#: models.py:693
#: models.py:934
msgid "Date"
msgstr ""
#: models.py:699
#: models.py:947
msgid "Supervision substitution"
msgstr ""
#: models.py:700
#: models.py:948
msgid "Supervision substitutions"
msgstr ""
#: models.py:705
#: models.py:1034
msgid "Effective start date of event"
msgstr ""
#: models.py:706
#: models.py:1035
msgid "Effective end date of event"
msgstr ""
#: models.py:708
#: models.py:1037
msgid "Effective start period of event"
msgstr ""
#: models.py:709
#: models.py:1038
msgid "Effective end period of event"
msgstr ""
#: models.py:711 tables.py:31 templates/chronos/all.html:28
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
msgstr ""
#: models.py:712 templates/chronos/all.html:39
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
msgstr ""
#: models.py:713 tables.py:32 templates/chronos/all.html:17
#: models.py:1042 models.py:1101 tables.py:32 templates/chronos/all.html:17
#: templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr ""
#: models.py:718
#: models.py:1048
msgid "Event {}"
msgstr ""
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
#: models.py:719
#: models.py:1070
msgid "Events"
msgstr ""
#: settings.py:6
#: models.py:1110
msgid "Extra lesson"
msgstr ""
#: models.py:1111
msgid "Extra lessons"
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."
msgstr ""
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
msgstr ""
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
msgstr ""
#: settings.py:26
msgid "Number of days shown on substitutions print view"
msgstr ""
#: settings.py:10
#: settings.py:30
msgid "The header box shows affected teachers/groups."
msgstr ""
......@@ -332,10 +394,6 @@ msgstr ""
msgid "Delete"
msgstr ""
#: templates/chronos/lessons_day.html:9 templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: templates/chronos/my_timetable.html:19 templates/chronos/timetable.html:50
msgid "SMART PLAN"
msgstr ""
......@@ -345,20 +403,35 @@ msgid "Show week timetable for"
msgstr ""
#: templates/chronos/partials/headerbox.html:10
msgid "Affected teachers"
msgid "Absent teachers"
msgstr ""
#: templates/chronos/partials/headerbox.html:22
msgid "Absent groups"
msgstr ""
#: templates/chronos/partials/headerbox.html:34
msgid "Affected teachers"
msgstr ""
#: templates/chronos/partials/headerbox.html:46
msgid "Affected groups"
msgstr ""
#: templates/chronos/partials/lesson.html:42
#: templates/chronos/substitutions.html:83
#: templates/chronos/substitutions.html:89
#: templates/chronos/substitutions_print.html:71
#: templates/chronos/partials/subs/badge.html:4
msgid "Cancelled"
msgstr ""
#: templates/chronos/partials/subs/badge.html:6
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
msgid "CW"
msgstr ""
#: templates/chronos/substitutions.html:48
#: templates/chronos/substitutions_print.html:31
msgid "Notes"
......@@ -385,12 +458,7 @@ msgstr ""
msgid "Show regular timetable"
msgstr ""
#: templates/chronos/timetable.html:72 templates/chronos/timetable.html:82
#: templates/chronos/timetable.html:92
msgid "CW"
msgstr ""
#: templates/chronos/timetable.html:111
#: templates/chronos/timetable.html:67
msgid "Show SMART PLAN"
msgstr ""
......@@ -413,10 +481,10 @@ msgstr ""
msgid "Go to smart plan"
msgstr ""
#: views.py:262
#: views.py:230
msgid "The substitution has been saved."
msgstr ""
#: views.py:284
#: views.py:252
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-01 13:21+0200\n"
"POT-Creation-Date: 2020-04-28 13:31+0000\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"
......@@ -49,266 +49,328 @@ msgstr ""
msgid "Show announcement in timetable views?"
msgstr ""
#: models.py:276
#: models.py:286
msgid "Week day"
msgstr ""
#: models.py:277
#: models.py:287
msgid "Number of period"
msgstr ""
#: models.py:279
#: models.py:289
msgid "Time the period starts"
msgstr ""
#: models.py:280
#: models.py:290
msgid "Time the period ends"
msgstr ""
#: models.py:384
msgid "Abbreviation of subject in timetable"
#: models.py:388
msgid "Time period"
msgstr ""
#: models.py:386
#: models.py:389
msgid "Time periods"
msgstr ""
#: models.py:393
msgid "Short name of subject"
msgstr ""
#: models.py:394
msgid "Long name of subject"
msgstr ""
#: models.py:389
#: models.py:397
msgid "Foreground colour in timetable"
msgstr ""
#: models.py:395
#: models.py:403
msgid "Background colour in timetable"
msgstr ""
#: models.py:410
#: models.py:418
msgid "Short name, e.g. room number"
msgstr ""
#: models.py:412 models.py:653 models.py:665
#: models.py:420 models.py:792 models.py:807
msgid "Long name"
msgstr ""
#: models.py:427
#: models.py:459
msgid "Effective start date of lesson"
msgstr ""
#: models.py:428
#: models.py:460
msgid "Effective end date of lesson"
msgstr ""
#: models.py:453
#: models.py:479
msgid "Lesson"
msgstr ""
#: models.py:480 templates/chronos/lessons_day.html:9
#: templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: models.py:486 models.py:1096
msgid "Week"
msgstr ""
#: models.py:463 templates/chronos/substitutions.html:46
#: models.py:496 models.py:1099 templates/chronos/substitutions.html:46
#: templates/chronos/substitutions_print.html:29
msgid "Subject"
msgstr ""
#: models.py:468 templates/chronos/substitutions.html:47
#: models.py:501 models.py:1102 templates/chronos/substitutions.html:47
#: templates/chronos/substitutions_print.html:30
msgid "Room"
msgstr ""
#: models.py:470
#: models.py:503
msgid "Cancelled?"
msgstr ""
#: models.py:471
#: models.py:504
msgid "Cancelled for teachers?"
msgstr ""
#: models.py:473 models.py:612 models.py:629
#: models.py:506 models.py:712 models.py:739 models.py:1104
msgid "Comment"
msgstr ""
#: models.py:477
#: models.py:510
msgid "Lessons can only be either substituted or cancelled."
msgstr ""
#: models.py:593
#: models.py:543
msgid "Lesson substitution"
msgstr ""
#: models.py:544
msgid "Lesson substitutions"
msgstr ""
#: models.py:601
msgid "Lesson period"
msgstr ""
#: models.py:602
msgid "Lesson periods"
msgstr ""
#: models.py:643
msgid "Timetable widget"
msgstr ""
#: models.py:597 models.py:628 models.py:704
msgid "Title"
#: models.py:674 models.py:791 models.py:806
msgid "Short name"
msgstr ""
#: models.py:598
msgid "Description"
#: models.py:675
msgid "Name"
msgstr ""
#: models.py:601 models.py:707
#: models.py:684
msgid "Absence reason"
msgstr ""
#: models.py:602
#: models.py:685
msgid "Absence reasons"
msgstr ""
#: models.py:608
#: models.py:708
msgid "Effective start date of absence"
msgstr ""
#: models.py:609
#: models.py:709
msgid "Effective end date of absence"
msgstr ""
#: models.py:610
#: models.py:710
msgid "Effective start period of absence"
msgstr ""
#: models.py:611
#: models.py:711
msgid "Effective end period of absence"
msgstr ""
#: models.py:617
#: models.py:722
msgid "Unknown absence"
msgstr ""
#: models.py:727
msgid "Absence"
msgstr ""
#: models.py:618
#: models.py:728
msgid "Absences"
msgstr ""
#: models.py:624
#: models.py:734
msgid "Date of exam"
msgstr ""
#: models.py:625
#: models.py:735
msgid "Effective start period of exam"
msgstr ""
#: models.py:626
#: models.py:736
msgid "Effective end period of exam"
msgstr ""
#: models.py:634
#: models.py:738 models.py:1032
msgid "Title"
msgstr ""
#: models.py:744
msgid "Exam"
msgstr ""
#: models.py:635
#: models.py:745
msgid "Exams"
msgstr ""
#: models.py:639
#: models.py:755
msgid "Title of the holidays"
msgstr ""
#: models.py:640
#: models.py:756
msgid "Effective start date of holidays"
msgstr ""
#: models.py:641
#: models.py:757
msgid "Effective end date of holidays"
msgstr ""
#: models.py:642
#: models.py:758
msgid "Comments"
msgstr ""
#: models.py:647
#: models.py:786
msgid "Holiday"
msgstr ""
#: models.py:648
#: models.py:787
msgid "Holidays"
msgstr ""
#: models.py:652 models.py:664
msgid "Short name"
msgstr ""
#: models.py:659 models.py:682
#: models.py:801 models.py:902
msgid "Supervision area"
msgstr ""
#: models.py:660
#: models.py:802
msgid "Supervision areas"
msgstr ""
#: models.py:668
#: models.py:810
msgid "Effective start of break"
msgstr ""
#: models.py:671
#: models.py:813
msgid "Effective end of break"
msgstr ""
#: models.py:677 models.py:683
#: models.py:862 models.py:903
msgid "Break"
msgstr ""
#: models.py:678
#: models.py:863
msgid "Breaks"
msgstr ""
#: models.py:684 models.py:695 templates/chronos/substitutions.html:45
#: models.py:904 models.py:936 templates/chronos/substitutions.html:45
msgid "Teacher"
msgstr ""
#: models.py:688 models.py:694 templates/chronos/partials/subs/subject.html:5
#: models.py:929 models.py:935 templates/chronos/partials/subs/subject.html:23
#: templates/chronos/partials/supervision.html:15
msgid "Supervision"
msgstr ""
#: models.py:689
#: models.py:930
msgid "Supervisions"
msgstr ""
#: models.py:693
#: models.py:934
msgid "Date"
msgstr ""
#: models.py:699
#: models.py:947
msgid "Supervision substitution"
msgstr ""
#: models.py:700
#: models.py:948
msgid "Supervision substitutions"
msgstr ""
#: models.py:705
#: models.py:1034
msgid "Effective start date of event"
msgstr ""
#: models.py:706
#: models.py:1035
msgid "Effective end date of event"
msgstr ""
#: models.py:708
#: models.py:1037
msgid "Effective start period of event"
msgstr ""
#: models.py:709
#: models.py:1038
msgid "Effective end period of event"
msgstr ""
#: models.py:711 tables.py:31 templates/chronos/all.html:28
#: models.py:1040 models.py:1100 tables.py:31 templates/chronos/all.html:28
msgid "Groups"
msgstr ""
#: models.py:712 templates/chronos/all.html:39
#: models.py:1041 templates/chronos/all.html:39
msgid "Rooms"
msgstr ""
#: models.py:713 tables.py:32 templates/chronos/all.html:17
#: models.py:1042 models.py:1101 tables.py:32 templates/chronos/all.html:17
#: templates/chronos/substitutions_print.html:28
msgid "Teachers"
msgstr ""
#: models.py:718
#: models.py:1048
msgid "Event {}"
msgstr ""
#: models.py:1069 templates/chronos/partials/subs/subject.html:27
msgid "Event"
msgstr ""
#: models.py:719
#: models.py:1070
msgid "Events"
msgstr ""
#: settings.py:6
#: models.py:1110
msgid "Extra lesson"
msgstr ""
#: models.py:1111
msgid "Extra lessons"
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."
msgstr ""
#: settings.py:15
msgid "If there are more groups than the limit set in CHRONOS_SHORTEN_GROUPS_LIMIT, add text collapsible."
msgstr ""
#: settings.py:21
msgid "If there are more groups than this limit and CHRONOS_SHORTEN_GROUPS is enabled, add text collapsible."
msgstr ""
#: settings.py:26
msgid "Number of days shown on substitutions print view"
msgstr ""
#: settings.py:10
#: settings.py:30
msgid "The header box shows affected teachers/groups."
msgstr ""
......@@ -332,10 +394,6 @@ msgstr ""
msgid "Delete"
msgstr ""
#: templates/chronos/lessons_day.html:9 templates/chronos/lessons_day.html:19
msgid "Lessons"
msgstr ""
#: templates/chronos/my_timetable.html:19 templates/chronos/timetable.html:50
msgid "SMART PLAN"
msgstr ""
......@@ -345,20 +403,35 @@ msgid "Show week timetable for"
msgstr ""
#: templates/chronos/partials/headerbox.html:10
msgid "Affected teachers"
msgid "Absent teachers"
msgstr ""
#: templates/chronos/partials/headerbox.html:22
msgid "Absent groups"
msgstr ""
#: templates/chronos/partials/headerbox.html:34
msgid "Affected teachers"
msgstr ""
#: templates/chronos/partials/headerbox.html:46
msgid "Affected groups"
msgstr ""
#: templates/chronos/partials/lesson.html:42
#: templates/chronos/substitutions.html:83
#: templates/chronos/substitutions.html:89
#: templates/chronos/substitutions_print.html:71
#: templates/chronos/partials/subs/badge.html:4
msgid "Cancelled"
msgstr ""
#: templates/chronos/partials/subs/badge.html:6
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
msgid "CW"
msgstr ""
#: templates/chronos/substitutions.html:48
#: templates/chronos/substitutions_print.html:31
msgid "Notes"
......@@ -385,12 +458,7 @@ msgstr ""
msgid "Show regular timetable"
msgstr ""
#: templates/chronos/timetable.html:72 templates/chronos/timetable.html:82
#: templates/chronos/timetable.html:92
msgid "CW"
msgstr ""
#: templates/chronos/timetable.html:111
#: templates/chronos/timetable.html:67
msgid "Show SMART PLAN"
msgstr ""
......@@ -413,10 +481,10 @@ msgstr ""
msgid "Go to smart plan"
msgstr ""
#: views.py:262
#: views.py:230
msgid "The substitution has been saved."
msgstr ""
#: views.py:284
#: views.py:252
msgid "The substitution has been deleted."
msgstr ""
......@@ -16,25 +16,33 @@ MENUS = {
"name": _("My timetable"),
"url": "my_timetable",
"icon": "person",
"validators": ["menu_generator.validators.is_authenticated"],
"validators": [
("aleksis.core.util.predicates.permission_validator", "chronos.view_my_timetable"),
],
},
{
"name": _("All timetables"),
"url": "all_timetables",
"icon": "grid_on",
"validators": ["menu_generator.validators.is_authenticated"],
"validators": [
("aleksis.core.util.predicates.permission_validator", "chronos.view_timetable_overview"),
],
},
{
"name": _("Daily lessons"),
"url": "lessons_day",
"icon": "calendar_today",
"validators": ["menu_generator.validators.is_authenticated"],
"validators": [
("aleksis.core.util.predicates.permission_validator", "chronos.view_lessons_day"),
],
},
{
"name": _("Substitutions"),
"url": "substitutions",
"icon": "update",
"validators": ["menu_generator.validators.is_authenticated"],
"validators": [
("aleksis.core.util.predicates.permission_validator", "chronos.view_substitutions"),
],
},
],
}
......
# Generated by Django 3.0.5 on 2020-04-18 20:21
import calendarweek.calendarweek
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('chronos', '0013_event_title_optional'),
]
operations = [
migrations.CreateModel(
name='ExtraLesson',
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)),
('week', models.IntegerField(default=calendarweek.calendarweek.CalendarWeek.current_week, verbose_name='Week')),
('comment', models.CharField(blank=True, max_length=255, null=True, verbose_name='Comment')),
],
options={
'abstract': False,
},
),
migrations.AddField(
model_name='extralesson',
name='groups',
field=models.ManyToManyField(related_name='extra_lessons', to='core.Group', verbose_name='Groups'),
),
migrations.AddField(
model_name='extralesson',
name='period',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='extra_lessons', to='chronos.TimePeriod'),
),
migrations.AddField(
model_name='extralesson',
name='room',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='extra_lessons', to='chronos.Room', verbose_name='Room'),
),
migrations.AddField(
model_name='extralesson',
name='subject',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='extra_lessons', to='chronos.Subject', verbose_name='Subject'),
),
migrations.AddField(
model_name='extralesson',
name='teachers',
field=models.ManyToManyField(related_name='extra_lessons_as_teacher', to='core.Person', verbose_name='Teachers'),
),
]
# Generated by Django 3.0.5 on 2020-04-27 13:52
from django.db import migrations, models
from django.db.models import F
class Migration(migrations.Migration):
dependencies = [
('chronos', '0014_extra_lesson'),
]
operations = [
migrations.RenameField(
model_name='subject',
old_name='abbrev',
new_name='short_name',
),
migrations.AlterModelOptions(
name='subject',
options={'ordering': ['name', 'short_name']},
),
]
# Generated by Django 3.0.5 on 2020-04-30 19:03
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('chronos', '0015_rename_abbrev_to_short_name'),
]
operations = [
migrations.CreateModel(
name='GlobalPermissions',
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={
'permissions': (('view_all_timetables', 'Can view all timetables'), ('view_timetable_overview', 'Can view timetable overview'), ('view_lessons_day', 'Can view all lessons per day')),
'managed': False,
},
),
]
......@@ -5,7 +5,7 @@ from jsonstore import BooleanField
from aleksis.core.models import Person, Group, Announcement
from .models import Lesson, LessonPeriod
from .models import Lesson, LessonPeriod, TimetableType
@Person.property
......@@ -16,13 +16,13 @@ def is_teacher(self):
@Person.property
def timetable_type(self) -> Optional[str]:
def timetable_type(self) -> Optional[TimetableType]:
""" Return which type of timetable this user has """
if self.is_teacher:
return "teacher"
return TimetableType.TEACHER
elif self.primary_group:
return "group"
return TimetableType.GROUP
else:
return None
......@@ -33,9 +33,9 @@ def timetable_object(self) -> Optional[Union[Group, Person]]:
type_ = self.timetable_type
if type_ == "teacher":
if type_ == TimetableType.TEACHER:
return self
elif type_ == "group":
elif type_ == TimetableType.GROUP:
return self.primary_group
else:
return None
......
This diff is collapsed.
from rules import add_perm, always_allow
from aleksis.core.util.predicates import (
has_person,
has_global_perm,
has_any_object,
has_object_perm,
)
from .models import LessonSubstitution
from .util.predicates import (
has_timetable_perm
)
# View timetable overview
view_timetable_overview_predicate = has_person & has_global_perm("chronos.view_timetable_overview")
add_perm("chronos.view_timetable_overview", view_timetable_overview_predicate)
# View my timetable
add_perm("chronos.view_my_timetable", has_person)
# View timetable
view_timetable_predicate = has_person & (
has_global_perm("chronos.view_all_timetables") | has_timetable_perm
)
add_perm("chronos.view_timetable", view_timetable_predicate)
# View all lessons per day
view_lessons_day_predicate = has_person & has_global_perm("chronos.view_lessons_day")
add_perm("chronos.view_lessons_day", view_lessons_day_predicate)
# Edit substition
edit_substitution_predicate = has_person & (
has_global_perm("chronos.change_lessonsubstitution") | has_object_perm("chronos.change_lessonsubstitution")
)
add_perm("chronos.edit_substitution", edit_substitution_predicate)
# Delete substitution
delete_substitution_predicate = has_person & (
has_global_perm("chronos.delete_lessonsubstitution") | has_object_perm("chronos.delete_lessonsubstitution")
)
add_perm("chronos.delete_substitution", delete_substitution_predicate)
# View substitutions
view_substitutions_predicate = has_person & (
has_global_perm("chronos.view_lessonsubstitution") | has_any_object("chronos.view_lessonsubstitution", LessonSubstitution)
)
add_perm("chronos.view_substitutions", view_substitutions_predicate)
......@@ -18,7 +18,7 @@
{% trans "My timetable" %} <i>{{ el }}</i>
<span class="badge new primary-color ">{% trans "SMART PLAN" %}</span>
</h4>
<a class="btn-flat waves-effect waves-light" href="{% url "timetable" super.type super.el.pk %}">
<a class="btn-flat waves-effect waves-light" href="{% url "timetable" super.type.value super.el.pk %}">
{% trans "Show week timetable for" %} {{ super.el.short_name }}
</a>
</div>
......
......@@ -3,6 +3,8 @@
{% for element in elements %}
{% if element.label_ == "lesson_period" %}
{% include "chronos/partials/lesson.html" with lesson_period=element %}
{% elif element.label_ == "extra_lesson" %}
{% include "chronos/partials/extra_lesson.html" with extra_lesson=element %}
{% elif element.label_ == "event" %}
{% include "chronos/partials/event.html" with event=element %}
{% endif %}
......
<div class="lesson-with-event">
<p>
{# Teacher or room > Display groups #}
{% if type == "teacher" or type == "room" %}
{% if type.value == "teacher" or type.value == "room" %}
{% include "chronos/partials/groups.html" with groups=event.groups.all %}
{% endif %}
{# Class or room > Display teachers #}
{% if type == "room" or type == "group" %}
{% if type.value == "room" or type.value == "group" %}
{% include "chronos/partials/teachers.html" with teachers=event.teachers.all %}
{% endif %}
{# Teacher or class > Display rooms #}
{% if type == "teacher" or type == "group" %}
{% if type.value == "teacher" or type.value == "group" %}
{% for room in event.rooms.all %}
<span class="tooltipped" data-position="bottom" data-tooltip="{{ room.name }}">
<a href="{% url "timetable" "room" room.pk %}">
{{ room.short_name }}
</a>
</span>
{% include "chronos/partials/room.html" with room=room %}{% if not forloop.last %},{% endif %}
{% endfor %}
{% endif %}
{% if type == "teacher" and not event.groups.all and not event.rooms.all and event.title %}
{% if type.value == "teacher" and not event.groups.all and not event.rooms.all and event.title %}
<em>{{ event.title }}</em>
{% elif type == "group" and not event.teachers.all and not event.groups.all and event.title %}
{% elif type.value == "group" and not event.teachers.all and not event.groups.all and event.title %}
<em>{{ event.title }}</em>
{% elif type == "room" and not event.teachers.all and not event.groups.all and event.title %}
{% elif type.value == "room" and not event.teachers.all and not event.groups.all and event.title %}
<em>{{ event.title }}</em>
{% elif event.title %}
<br/>
......
<div class="lesson-with-sub"
style="{% include "chronos/partials/subject_colour.html" with subject=extra_lesson.subject %}">
<p>
{# Teacher or room > Display groups #}
{% if type.value == "teacher" or type.value == "room" %}
{% include "chronos/partials/groups.html" with groups=extra_lesson.groups.all %}
{% endif %}
{# Class or room > Display teachers #}
{% if type.value == "room" or type.value == "group" %}
{% include "chronos/partials/teachers.html" with teachers=extra_lesson.teachers.all %}
{% endif %}
{% include "chronos/partials/subject.html" with subject=extra_lesson.subject %}
{# Teacher or class > Display rooms #}
{% if type.value == "teacher" or type.value == "group" %}
{% include "chronos/partials/room.html" with room=extra_lesson.room %}
{% endif %}
{% if extra_lesson.comment %}
<br/>
<small>
<em>{{ extra_lesson.comment }}</em>
</small>
{% endif %}
</p>
</div>
{% load i18n %}
<div style="
{# Display background color only if no badge exists and it is not the old room and there are no holidays #}
{# Display background color only if lesson is not cancelled and it is not the old room #}
{% if not lesson_period.get_substitution.cancelled and not lesson_period.get_substitution.cancelled_for_teachers %}
{% if not type == "room" or lesson_period.room == lesson_period.get_room or lesson_period.get_room == el %}
{% if lesson_period.lesson.subject.colour_fg %}
color: {{ lesson_period.lesson.subject.colour_fg }};
{% endif %}
{% if lesson_period.lesson.subject.colour_bg %}
background-color: {{ lesson_period.lesson.subject.colour_bg }};
{% endif %}
{% if not type.value == "room" or lesson_period.room == lesson_period.get_room or lesson_period.get_room == el %}
{% include "chronos/partials/subject_colour.html" with subject=lesson_period.lesson.subject %}
{% endif %}
{% endif %}
"
......@@ -22,14 +17,14 @@
{% elif lesson_period.get_substitution and smart %}
{% with sub=lesson_period.get_substitution %}
{# SUBSTITUTION #}
{% if type == "room" and lesson_period.room != lesson_period.get_room and lesson_period.get_room != el %}
{% if type.value == "room" and lesson_period.room != lesson_period.get_room and lesson_period.get_room != el %}
{# When it's the old room, let it empty #}
{% elif sub.cancelled or sub.cancelled_for_teachers %}
{# When a badge (cancellation, etc.) exists, then display it with the teacher#}
{# Class or room > Display teacher #}
{% if type == "group" or type == "room" and lesson_period.lesson.teachers.all %}
{% if type.value == "group" or type.value == "room" and lesson_period.lesson.teachers.all %}
{% include "chronos/partials/teachers.html" with teachers=lesson_period.lesson.teachers.all %}<br/>
{% endif %}
......@@ -40,7 +35,7 @@
{# Display sub #}
{# Teacher or room > display classes #}
{% if type == "teacher" or type == "room" %}
{% if type.value == "teacher" or type.value == "room" %}
{% include "chronos/partials/groups.html" with groups=lesson_period.lesson.groups.all %}
{% endif %}
......@@ -51,7 +46,7 @@
{% include "chronos/partials/subs/subject.html" with type="substitution" el=sub %}
{# Teacher or class > display room #}
{% if type == "teacher" or type == "group" %}
{% if type.value == "teacher" or type.value == "group" %}
{% include "chronos/partials/subs/room.html" with type="substitution" el=sub %}
{% endif %}
{% endif %}
......@@ -71,7 +66,7 @@
{# Normal plan #}
{# Teacher or room > Display classes #}
{% if type == "teacher" or type == "room" %}
{% if type.value == "teacher" or type.value == "room" %}
{# {{ element_container.element.classes }}#}
{% if lesson_period.lesson.groups %}
{% include "chronos/partials/groups.html" with groups=lesson_period.lesson.groups.all %}
......@@ -79,25 +74,17 @@
{% endif %}
{# Class or room > Display teacher #}
{% if type == "room" or type == "group" %}
{% if type.value == "room" or type.value == "group" %}
{% include "chronos/partials/teachers.html" with teachers=lesson_period.lesson.teachers.all %}
{% endif %}
{# Display subject #}
<strong>
<span data-position="bottom" class="tooltipped"
data-tooltip="{{ lesson_period.lesson.subject.name }}">{{ lesson_period.lesson.subject.abbrev }}</span>
</strong>
{% include "chronos/partials/subject.html" with subject=lesson_period.lesson.subject %}
{# Teacher or class > Display room #}
{% if type == "teacher" or type == "group" %}
{% if type.value == "teacher" or type.value == "group" %}
{% if lesson_period.room %}
<span class="tooltipped" data-position="bottom"
data-tooltip="{{ lesson_period.room.name }}">
<a href="{% url "timetable" "room" lesson_period.room.pk %}">
{{ lesson_period.room.short_name }}
</a>
</span>
{% include "chronos/partials/room.html" with room=lesson_period.room %}
{% endif %}
{% endif %}
{% endif %}
......
{% if room %}
<span class="tooltipped" data-position="bottom" data-tooltip="{{ room.name }}">
<a href="{% url "timetable" "room" room.pk %}">
{{ room.short_name }}
</a>
</span>
{% endif %}