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-Alsijil
  • sunweaver/AlekSIS-App-Alsijil
  • 8tincsoVluke/AlekSIS-App-Alsijil
  • perfreicpo/AlekSIS-App-Alsijil
  • noifobarep/AlekSIS-App-Alsijil
  • 7ingannisdo/AlekSIS-App-Alsijil
  • unmruntartpa/AlekSIS-App-Alsijil
  • balrorebta/AlekSIS-App-Alsijil
  • comliFdifwa/AlekSIS-App-Alsijil
  • 3ranaadza/AlekSIS-App-Alsijil
10 results
Show changes
Commits on Source (140)
Showing
with 3000 additions and 1163 deletions
...@@ -53,3 +53,6 @@ db.sqlite3 ...@@ -53,3 +53,6 @@ db.sqlite3
# Sphinx # Sphinx
docs/_build/ docs/_build/
# Test
.tox/
...@@ -11,13 +11,13 @@ from material import Layout, Row ...@@ -11,13 +11,13 @@ from material import Layout, Row
from aleksis.apps.chronos.managers import TimetableType from aleksis.apps.chronos.managers import TimetableType
from aleksis.core.models import Group, Person from aleksis.core.models import Group, Person
from .models import ExcuseType, LessonDocumentation, PersonalNote, PersonalNoteFilter from .models import ExcuseType, ExtraMark, LessonDocumentation, PersonalNote
class LessonDocumentationForm(forms.ModelForm): class LessonDocumentationForm(forms.ModelForm):
class Meta: class Meta:
model = LessonDocumentation model = LessonDocumentation
fields = ["topic", "homework"] fields = ["topic", "homework", "group_note"]
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
...@@ -28,7 +28,7 @@ class LessonDocumentationForm(forms.ModelForm): ...@@ -28,7 +28,7 @@ class LessonDocumentationForm(forms.ModelForm):
class PersonalNoteForm(forms.ModelForm): class PersonalNoteForm(forms.ModelForm):
class Meta: class Meta:
model = PersonalNote model = PersonalNote
fields = ["absent", "late", "excused", "excuse_type", "remarks"] fields = ["absent", "late", "excused", "excuse_type", "extra_marks", "remarks"]
person_name = forms.CharField(disabled=True) person_name = forms.CharField(disabled=True)
...@@ -109,12 +109,12 @@ class RegisterAbsenceForm(forms.Form): ...@@ -109,12 +109,12 @@ class RegisterAbsenceForm(forms.Form):
remarks = forms.CharField(label=_("Remarks"), max_length=30, required=False) remarks = forms.CharField(label=_("Remarks"), max_length=30, required=False)
class PersonalNoteFilterForm(forms.ModelForm): class ExtraMarkForm(forms.ModelForm):
layout = Layout(Row("identifier", "description"), Row("regex")) layout = Layout("short_name", "name")
class Meta: class Meta:
model = PersonalNoteFilter model = ExtraMark
fields = ["identifier", "description", "regex"] fields = ["short_name", "name"]
class ExcuseTypeForm(forms.ModelForm): class ExcuseTypeForm(forms.ModelForm):
......
...@@ -8,7 +8,7 @@ msgid "" ...@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-01 13:20+0200\n" "POT-Creation-Date: 2020-08-03 20:03+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -16,53 +16,62 @@ msgstr "" ...@@ -16,53 +16,62 @@ msgstr ""
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "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"
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#: forms.py:41 #: forms.py:25
msgid "Homework for the next lesson"
msgstr ""
#: forms.py:50 templates/alsijil/print/full_register.html:199
msgid "Group" msgid "Group"
msgstr "" msgstr ""
#: forms.py:49 templates/alsijil/print/full_register.html:101 #: forms.py:56 templates/alsijil/print/full_register.html:170
#: templates/alsijil/print/full_register.html:201
msgid "Teacher" msgid "Teacher"
msgstr "" msgstr ""
#: forms.py:57 #: forms.py:73
msgid "Room" msgid "You can't select a group and a teacher both."
msgstr "" msgstr ""
#: forms.py:70 #: forms.py:101
msgid "Start date" msgid "Start date"
msgstr "" msgstr ""
#: forms.py:73 #: forms.py:102
msgid "End date" msgid "End date"
msgstr "" msgstr ""
#: forms.py:75 #: forms.py:103
msgid "From period" msgid "From period"
msgstr "" msgstr ""
#: forms.py:77 templates/alsijil/lesson.html:58 #: forms.py:105 templates/alsijil/class_register/lesson.html:163
msgid "Person" msgid "Person"
msgstr "" msgstr ""
#: forms.py:79 templates/alsijil/lesson.html:59 #: forms.py:107 templates/alsijil/class_register/lesson.html:164
#: templates/alsijil/print/full_register.html:223 #: templates/alsijil/class_register/week_view.html:109
#: templates/alsijil/week_view.html:96 #: templates/alsijil/print/full_register.html:75
#: templates/alsijil/print/full_register.html:312
msgid "Absent" msgid "Absent"
msgstr "" msgstr ""
#: forms.py:80 templates/alsijil/lesson.html:61 #: forms.py:108 templates/alsijil/class_register/lesson.html:166
#: templates/alsijil/print/full_register.html:84
#: templates/alsijil/print/full_register.html:275
msgid "Excused" msgid "Excused"
msgstr "" msgstr ""
#: forms.py:81 templates/alsijil/lesson.html:62 #: forms.py:109 templates/alsijil/class_register/lesson.html:170
#: templates/alsijil/print/full_register.html:225 #: templates/alsijil/class_register/lesson.html:223
#: templates/alsijil/class_register/lesson.html:231
#: templates/alsijil/print/full_register.html:314
msgid "Remarks" msgid "Remarks"
msgstr "" msgstr ""
#: menus.py:6 templates/alsijil/print/full_register.html:16 #: menus.py:6 preferences.py:8 templates/alsijil/print/full_register.html:16
msgid "Class register" msgid "Class register"
msgstr "" msgstr ""
...@@ -78,306 +87,484 @@ msgstr "" ...@@ -78,306 +87,484 @@ msgstr ""
msgid "Register absence" msgid "Register absence"
msgstr "" msgstr ""
#: menus.py:34 #: menus.py:34 models.py:32 templates/alsijil/excuse_type/list.html:8
msgid "Personal note filters" #: templates/alsijil/excuse_type/list.html:9
msgid "Excuse types"
msgstr ""
#: menus.py:40 models.py:66 models.py:138
#: templates/alsijil/class_register/lesson.html:168
#: templates/alsijil/extra_mark/list.html:8
#: templates/alsijil/extra_mark/list.html:9
#: templates/alsijil/print/full_register.html:293
msgid "Extra marks"
msgstr ""
#: models.py:18 models.py:124
msgid "Short name"
msgstr ""
#: models.py:20 models.py:126
msgid "Name"
msgstr ""
#: models.py:31 models.py:60 templates/alsijil/class_register/lesson.html:167
#: templates/alsijil/class_register/lesson.html:202
msgid "Excuse type"
msgstr "" msgstr ""
#: models.py:51 templates/alsijil/print/full_register.html:271 #: models.py:75
msgid "Personal note"
msgstr ""
#: models.py:76 templates/alsijil/class_register/lesson.html:64
#: templates/alsijil/class_register/lesson.html:156
#: templates/alsijil/class_register/week_view.html:104
msgid "Personal notes"
msgstr ""
#: models.py:99 templates/alsijil/class_register/week_view.html:56
#: templates/alsijil/print/full_register.html:371
msgid "Lesson topic" msgid "Lesson topic"
msgstr "" msgstr ""
#: models.py:52 templates/alsijil/print/full_register.html:272 #: models.py:100 templates/alsijil/print/full_register.html:372
msgid "Homework" msgid "Homework"
msgstr "" msgstr ""
#: models.py:68 #: models.py:102
msgid "Identifier" msgid "Group note"
msgstr ""
#: models.py:106 templates/alsijil/class_register/lesson.html:60
#: templates/alsijil/class_register/lesson.html:143
msgid "Lesson documentation"
msgstr ""
#: models.py:107
msgid "Lesson documentations"
msgstr "" msgstr ""
#: models.py:71 templates/alsijil/print/full_register.html:178 #: models.py:137
msgid "Description" msgid "Extra mark"
msgstr "" msgstr ""
#: models.py:74 #: preferences.py:16
msgid "Match expression" msgid "Block adding personal notes for cancelled lessons"
msgstr "" msgstr ""
#: tables.py:14 #: tables.py:16 tables.py:36
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:5 #: tables.py:22 tables.py:42
msgid "Delete"
msgstr ""
#: templates/alsijil/absences/register.html:5
#: templates/alsijil/absences/register.html:6
msgid "Manage absence"
msgstr ""
#: templates/alsijil/class_register/lesson.html:6
msgid "Lesson" msgid "Lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:34 #: templates/alsijil/class_register/lesson.html:14
msgid "Lesson documentation" #: templates/alsijil/class_register/lesson.html:83
#, python-format
msgid "%(period)s. period"
msgstr ""
#: templates/alsijil/class_register/lesson.html:38
msgid "Previous lesson"
msgstr ""
#: templates/alsijil/class_register/lesson.html:46
msgid "Next lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:43 #: templates/alsijil/class_register/lesson.html:68
#: templates/alsijil/class_register/lesson.html:249
msgid "Change history" msgid "Change history"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:52 templates/alsijil/week_view.html:91 #: templates/alsijil/class_register/lesson.html:82
msgid "Personal notes" msgid "Overview: Previous lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:60 #: templates/alsijil/class_register/lesson.html:89
#: templates/alsijil/print/full_register.html:202 msgid "Lesson topic of previous lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:96
msgid "Homework for this lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:103
msgid "Group notes for previous lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:110
msgid "Absent persons:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:117
msgid "Late persons:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:165
#: templates/alsijil/print/full_register.html:287
msgid "Tardiness" msgid "Tardiness"
msgstr "" msgstr ""
#: templates/alsijil/manage_personal_note_filter.html:5 #: templates/alsijil/class_register/lesson.html:188
#: templates/alsijil/manage_personal_note_filter.html:6 msgid "Tardiness (in m)"
msgid "Manage personal note filter"
msgstr "" msgstr ""
#: templates/alsijil/manage_personal_note_filter.html:11 #: templates/alsijil/class_register/week_view.html:6
msgid "Delete filter" msgid "Week view"
msgstr "" msgstr ""
#: templates/alsijil/personal_note_filters.html:7 #: templates/alsijil/class_register/week_view.html:27
#: templates/alsijil/personal_note_filters.html:8 msgid "Select"
msgid "List of all personal note filters"
msgstr "" msgstr ""
#: templates/alsijil/personal_note_filters.html:12 #: templates/alsijil/class_register/week_view.html:33
msgid "Add filter" #, python-format
msgid "CW %(week)s: %(instance)s"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:22 #: templates/alsijil/class_register/week_view.html:50
#: templates/alsijil/print/full_register.html:54 msgid "Period"
msgid "Owners" msgstr ""
#: templates/alsijil/class_register/week_view.html:52
msgid "Groups"
msgstr ""
#: templates/alsijil/class_register/week_view.html:54
#: templates/alsijil/print/full_register.html:169
#: templates/alsijil/print/full_register.html:200
msgid "Subject"
msgstr ""
#: templates/alsijil/class_register/week_view.html:55
msgid "Teachers"
msgstr ""
#: templates/alsijil/class_register/week_view.html:110
msgid "unexcused"
msgstr ""
#: templates/alsijil/class_register/week_view.html:113
msgid "Summed up tardiness"
msgstr ""
#: templates/alsijil/class_register/week_view.html:142
msgid "No lessons available"
msgstr ""
#: templates/alsijil/class_register/week_view.html:145
msgid ""
"\n"
" There are no lessons for the selected group or teacher in this week.\n"
" "
msgstr ""
#: templates/alsijil/excuse_type/create.html:6
#: templates/alsijil/excuse_type/create.html:7
#: templates/alsijil/excuse_type/list.html:16
msgid "Create excuse type"
msgstr ""
#: templates/alsijil/excuse_type/edit.html:6
#: templates/alsijil/excuse_type/edit.html:7
msgid "Edit excuse type"
msgstr ""
#: templates/alsijil/excuse_type/warning.html:5
msgid ""
"\n"
" This function should only be used to define alternatives to the default excuse which also will be counted extra.\n"
" Don't use this to create a default excuse or if you don't divide between different types of excuse.\n"
" "
msgstr ""
#: templates/alsijil/extra_mark/create.html:6
#: templates/alsijil/extra_mark/create.html:7
#: templates/alsijil/extra_mark/list.html:14
msgid "Create extra mark"
msgstr ""
#: templates/alsijil/extra_mark/edit.html:6
#: templates/alsijil/extra_mark/edit.html:7
msgid "Edit extra mark"
msgstr ""
#: templates/alsijil/partials/absences.html:4
#: templates/alsijil/print/full_register.html:126
msgid "(e)"
msgstr ""
#: templates/alsijil/partials/absences.html:4
#: templates/alsijil/print/full_register.html:130
msgid "(u)"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:6
msgid "Data complete"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:12
#: templates/alsijil/print/full_register.html:406
msgid "Lesson cancelled"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:14
msgid "Missing data"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:16
msgid "Pending"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:18
msgid "Substitution"
msgstr ""
#: templates/alsijil/print/full_register.html:6
msgid "Class register:"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:26 #: templates/alsijil/print/full_register.html:26
#: templates/alsijil/print/full_register.html:59
msgid "Owners"
msgstr ""
#: templates/alsijil/print/full_register.html:30
msgid "Printed on" msgid "Printed on"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:34 #: templates/alsijil/print/full_register.html:38
msgid "" msgid ""
"\n" "\n"
" This printout is intended for archival purposes. The main copy " " This printout is intended for archival purposes. The main copy of\n"
"of\n" " the class register is stored in the AlekSIS School Information\n"
" the class register is stored in the AlekSIS School Information\n" " System.\n"
" System.\n" " "
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:41 #: templates/alsijil/print/full_register.html:45
msgid "" msgid ""
"\n" "\n"
" Copies of the class register, both digital and as printout, " " Copies of the class register, both digital and as printout, must\n"
"must\n" " only be kept inside the school and/or on devices authorised by the\n"
" only be kept inside the school and/or on devices authorised by " " school.\n"
"the\n" " "
" school.\n"
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:48 #: templates/alsijil/print/full_register.html:52
msgid "" msgid ""
"\n" "\n"
" The owner of the group and the headteacher confirm the above, " " The owner of the group and the headteacher confirm the above, as\n"
"as\n" " well as the correctness of this printout.\n"
" well as the correctness of this printout.\n" " "
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:55 #: templates/alsijil/print/full_register.html:62
msgid "Headteacher" msgid "Headteacher"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:61 #: templates/alsijil/print/full_register.html:69
msgid "Abbreviations"
msgstr ""
#: templates/alsijil/print/full_register.html:71
msgid "General"
msgstr ""
#: templates/alsijil/print/full_register.html:78
msgid "Late"
msgstr ""
#: templates/alsijil/print/full_register.html:81
#: templates/alsijil/print/full_register.html:283
msgid "Unexcused"
msgstr ""
#: templates/alsijil/print/full_register.html:89
msgid "Custom excuse types"
msgstr ""
#: templates/alsijil/print/full_register.html:101
msgid "Available extra marks"
msgstr ""
#: templates/alsijil/print/full_register.html:115
msgid "Persons in group" msgid "Persons in group"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:66 #: templates/alsijil/print/full_register.html:120
msgid "No." msgid "No."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:67 #: templates/alsijil/print/full_register.html:121
msgid "Last name" msgid "Last name"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:68 #: templates/alsijil/print/full_register.html:122
msgid "First name" msgid "First name"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:69 #: templates/alsijil/print/full_register.html:123
msgid "Sex" msgid "Sex"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:70 #: templates/alsijil/print/full_register.html:124
msgid "Date of birth" msgid "Date of birth"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:71 #: templates/alsijil/print/full_register.html:125
#: templates/alsijil/print/full_register.html:200 msgid "(a)"
msgid "Absences"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:72 #: templates/alsijil/print/full_register.html:131
#: templates/alsijil/print/full_register.html:201 msgid "(b)"
msgid "Unexcused"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:73 #: templates/alsijil/print/full_register.html:164
#: templates/alsijil/print/full_register.html:224
msgid "Tard."
msgstr ""
#: templates/alsijil/print/full_register.html:95
msgid "Teachers and lessons in group" msgid "Teachers and lessons in group"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:100 #: templates/alsijil/print/full_register.html:171
#: templates/alsijil/week_view.html:48 #: templates/alsijil/print/full_register.html:202
msgid "Subject"
msgstr ""
#: templates/alsijil/print/full_register.html:102
msgid "Lesson start" msgid "Lesson start"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:103 #: templates/alsijil/print/full_register.html:172
#: templates/alsijil/print/full_register.html:203
msgid "Lesson end" msgid "Lesson end"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:104 #: templates/alsijil/print/full_register.html:173
#: templates/alsijil/print/full_register.html:204
msgid "Per week" msgid "Per week"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:124 #: templates/alsijil/print/full_register.html:194
msgid "Teachers and lessons in child groups"
msgstr ""
#: templates/alsijil/print/full_register.html:227
msgid "Personal overview" msgid "Personal overview"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:126 #: templates/alsijil/print/full_register.html:229
msgid "Contact details" msgid "Contact details"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:174 #: templates/alsijil/print/full_register.html:266
msgid "Statistics on remarks" msgid "Absences and tardiness"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:179 #: templates/alsijil/print/full_register.html:269
msgid "Count" msgid "Absences"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:196 #: templates/alsijil/print/full_register.html:274
msgid "Absences and tardiness" msgid "thereof"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:215 #: templates/alsijil/print/full_register.html:304
msgid "Relevant personal notes" msgid "Relevant personal notes"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:219 #: templates/alsijil/print/full_register.html:308
msgid "Date" msgid "Date"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:220 #: templates/alsijil/print/full_register.html:309
#: templates/alsijil/print/full_register.html:268 #: templates/alsijil/print/full_register.html:369
msgid "Pe." msgid "Pe."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:221 #: templates/alsijil/print/full_register.html:310
#: templates/alsijil/print/full_register.html:269 #: templates/alsijil/print/full_register.html:370
msgid "Subj." msgid "Subj."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:222 #: templates/alsijil/print/full_register.html:311
#: templates/alsijil/print/full_register.html:274 #: templates/alsijil/print/full_register.html:374
msgid "Te." msgid "Te."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:240 #: templates/alsijil/print/full_register.html:313
msgid "Yes" msgid "Tard."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:242 #: templates/alsijil/print/full_register.html:330
#: templates/alsijil/print/full_register.html:314 msgid "Yes"
#: templates/alsijil/print/full_register.html:324
msgid "e"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:262 #: templates/alsijil/print/full_register.html:335
msgid "Lesson documentation for calendar week" #: templates/alsijil/print/full_register.html:424
#: templates/alsijil/print/full_register.html:439
msgid "e"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:270 #: templates/alsijil/print/full_register.html:363
msgid "Subs." msgid "Lesson documentation for week"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:273 #: templates/alsijil/print/full_register.html:373
msgid "Notes" msgid "Notes"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:301 #: views.py:76
msgid "Lesson cancelled" msgid "You either selected an invalid lesson or there is currently no lesson in progress."
msgstr "" msgstr ""
#: templates/alsijil/register_absence.html:5 #: views.py:90
#: templates/alsijil/register_absence.html:6 msgid "You are not allowed to create a lesson documentation for a lesson in the future."
msgid "Manage absence"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:6 #: views.py:116
msgid "Week view" msgid "The lesson documentation has been saved."
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:21 #: views.py:136
msgid "Select" msgid "The personal notes have been saved."
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:47 #: views.py:327
msgid "Period" msgid "There is no current school term."
msgstr ""
#: templates/alsijil/week_view.html:49
msgid "Teachers"
msgstr ""
#: templates/alsijil/week_view.html:97
msgid "unexcused"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:100 #: views.py:463
msgid "Summed up tardiness" msgid "The absence has been saved."
msgstr ""
#: templates/alsijil/week_view.html:122
msgid "No group selected"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:125 #: views.py:488
msgid "" msgid "The extra mark has been created."
"\n"
" There are no lessons for the selected group, teacher, room or "
"time.\n"
" "
msgstr "" msgstr ""
#: views.py:56 #: views.py:499
msgid "" msgid "The extra mark has been saved."
"You either selected an invalid lesson or there is currently no lesson in "
"progress."
msgstr "" msgstr ""
#: views.py:68 #: views.py:509
msgid "" msgid "The extra mark has been deleted."
"You are not allowed to create a lesson documentation for a lesson in the "
"future."
msgstr "" msgstr ""
#: views.py:306 #: views.py:529
msgid "The absence has been saved." msgid "The excuse type has been created."
msgstr "" msgstr ""
#: views.py:344 #: views.py:540
msgid "The filter has been saved" msgid "The excuse type has been saved."
msgstr "" msgstr ""
#: views.py:360 #: views.py:550
msgid "The filter has been deleted." msgid "The excuse type has been deleted."
msgstr "" msgstr ""
...@@ -3,64 +3,75 @@ ...@@ -3,64 +3,75 @@
# This file is distributed under the same license as the PACKAGE package. # This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-01 13:20+0200\n" "POT-Creation-Date: 2020-08-03 20:03+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2020-07-26 14:08+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Julian <leuckerj@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: Latin <https://translate.edugit.org/projects/aleksis/aleksis-app-alsijil/la/>\n"
"Language: \n" "Language: la\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.0.1\n"
#: forms.py:41 #: forms.py:25
msgid "Group" msgid "Homework for the next lesson"
msgstr "" msgstr ""
#: forms.py:49 templates/alsijil/print/full_register.html:101 #: forms.py:50 templates/alsijil/print/full_register.html:199
msgid "Group"
msgstr "Grex"
#: forms.py:56 templates/alsijil/print/full_register.html:170
#: templates/alsijil/print/full_register.html:201
msgid "Teacher" msgid "Teacher"
msgstr "" msgstr ""
#: forms.py:57 #: forms.py:73
msgid "Room" msgid "You can't select a group and a teacher both."
msgstr "" msgstr ""
#: forms.py:70 #: forms.py:101
msgid "Start date" msgid "Start date"
msgstr "" msgstr ""
#: forms.py:73 #: forms.py:102
msgid "End date" msgid "End date"
msgstr "" msgstr ""
#: forms.py:75 #: forms.py:103
msgid "From period" msgid "From period"
msgstr "" msgstr ""
#: forms.py:77 templates/alsijil/lesson.html:58 #: forms.py:105 templates/alsijil/class_register/lesson.html:163
msgid "Person" msgid "Person"
msgstr "" msgstr "Persona"
#: forms.py:79 templates/alsijil/lesson.html:59 #: forms.py:107 templates/alsijil/class_register/lesson.html:164
#: templates/alsijil/print/full_register.html:223 #: templates/alsijil/class_register/week_view.html:109
#: templates/alsijil/week_view.html:96 #: templates/alsijil/print/full_register.html:75
#: templates/alsijil/print/full_register.html:312
msgid "Absent" msgid "Absent"
msgstr "" msgstr ""
#: forms.py:80 templates/alsijil/lesson.html:61 #: forms.py:108 templates/alsijil/class_register/lesson.html:166
#: templates/alsijil/print/full_register.html:84
#: templates/alsijil/print/full_register.html:275
msgid "Excused" msgid "Excused"
msgstr "" msgstr ""
#: forms.py:81 templates/alsijil/lesson.html:62 #: forms.py:109 templates/alsijil/class_register/lesson.html:170
#: templates/alsijil/print/full_register.html:225 #: templates/alsijil/class_register/lesson.html:223
#: templates/alsijil/class_register/lesson.html:231
#: templates/alsijil/print/full_register.html:314
msgid "Remarks" msgid "Remarks"
msgstr "" msgstr ""
#: menus.py:6 templates/alsijil/print/full_register.html:16 #: menus.py:6 preferences.py:8 templates/alsijil/print/full_register.html:16
msgid "Class register" msgid "Class register"
msgstr "" msgstr ""
...@@ -76,306 +87,495 @@ msgstr "" ...@@ -76,306 +87,495 @@ msgstr ""
msgid "Register absence" msgid "Register absence"
msgstr "" msgstr ""
#: menus.py:34 #: menus.py:34 models.py:32 templates/alsijil/excuse_type/list.html:8
msgid "Personal note filters" #: templates/alsijil/excuse_type/list.html:9
msgid "Excuse types"
msgstr "" msgstr ""
#: models.py:51 templates/alsijil/print/full_register.html:271 #: menus.py:40 models.py:66 models.py:138
#: templates/alsijil/class_register/lesson.html:168
#: templates/alsijil/extra_mark/list.html:8
#: templates/alsijil/extra_mark/list.html:9
#: templates/alsijil/print/full_register.html:293
msgid "Extra marks"
msgstr ""
#: models.py:18 models.py:124
#, fuzzy
#| msgid "First name"
msgid "Short name"
msgstr "Primus nomen"
#: models.py:20 models.py:126
msgid "Name"
msgstr ""
#: models.py:31 models.py:60 templates/alsijil/class_register/lesson.html:167
#: templates/alsijil/class_register/lesson.html:202
msgid "Excuse type"
msgstr ""
#: models.py:75
#, fuzzy
#| msgid "Person"
msgid "Personal note"
msgstr "Persona"
#: models.py:76 templates/alsijil/class_register/lesson.html:64
#: templates/alsijil/class_register/lesson.html:156
#: templates/alsijil/class_register/week_view.html:104
msgid "Personal notes"
msgstr ""
#: models.py:99 templates/alsijil/class_register/week_view.html:56
#: templates/alsijil/print/full_register.html:371
msgid "Lesson topic" msgid "Lesson topic"
msgstr "" msgstr ""
#: models.py:52 templates/alsijil/print/full_register.html:272 #: models.py:100 templates/alsijil/print/full_register.html:372
msgid "Homework" msgid "Homework"
msgstr "" msgstr ""
#: models.py:68 #: models.py:102
msgid "Identifier" #, fuzzy
#| msgid "Group"
msgid "Group note"
msgstr "Grex"
#: models.py:106 templates/alsijil/class_register/lesson.html:60
#: templates/alsijil/class_register/lesson.html:143
msgid "Lesson documentation"
msgstr ""
#: models.py:107
msgid "Lesson documentations"
msgstr "" msgstr ""
#: models.py:71 templates/alsijil/print/full_register.html:178 #: models.py:137
msgid "Description" msgid "Extra mark"
msgstr "" msgstr ""
#: models.py:74 #: preferences.py:16
msgid "Match expression" msgid "Block adding personal notes for cancelled lessons"
msgstr "" msgstr ""
#: tables.py:14 #: tables.py:16 tables.py:36
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:5 #: tables.py:22 tables.py:42
msgid "Delete"
msgstr ""
#: templates/alsijil/absences/register.html:5
#: templates/alsijil/absences/register.html:6
msgid "Manage absence"
msgstr ""
#: templates/alsijil/class_register/lesson.html:6
msgid "Lesson" msgid "Lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:34 #: templates/alsijil/class_register/lesson.html:14
msgid "Lesson documentation" #: templates/alsijil/class_register/lesson.html:83
#, python-format
msgid "%(period)s. period"
msgstr ""
#: templates/alsijil/class_register/lesson.html:38
msgid "Previous lesson"
msgstr ""
#: templates/alsijil/class_register/lesson.html:46
msgid "Next lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:43 #: templates/alsijil/class_register/lesson.html:68
#: templates/alsijil/class_register/lesson.html:249
msgid "Change history" msgid "Change history"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:52 templates/alsijil/week_view.html:91 #: templates/alsijil/class_register/lesson.html:82
msgid "Personal notes" msgid "Overview: Previous lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:60 #: templates/alsijil/class_register/lesson.html:89
#: templates/alsijil/print/full_register.html:202 msgid "Lesson topic of previous lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:96
msgid "Homework for this lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:103
msgid "Group notes for previous lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:110
msgid "Absent persons:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:117
msgid "Late persons:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:165
#: templates/alsijil/print/full_register.html:287
msgid "Tardiness" msgid "Tardiness"
msgstr "" msgstr ""
#: templates/alsijil/manage_personal_note_filter.html:5 #: templates/alsijil/class_register/lesson.html:188
#: templates/alsijil/manage_personal_note_filter.html:6 msgid "Tardiness (in m)"
msgid "Manage personal note filter" msgstr ""
#: templates/alsijil/class_register/week_view.html:6
msgid "Week view"
msgstr "" msgstr ""
#: templates/alsijil/manage_personal_note_filter.html:11 #: templates/alsijil/class_register/week_view.html:27
msgid "Delete filter" msgid "Select"
msgstr "" msgstr ""
#: templates/alsijil/personal_note_filters.html:7 #: templates/alsijil/class_register/week_view.html:33
#: templates/alsijil/personal_note_filters.html:8 #, python-format
msgid "List of all personal note filters" msgid "CW %(week)s: %(instance)s"
msgstr "" msgstr ""
#: templates/alsijil/personal_note_filters.html:12 #: templates/alsijil/class_register/week_view.html:50
msgid "Add filter" msgid "Period"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:22 #: templates/alsijil/class_register/week_view.html:52
#: templates/alsijil/print/full_register.html:54 #, fuzzy
msgid "Owners" #| msgid "Group"
msgid "Groups"
msgstr "Grex"
#: templates/alsijil/class_register/week_view.html:54
#: templates/alsijil/print/full_register.html:169
#: templates/alsijil/print/full_register.html:200
msgid "Subject"
msgstr ""
#: templates/alsijil/class_register/week_view.html:55
msgid "Teachers"
msgstr ""
#: templates/alsijil/class_register/week_view.html:110
msgid "unexcused"
msgstr ""
#: templates/alsijil/class_register/week_view.html:113
msgid "Summed up tardiness"
msgstr ""
#: templates/alsijil/class_register/week_view.html:142
msgid "No lessons available"
msgstr ""
#: templates/alsijil/class_register/week_view.html:145
msgid ""
"\n"
" There are no lessons for the selected group or teacher in this week.\n"
" "
msgstr ""
#: templates/alsijil/excuse_type/create.html:6
#: templates/alsijil/excuse_type/create.html:7
#: templates/alsijil/excuse_type/list.html:16
msgid "Create excuse type"
msgstr ""
#: templates/alsijil/excuse_type/edit.html:6
#: templates/alsijil/excuse_type/edit.html:7
msgid "Edit excuse type"
msgstr ""
#: templates/alsijil/excuse_type/warning.html:5
msgid ""
"\n"
" This function should only be used to define alternatives to the default excuse which also will be counted extra.\n"
" Don't use this to create a default excuse or if you don't divide between different types of excuse.\n"
" "
msgstr ""
#: templates/alsijil/extra_mark/create.html:6
#: templates/alsijil/extra_mark/create.html:7
#: templates/alsijil/extra_mark/list.html:14
msgid "Create extra mark"
msgstr ""
#: templates/alsijil/extra_mark/edit.html:6
#: templates/alsijil/extra_mark/edit.html:7
msgid "Edit extra mark"
msgstr ""
#: templates/alsijil/partials/absences.html:4
#: templates/alsijil/print/full_register.html:126
msgid "(e)"
msgstr ""
#: templates/alsijil/partials/absences.html:4
#: templates/alsijil/print/full_register.html:130
msgid "(u)"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:6
msgid "Data complete"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:12
#: templates/alsijil/print/full_register.html:406
msgid "Lesson cancelled"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:14
msgid "Missing data"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:16
msgid "Pending"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:18
msgid "Substitution"
msgstr ""
#: templates/alsijil/print/full_register.html:6
msgid "Class register:"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:26 #: templates/alsijil/print/full_register.html:26
#: templates/alsijil/print/full_register.html:59
msgid "Owners"
msgstr ""
#: templates/alsijil/print/full_register.html:30
msgid "Printed on" msgid "Printed on"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:34 #: templates/alsijil/print/full_register.html:38
msgid "" msgid ""
"\n" "\n"
" This printout is intended for archival purposes. The main copy " " This printout is intended for archival purposes. The main copy of\n"
"of\n" " the class register is stored in the AlekSIS School Information\n"
" the class register is stored in the AlekSIS School Information\n" " System.\n"
" System.\n" " "
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:41 #: templates/alsijil/print/full_register.html:45
msgid "" msgid ""
"\n" "\n"
" Copies of the class register, both digital and as printout, " " Copies of the class register, both digital and as printout, must\n"
"must\n" " only be kept inside the school and/or on devices authorised by the\n"
" only be kept inside the school and/or on devices authorised by " " school.\n"
"the\n" " "
" school.\n"
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:48 #: templates/alsijil/print/full_register.html:52
msgid "" msgid ""
"\n" "\n"
" The owner of the group and the headteacher confirm the above, " " The owner of the group and the headteacher confirm the above, as\n"
"as\n" " well as the correctness of this printout.\n"
" well as the correctness of this printout.\n" " "
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:55 #: templates/alsijil/print/full_register.html:62
msgid "Headteacher" msgid "Headteacher"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:61 #: templates/alsijil/print/full_register.html:69
msgid "Persons in group" msgid "Abbreviations"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:66 #: templates/alsijil/print/full_register.html:71
msgid "No." msgid "General"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:67 #: templates/alsijil/print/full_register.html:78
msgid "Last name" msgid "Late"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:68 #: templates/alsijil/print/full_register.html:81
msgid "First name" #: templates/alsijil/print/full_register.html:283
msgid "Unexcused"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:69 #: templates/alsijil/print/full_register.html:89
msgid "Sex" msgid "Custom excuse types"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:70 #: templates/alsijil/print/full_register.html:101
msgid "Date of birth" msgid "Available extra marks"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:71 #: templates/alsijil/print/full_register.html:115
#: templates/alsijil/print/full_register.html:200 msgid "Persons in group"
msgid "Absences"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:72 #: templates/alsijil/print/full_register.html:120
#: templates/alsijil/print/full_register.html:201 msgid "No."
msgid "Unexcused"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:73 #: templates/alsijil/print/full_register.html:121
#: templates/alsijil/print/full_register.html:224 msgid "Last name"
msgid "Tard." msgstr "Secondus nomen"
#: templates/alsijil/print/full_register.html:122
msgid "First name"
msgstr "Primus nomen"
#: templates/alsijil/print/full_register.html:123
msgid "Sex"
msgstr "Genus"
#: templates/alsijil/print/full_register.html:124
msgid "Date of birth"
msgstr "Dies natalis"
#: templates/alsijil/print/full_register.html:125
msgid "(a)"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:95 #: templates/alsijil/print/full_register.html:131
msgid "Teachers and lessons in group" msgid "(b)"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:100 #: templates/alsijil/print/full_register.html:164
#: templates/alsijil/week_view.html:48 msgid "Teachers and lessons in group"
msgid "Subject"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:102 #: templates/alsijil/print/full_register.html:171
#: templates/alsijil/print/full_register.html:202
msgid "Lesson start" msgid "Lesson start"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:103 #: templates/alsijil/print/full_register.html:172
#: templates/alsijil/print/full_register.html:203
msgid "Lesson end" msgid "Lesson end"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:104 #: templates/alsijil/print/full_register.html:173
#: templates/alsijil/print/full_register.html:204
msgid "Per week" msgid "Per week"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:124 #: templates/alsijil/print/full_register.html:194
msgid "Teachers and lessons in child groups"
msgstr ""
#: templates/alsijil/print/full_register.html:227
msgid "Personal overview" msgid "Personal overview"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:126 #: templates/alsijil/print/full_register.html:229
msgid "Contact details" msgid "Contact details"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:174 #: templates/alsijil/print/full_register.html:266
msgid "Statistics on remarks" msgid "Absences and tardiness"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:179 #: templates/alsijil/print/full_register.html:269
msgid "Count" msgid "Absences"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:196 #: templates/alsijil/print/full_register.html:274
msgid "Absences and tardiness" msgid "thereof"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:215 #: templates/alsijil/print/full_register.html:304
msgid "Relevant personal notes" msgid "Relevant personal notes"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:219 #: templates/alsijil/print/full_register.html:308
msgid "Date" msgid "Date"
msgstr "" msgstr "dies"
#: templates/alsijil/print/full_register.html:220 #: templates/alsijil/print/full_register.html:309
#: templates/alsijil/print/full_register.html:268 #: templates/alsijil/print/full_register.html:369
msgid "Pe." msgid "Pe."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:221 #: templates/alsijil/print/full_register.html:310
#: templates/alsijil/print/full_register.html:269 #: templates/alsijil/print/full_register.html:370
msgid "Subj." msgid "Subj."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:222 #: templates/alsijil/print/full_register.html:311
#: templates/alsijil/print/full_register.html:274 #: templates/alsijil/print/full_register.html:374
msgid "Te." msgid "Te."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:240 #: templates/alsijil/print/full_register.html:313
msgid "Yes" msgid "Tard."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:242 #: templates/alsijil/print/full_register.html:330
#: templates/alsijil/print/full_register.html:314 msgid "Yes"
#: templates/alsijil/print/full_register.html:324
msgid "e"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:262 #: templates/alsijil/print/full_register.html:335
msgid "Lesson documentation for calendar week" #: templates/alsijil/print/full_register.html:424
#: templates/alsijil/print/full_register.html:439
msgid "e"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:270 #: templates/alsijil/print/full_register.html:363
msgid "Subs." msgid "Lesson documentation for week"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:273 #: templates/alsijil/print/full_register.html:373
msgid "Notes" msgid "Notes"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:301 #: views.py:76
msgid "Lesson cancelled" msgid "You either selected an invalid lesson or there is currently no lesson in progress."
msgstr "" msgstr ""
#: templates/alsijil/register_absence.html:5 #: views.py:90
#: templates/alsijil/register_absence.html:6 msgid "You are not allowed to create a lesson documentation for a lesson in the future."
msgid "Manage absence"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:6 #: views.py:116
msgid "Week view" msgid "The lesson documentation has been saved."
msgstr ""
#: templates/alsijil/week_view.html:21
msgid "Select"
msgstr ""
#: templates/alsijil/week_view.html:47
msgid "Period"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:49 #: views.py:136
msgid "Teachers" msgid "The personal notes have been saved."
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:97 #: views.py:327
msgid "unexcused" msgid "There is no current school term."
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:100 #: views.py:463
msgid "Summed up tardiness" msgid "The absence has been saved."
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:122 #: views.py:488
msgid "No group selected" msgid "The extra mark has been created."
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:125 #: views.py:499
msgid "" msgid "The extra mark has been saved."
"\n"
" There are no lessons for the selected group, teacher, room or "
"time.\n"
" "
msgstr "" msgstr ""
#: views.py:56 #: views.py:509
msgid "" msgid "The extra mark has been deleted."
"You either selected an invalid lesson or there is currently no lesson in "
"progress."
msgstr "" msgstr ""
#: views.py:68 #: views.py:529
msgid "" msgid "The excuse type has been created."
"You are not allowed to create a lesson documentation for a lesson in the "
"future."
msgstr "" msgstr ""
#: views.py:306 #: views.py:540
msgid "The absence has been saved." msgid "The excuse type has been saved."
msgstr "" msgstr ""
#: views.py:344 #: views.py:550
msgid "The filter has been saved" msgid "The excuse type has been deleted."
msgstr "" msgstr ""
#: views.py:360 #~ msgid "Description"
msgid "The filter has been deleted." #~ msgstr "Descriptio"
msgstr ""
...@@ -8,7 +8,7 @@ msgid "" ...@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-01 13:20+0200\n" "POT-Creation-Date: 2020-08-03 20:03+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -17,50 +17,60 @@ msgstr "" ...@@ -17,50 +17,60 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: forms.py:41 #: forms.py:25
msgid "Homework for the next lesson"
msgstr ""
#: forms.py:50 templates/alsijil/print/full_register.html:199
msgid "Group" msgid "Group"
msgstr "" msgstr ""
#: forms.py:49 templates/alsijil/print/full_register.html:101 #: forms.py:56 templates/alsijil/print/full_register.html:170
#: templates/alsijil/print/full_register.html:201
msgid "Teacher" msgid "Teacher"
msgstr "" msgstr ""
#: forms.py:57 #: forms.py:73
msgid "Room" msgid "You can't select a group and a teacher both."
msgstr "" msgstr ""
#: forms.py:70 #: forms.py:101
msgid "Start date" msgid "Start date"
msgstr "" msgstr ""
#: forms.py:73 #: forms.py:102
msgid "End date" msgid "End date"
msgstr "" msgstr ""
#: forms.py:75 #: forms.py:103
msgid "From period" msgid "From period"
msgstr "" msgstr ""
#: forms.py:77 templates/alsijil/lesson.html:58 #: forms.py:105 templates/alsijil/class_register/lesson.html:163
msgid "Person" msgid "Person"
msgstr "" msgstr ""
#: forms.py:79 templates/alsijil/lesson.html:59 #: forms.py:107 templates/alsijil/class_register/lesson.html:164
#: templates/alsijil/print/full_register.html:223 #: templates/alsijil/class_register/week_view.html:109
#: templates/alsijil/week_view.html:96 #: templates/alsijil/print/full_register.html:75
#: templates/alsijil/print/full_register.html:312
msgid "Absent" msgid "Absent"
msgstr "" msgstr ""
#: forms.py:80 templates/alsijil/lesson.html:61 #: forms.py:108 templates/alsijil/class_register/lesson.html:166
#: templates/alsijil/print/full_register.html:84
#: templates/alsijil/print/full_register.html:275
msgid "Excused" msgid "Excused"
msgstr "" msgstr ""
#: forms.py:81 templates/alsijil/lesson.html:62 #: forms.py:109 templates/alsijil/class_register/lesson.html:170
#: templates/alsijil/print/full_register.html:225 #: templates/alsijil/class_register/lesson.html:223
#: templates/alsijil/class_register/lesson.html:231
#: templates/alsijil/print/full_register.html:314
msgid "Remarks" msgid "Remarks"
msgstr "" msgstr ""
#: menus.py:6 templates/alsijil/print/full_register.html:16 #: menus.py:6 preferences.py:8 templates/alsijil/print/full_register.html:16
msgid "Class register" msgid "Class register"
msgstr "" msgstr ""
...@@ -76,306 +86,484 @@ msgstr "" ...@@ -76,306 +86,484 @@ msgstr ""
msgid "Register absence" msgid "Register absence"
msgstr "" msgstr ""
#: menus.py:34 #: menus.py:34 models.py:32 templates/alsijil/excuse_type/list.html:8
msgid "Personal note filters" #: templates/alsijil/excuse_type/list.html:9
msgid "Excuse types"
msgstr ""
#: menus.py:40 models.py:66 models.py:138
#: templates/alsijil/class_register/lesson.html:168
#: templates/alsijil/extra_mark/list.html:8
#: templates/alsijil/extra_mark/list.html:9
#: templates/alsijil/print/full_register.html:293
msgid "Extra marks"
msgstr ""
#: models.py:18 models.py:124
msgid "Short name"
msgstr ""
#: models.py:20 models.py:126
msgid "Name"
msgstr ""
#: models.py:31 models.py:60 templates/alsijil/class_register/lesson.html:167
#: templates/alsijil/class_register/lesson.html:202
msgid "Excuse type"
msgstr "" msgstr ""
#: models.py:51 templates/alsijil/print/full_register.html:271 #: models.py:75
msgid "Personal note"
msgstr ""
#: models.py:76 templates/alsijil/class_register/lesson.html:64
#: templates/alsijil/class_register/lesson.html:156
#: templates/alsijil/class_register/week_view.html:104
msgid "Personal notes"
msgstr ""
#: models.py:99 templates/alsijil/class_register/week_view.html:56
#: templates/alsijil/print/full_register.html:371
msgid "Lesson topic" msgid "Lesson topic"
msgstr "" msgstr ""
#: models.py:52 templates/alsijil/print/full_register.html:272 #: models.py:100 templates/alsijil/print/full_register.html:372
msgid "Homework" msgid "Homework"
msgstr "" msgstr ""
#: models.py:68 #: models.py:102
msgid "Identifier" msgid "Group note"
msgstr ""
#: models.py:106 templates/alsijil/class_register/lesson.html:60
#: templates/alsijil/class_register/lesson.html:143
msgid "Lesson documentation"
msgstr ""
#: models.py:107
msgid "Lesson documentations"
msgstr "" msgstr ""
#: models.py:71 templates/alsijil/print/full_register.html:178 #: models.py:137
msgid "Description" msgid "Extra mark"
msgstr "" msgstr ""
#: models.py:74 #: preferences.py:16
msgid "Match expression" msgid "Block adding personal notes for cancelled lessons"
msgstr "" msgstr ""
#: tables.py:14 #: tables.py:16 tables.py:36
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:5 #: tables.py:22 tables.py:42
msgid "Delete"
msgstr ""
#: templates/alsijil/absences/register.html:5
#: templates/alsijil/absences/register.html:6
msgid "Manage absence"
msgstr ""
#: templates/alsijil/class_register/lesson.html:6
msgid "Lesson" msgid "Lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:34 #: templates/alsijil/class_register/lesson.html:14
msgid "Lesson documentation" #: templates/alsijil/class_register/lesson.html:83
#, python-format
msgid "%(period)s. period"
msgstr ""
#: templates/alsijil/class_register/lesson.html:38
msgid "Previous lesson"
msgstr ""
#: templates/alsijil/class_register/lesson.html:46
msgid "Next lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:43 #: templates/alsijil/class_register/lesson.html:68
#: templates/alsijil/class_register/lesson.html:249
msgid "Change history" msgid "Change history"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:52 templates/alsijil/week_view.html:91 #: templates/alsijil/class_register/lesson.html:82
msgid "Personal notes" msgid "Overview: Previous lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:60 #: templates/alsijil/class_register/lesson.html:89
#: templates/alsijil/print/full_register.html:202 msgid "Lesson topic of previous lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:96
msgid "Homework for this lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:103
msgid "Group notes for previous lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:110
msgid "Absent persons:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:117
msgid "Late persons:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:165
#: templates/alsijil/print/full_register.html:287
msgid "Tardiness" msgid "Tardiness"
msgstr "" msgstr ""
#: templates/alsijil/manage_personal_note_filter.html:5 #: templates/alsijil/class_register/lesson.html:188
#: templates/alsijil/manage_personal_note_filter.html:6 msgid "Tardiness (in m)"
msgid "Manage personal note filter"
msgstr "" msgstr ""
#: templates/alsijil/manage_personal_note_filter.html:11 #: templates/alsijil/class_register/week_view.html:6
msgid "Delete filter" msgid "Week view"
msgstr "" msgstr ""
#: templates/alsijil/personal_note_filters.html:7 #: templates/alsijil/class_register/week_view.html:27
#: templates/alsijil/personal_note_filters.html:8 msgid "Select"
msgid "List of all personal note filters"
msgstr "" msgstr ""
#: templates/alsijil/personal_note_filters.html:12 #: templates/alsijil/class_register/week_view.html:33
msgid "Add filter" #, python-format
msgid "CW %(week)s: %(instance)s"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:22 #: templates/alsijil/class_register/week_view.html:50
#: templates/alsijil/print/full_register.html:54 msgid "Period"
msgid "Owners" msgstr ""
#: templates/alsijil/class_register/week_view.html:52
msgid "Groups"
msgstr ""
#: templates/alsijil/class_register/week_view.html:54
#: templates/alsijil/print/full_register.html:169
#: templates/alsijil/print/full_register.html:200
msgid "Subject"
msgstr ""
#: templates/alsijil/class_register/week_view.html:55
msgid "Teachers"
msgstr ""
#: templates/alsijil/class_register/week_view.html:110
msgid "unexcused"
msgstr ""
#: templates/alsijil/class_register/week_view.html:113
msgid "Summed up tardiness"
msgstr ""
#: templates/alsijil/class_register/week_view.html:142
msgid "No lessons available"
msgstr ""
#: templates/alsijil/class_register/week_view.html:145
msgid ""
"\n"
" There are no lessons for the selected group or teacher in this week.\n"
" "
msgstr ""
#: templates/alsijil/excuse_type/create.html:6
#: templates/alsijil/excuse_type/create.html:7
#: templates/alsijil/excuse_type/list.html:16
msgid "Create excuse type"
msgstr ""
#: templates/alsijil/excuse_type/edit.html:6
#: templates/alsijil/excuse_type/edit.html:7
msgid "Edit excuse type"
msgstr ""
#: templates/alsijil/excuse_type/warning.html:5
msgid ""
"\n"
" This function should only be used to define alternatives to the default excuse which also will be counted extra.\n"
" Don't use this to create a default excuse or if you don't divide between different types of excuse.\n"
" "
msgstr ""
#: templates/alsijil/extra_mark/create.html:6
#: templates/alsijil/extra_mark/create.html:7
#: templates/alsijil/extra_mark/list.html:14
msgid "Create extra mark"
msgstr ""
#: templates/alsijil/extra_mark/edit.html:6
#: templates/alsijil/extra_mark/edit.html:7
msgid "Edit extra mark"
msgstr ""
#: templates/alsijil/partials/absences.html:4
#: templates/alsijil/print/full_register.html:126
msgid "(e)"
msgstr ""
#: templates/alsijil/partials/absences.html:4
#: templates/alsijil/print/full_register.html:130
msgid "(u)"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:6
msgid "Data complete"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:12
#: templates/alsijil/print/full_register.html:406
msgid "Lesson cancelled"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:14
msgid "Missing data"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:16
msgid "Pending"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:18
msgid "Substitution"
msgstr ""
#: templates/alsijil/print/full_register.html:6
msgid "Class register:"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:26 #: templates/alsijil/print/full_register.html:26
#: templates/alsijil/print/full_register.html:59
msgid "Owners"
msgstr ""
#: templates/alsijil/print/full_register.html:30
msgid "Printed on" msgid "Printed on"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:34 #: templates/alsijil/print/full_register.html:38
msgid "" msgid ""
"\n" "\n"
" This printout is intended for archival purposes. The main copy " " This printout is intended for archival purposes. The main copy of\n"
"of\n" " the class register is stored in the AlekSIS School Information\n"
" the class register is stored in the AlekSIS School Information\n" " System.\n"
" System.\n" " "
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:41 #: templates/alsijil/print/full_register.html:45
msgid "" msgid ""
"\n" "\n"
" Copies of the class register, both digital and as printout, " " Copies of the class register, both digital and as printout, must\n"
"must\n" " only be kept inside the school and/or on devices authorised by the\n"
" only be kept inside the school and/or on devices authorised by " " school.\n"
"the\n" " "
" school.\n"
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:48 #: templates/alsijil/print/full_register.html:52
msgid "" msgid ""
"\n" "\n"
" The owner of the group and the headteacher confirm the above, " " The owner of the group and the headteacher confirm the above, as\n"
"as\n" " well as the correctness of this printout.\n"
" well as the correctness of this printout.\n" " "
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:55 #: templates/alsijil/print/full_register.html:62
msgid "Headteacher" msgid "Headteacher"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:61 #: templates/alsijil/print/full_register.html:69
msgid "Abbreviations"
msgstr ""
#: templates/alsijil/print/full_register.html:71
msgid "General"
msgstr ""
#: templates/alsijil/print/full_register.html:78
msgid "Late"
msgstr ""
#: templates/alsijil/print/full_register.html:81
#: templates/alsijil/print/full_register.html:283
msgid "Unexcused"
msgstr ""
#: templates/alsijil/print/full_register.html:89
msgid "Custom excuse types"
msgstr ""
#: templates/alsijil/print/full_register.html:101
msgid "Available extra marks"
msgstr ""
#: templates/alsijil/print/full_register.html:115
msgid "Persons in group" msgid "Persons in group"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:66 #: templates/alsijil/print/full_register.html:120
msgid "No." msgid "No."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:67 #: templates/alsijil/print/full_register.html:121
msgid "Last name" msgid "Last name"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:68 #: templates/alsijil/print/full_register.html:122
msgid "First name" msgid "First name"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:69 #: templates/alsijil/print/full_register.html:123
msgid "Sex" msgid "Sex"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:70 #: templates/alsijil/print/full_register.html:124
msgid "Date of birth" msgid "Date of birth"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:71 #: templates/alsijil/print/full_register.html:125
#: templates/alsijil/print/full_register.html:200 msgid "(a)"
msgid "Absences"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:72 #: templates/alsijil/print/full_register.html:131
#: templates/alsijil/print/full_register.html:201 msgid "(b)"
msgid "Unexcused"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:73 #: templates/alsijil/print/full_register.html:164
#: templates/alsijil/print/full_register.html:224
msgid "Tard."
msgstr ""
#: templates/alsijil/print/full_register.html:95
msgid "Teachers and lessons in group" msgid "Teachers and lessons in group"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:100 #: templates/alsijil/print/full_register.html:171
#: templates/alsijil/week_view.html:48 #: templates/alsijil/print/full_register.html:202
msgid "Subject"
msgstr ""
#: templates/alsijil/print/full_register.html:102
msgid "Lesson start" msgid "Lesson start"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:103 #: templates/alsijil/print/full_register.html:172
#: templates/alsijil/print/full_register.html:203
msgid "Lesson end" msgid "Lesson end"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:104 #: templates/alsijil/print/full_register.html:173
#: templates/alsijil/print/full_register.html:204
msgid "Per week" msgid "Per week"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:124 #: templates/alsijil/print/full_register.html:194
msgid "Teachers and lessons in child groups"
msgstr ""
#: templates/alsijil/print/full_register.html:227
msgid "Personal overview" msgid "Personal overview"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:126 #: templates/alsijil/print/full_register.html:229
msgid "Contact details" msgid "Contact details"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:174 #: templates/alsijil/print/full_register.html:266
msgid "Statistics on remarks" msgid "Absences and tardiness"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:179 #: templates/alsijil/print/full_register.html:269
msgid "Count" msgid "Absences"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:196 #: templates/alsijil/print/full_register.html:274
msgid "Absences and tardiness" msgid "thereof"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:215 #: templates/alsijil/print/full_register.html:304
msgid "Relevant personal notes" msgid "Relevant personal notes"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:219 #: templates/alsijil/print/full_register.html:308
msgid "Date" msgid "Date"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:220 #: templates/alsijil/print/full_register.html:309
#: templates/alsijil/print/full_register.html:268 #: templates/alsijil/print/full_register.html:369
msgid "Pe." msgid "Pe."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:221 #: templates/alsijil/print/full_register.html:310
#: templates/alsijil/print/full_register.html:269 #: templates/alsijil/print/full_register.html:370
msgid "Subj." msgid "Subj."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:222 #: templates/alsijil/print/full_register.html:311
#: templates/alsijil/print/full_register.html:274 #: templates/alsijil/print/full_register.html:374
msgid "Te." msgid "Te."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:240 #: templates/alsijil/print/full_register.html:313
msgid "Yes" msgid "Tard."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:242 #: templates/alsijil/print/full_register.html:330
#: templates/alsijil/print/full_register.html:314 msgid "Yes"
#: templates/alsijil/print/full_register.html:324
msgid "e"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:262 #: templates/alsijil/print/full_register.html:335
msgid "Lesson documentation for calendar week" #: templates/alsijil/print/full_register.html:424
#: templates/alsijil/print/full_register.html:439
msgid "e"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:270 #: templates/alsijil/print/full_register.html:363
msgid "Subs." msgid "Lesson documentation for week"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:273 #: templates/alsijil/print/full_register.html:373
msgid "Notes" msgid "Notes"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:301 #: views.py:76
msgid "Lesson cancelled" msgid "You either selected an invalid lesson or there is currently no lesson in progress."
msgstr "" msgstr ""
#: templates/alsijil/register_absence.html:5 #: views.py:90
#: templates/alsijil/register_absence.html:6 msgid "You are not allowed to create a lesson documentation for a lesson in the future."
msgid "Manage absence"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:6 #: views.py:116
msgid "Week view" msgid "The lesson documentation has been saved."
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:21 #: views.py:136
msgid "Select" msgid "The personal notes have been saved."
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:47 #: views.py:327
msgid "Period" msgid "There is no current school term."
msgstr ""
#: templates/alsijil/week_view.html:49
msgid "Teachers"
msgstr ""
#: templates/alsijil/week_view.html:97
msgid "unexcused"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:100 #: views.py:463
msgid "Summed up tardiness" msgid "The absence has been saved."
msgstr ""
#: templates/alsijil/week_view.html:122
msgid "No group selected"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:125 #: views.py:488
msgid "" msgid "The extra mark has been created."
"\n"
" There are no lessons for the selected group, teacher, room or "
"time.\n"
" "
msgstr "" msgstr ""
#: views.py:56 #: views.py:499
msgid "" msgid "The extra mark has been saved."
"You either selected an invalid lesson or there is currently no lesson in "
"progress."
msgstr "" msgstr ""
#: views.py:68 #: views.py:509
msgid "" msgid "The extra mark has been deleted."
"You are not allowed to create a lesson documentation for a lesson in the "
"future."
msgstr "" msgstr ""
#: views.py:306 #: views.py:529
msgid "The absence has been saved." msgid "The excuse type has been created."
msgstr "" msgstr ""
#: views.py:344 #: views.py:540
msgid "The filter has been saved" msgid "The excuse type has been saved."
msgstr "" msgstr ""
#: views.py:360 #: views.py:550
msgid "The filter has been deleted." msgid "The excuse type has been deleted."
msgstr "" msgstr ""
...@@ -8,7 +8,7 @@ msgid "" ...@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-01 13:20+0200\n" "POT-Creation-Date: 2020-08-03 20:03+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -17,50 +17,60 @@ msgstr "" ...@@ -17,50 +17,60 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: forms.py:41 #: forms.py:25
msgid "Homework for the next lesson"
msgstr ""
#: forms.py:50 templates/alsijil/print/full_register.html:199
msgid "Group" msgid "Group"
msgstr "" msgstr ""
#: forms.py:49 templates/alsijil/print/full_register.html:101 #: forms.py:56 templates/alsijil/print/full_register.html:170
#: templates/alsijil/print/full_register.html:201
msgid "Teacher" msgid "Teacher"
msgstr "" msgstr ""
#: forms.py:57 #: forms.py:73
msgid "Room" msgid "You can't select a group and a teacher both."
msgstr "" msgstr ""
#: forms.py:70 #: forms.py:101
msgid "Start date" msgid "Start date"
msgstr "" msgstr ""
#: forms.py:73 #: forms.py:102
msgid "End date" msgid "End date"
msgstr "" msgstr ""
#: forms.py:75 #: forms.py:103
msgid "From period" msgid "From period"
msgstr "" msgstr ""
#: forms.py:77 templates/alsijil/lesson.html:58 #: forms.py:105 templates/alsijil/class_register/lesson.html:163
msgid "Person" msgid "Person"
msgstr "" msgstr ""
#: forms.py:79 templates/alsijil/lesson.html:59 #: forms.py:107 templates/alsijil/class_register/lesson.html:164
#: templates/alsijil/print/full_register.html:223 #: templates/alsijil/class_register/week_view.html:109
#: templates/alsijil/week_view.html:96 #: templates/alsijil/print/full_register.html:75
#: templates/alsijil/print/full_register.html:312
msgid "Absent" msgid "Absent"
msgstr "" msgstr ""
#: forms.py:80 templates/alsijil/lesson.html:61 #: forms.py:108 templates/alsijil/class_register/lesson.html:166
#: templates/alsijil/print/full_register.html:84
#: templates/alsijil/print/full_register.html:275
msgid "Excused" msgid "Excused"
msgstr "" msgstr ""
#: forms.py:81 templates/alsijil/lesson.html:62 #: forms.py:109 templates/alsijil/class_register/lesson.html:170
#: templates/alsijil/print/full_register.html:225 #: templates/alsijil/class_register/lesson.html:223
#: templates/alsijil/class_register/lesson.html:231
#: templates/alsijil/print/full_register.html:314
msgid "Remarks" msgid "Remarks"
msgstr "" msgstr ""
#: menus.py:6 templates/alsijil/print/full_register.html:16 #: menus.py:6 preferences.py:8 templates/alsijil/print/full_register.html:16
msgid "Class register" msgid "Class register"
msgstr "" msgstr ""
...@@ -76,306 +86,484 @@ msgstr "" ...@@ -76,306 +86,484 @@ msgstr ""
msgid "Register absence" msgid "Register absence"
msgstr "" msgstr ""
#: menus.py:34 #: menus.py:34 models.py:32 templates/alsijil/excuse_type/list.html:8
msgid "Personal note filters" #: templates/alsijil/excuse_type/list.html:9
msgid "Excuse types"
msgstr ""
#: menus.py:40 models.py:66 models.py:138
#: templates/alsijil/class_register/lesson.html:168
#: templates/alsijil/extra_mark/list.html:8
#: templates/alsijil/extra_mark/list.html:9
#: templates/alsijil/print/full_register.html:293
msgid "Extra marks"
msgstr ""
#: models.py:18 models.py:124
msgid "Short name"
msgstr ""
#: models.py:20 models.py:126
msgid "Name"
msgstr ""
#: models.py:31 models.py:60 templates/alsijil/class_register/lesson.html:167
#: templates/alsijil/class_register/lesson.html:202
msgid "Excuse type"
msgstr "" msgstr ""
#: models.py:51 templates/alsijil/print/full_register.html:271 #: models.py:75
msgid "Personal note"
msgstr ""
#: models.py:76 templates/alsijil/class_register/lesson.html:64
#: templates/alsijil/class_register/lesson.html:156
#: templates/alsijil/class_register/week_view.html:104
msgid "Personal notes"
msgstr ""
#: models.py:99 templates/alsijil/class_register/week_view.html:56
#: templates/alsijil/print/full_register.html:371
msgid "Lesson topic" msgid "Lesson topic"
msgstr "" msgstr ""
#: models.py:52 templates/alsijil/print/full_register.html:272 #: models.py:100 templates/alsijil/print/full_register.html:372
msgid "Homework" msgid "Homework"
msgstr "" msgstr ""
#: models.py:68 #: models.py:102
msgid "Identifier" msgid "Group note"
msgstr ""
#: models.py:106 templates/alsijil/class_register/lesson.html:60
#: templates/alsijil/class_register/lesson.html:143
msgid "Lesson documentation"
msgstr ""
#: models.py:107
msgid "Lesson documentations"
msgstr "" msgstr ""
#: models.py:71 templates/alsijil/print/full_register.html:178 #: models.py:137
msgid "Description" msgid "Extra mark"
msgstr "" msgstr ""
#: models.py:74 #: preferences.py:16
msgid "Match expression" msgid "Block adding personal notes for cancelled lessons"
msgstr "" msgstr ""
#: tables.py:14 #: tables.py:16 tables.py:36
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:5 #: tables.py:22 tables.py:42
msgid "Delete"
msgstr ""
#: templates/alsijil/absences/register.html:5
#: templates/alsijil/absences/register.html:6
msgid "Manage absence"
msgstr ""
#: templates/alsijil/class_register/lesson.html:6
msgid "Lesson" msgid "Lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:34 #: templates/alsijil/class_register/lesson.html:14
msgid "Lesson documentation" #: templates/alsijil/class_register/lesson.html:83
#, python-format
msgid "%(period)s. period"
msgstr ""
#: templates/alsijil/class_register/lesson.html:38
msgid "Previous lesson"
msgstr ""
#: templates/alsijil/class_register/lesson.html:46
msgid "Next lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:43 #: templates/alsijil/class_register/lesson.html:68
#: templates/alsijil/class_register/lesson.html:249
msgid "Change history" msgid "Change history"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:52 templates/alsijil/week_view.html:91 #: templates/alsijil/class_register/lesson.html:82
msgid "Personal notes" msgid "Overview: Previous lesson"
msgstr "" msgstr ""
#: templates/alsijil/lesson.html:60 #: templates/alsijil/class_register/lesson.html:89
#: templates/alsijil/print/full_register.html:202 msgid "Lesson topic of previous lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:96
msgid "Homework for this lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:103
msgid "Group notes for previous lesson:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:110
msgid "Absent persons:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:117
msgid "Late persons:"
msgstr ""
#: templates/alsijil/class_register/lesson.html:165
#: templates/alsijil/print/full_register.html:287
msgid "Tardiness" msgid "Tardiness"
msgstr "" msgstr ""
#: templates/alsijil/manage_personal_note_filter.html:5 #: templates/alsijil/class_register/lesson.html:188
#: templates/alsijil/manage_personal_note_filter.html:6 msgid "Tardiness (in m)"
msgid "Manage personal note filter"
msgstr "" msgstr ""
#: templates/alsijil/manage_personal_note_filter.html:11 #: templates/alsijil/class_register/week_view.html:6
msgid "Delete filter" msgid "Week view"
msgstr "" msgstr ""
#: templates/alsijil/personal_note_filters.html:7 #: templates/alsijil/class_register/week_view.html:27
#: templates/alsijil/personal_note_filters.html:8 msgid "Select"
msgid "List of all personal note filters"
msgstr "" msgstr ""
#: templates/alsijil/personal_note_filters.html:12 #: templates/alsijil/class_register/week_view.html:33
msgid "Add filter" #, python-format
msgid "CW %(week)s: %(instance)s"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:22 #: templates/alsijil/class_register/week_view.html:50
#: templates/alsijil/print/full_register.html:54 msgid "Period"
msgid "Owners" msgstr ""
#: templates/alsijil/class_register/week_view.html:52
msgid "Groups"
msgstr ""
#: templates/alsijil/class_register/week_view.html:54
#: templates/alsijil/print/full_register.html:169
#: templates/alsijil/print/full_register.html:200
msgid "Subject"
msgstr ""
#: templates/alsijil/class_register/week_view.html:55
msgid "Teachers"
msgstr ""
#: templates/alsijil/class_register/week_view.html:110
msgid "unexcused"
msgstr ""
#: templates/alsijil/class_register/week_view.html:113
msgid "Summed up tardiness"
msgstr ""
#: templates/alsijil/class_register/week_view.html:142
msgid "No lessons available"
msgstr ""
#: templates/alsijil/class_register/week_view.html:145
msgid ""
"\n"
" There are no lessons for the selected group or teacher in this week.\n"
" "
msgstr ""
#: templates/alsijil/excuse_type/create.html:6
#: templates/alsijil/excuse_type/create.html:7
#: templates/alsijil/excuse_type/list.html:16
msgid "Create excuse type"
msgstr ""
#: templates/alsijil/excuse_type/edit.html:6
#: templates/alsijil/excuse_type/edit.html:7
msgid "Edit excuse type"
msgstr ""
#: templates/alsijil/excuse_type/warning.html:5
msgid ""
"\n"
" This function should only be used to define alternatives to the default excuse which also will be counted extra.\n"
" Don't use this to create a default excuse or if you don't divide between different types of excuse.\n"
" "
msgstr ""
#: templates/alsijil/extra_mark/create.html:6
#: templates/alsijil/extra_mark/create.html:7
#: templates/alsijil/extra_mark/list.html:14
msgid "Create extra mark"
msgstr ""
#: templates/alsijil/extra_mark/edit.html:6
#: templates/alsijil/extra_mark/edit.html:7
msgid "Edit extra mark"
msgstr ""
#: templates/alsijil/partials/absences.html:4
#: templates/alsijil/print/full_register.html:126
msgid "(e)"
msgstr ""
#: templates/alsijil/partials/absences.html:4
#: templates/alsijil/print/full_register.html:130
msgid "(u)"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:6
msgid "Data complete"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:12
#: templates/alsijil/print/full_register.html:406
msgid "Lesson cancelled"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:14
msgid "Missing data"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:16
msgid "Pending"
msgstr ""
#: templates/alsijil/partials/lesson_status_icon.html:18
msgid "Substitution"
msgstr ""
#: templates/alsijil/print/full_register.html:6
msgid "Class register:"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:26 #: templates/alsijil/print/full_register.html:26
#: templates/alsijil/print/full_register.html:59
msgid "Owners"
msgstr ""
#: templates/alsijil/print/full_register.html:30
msgid "Printed on" msgid "Printed on"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:34 #: templates/alsijil/print/full_register.html:38
msgid "" msgid ""
"\n" "\n"
" This printout is intended for archival purposes. The main copy " " This printout is intended for archival purposes. The main copy of\n"
"of\n" " the class register is stored in the AlekSIS School Information\n"
" the class register is stored in the AlekSIS School Information\n" " System.\n"
" System.\n" " "
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:41 #: templates/alsijil/print/full_register.html:45
msgid "" msgid ""
"\n" "\n"
" Copies of the class register, both digital and as printout, " " Copies of the class register, both digital and as printout, must\n"
"must\n" " only be kept inside the school and/or on devices authorised by the\n"
" only be kept inside the school and/or on devices authorised by " " school.\n"
"the\n" " "
" school.\n"
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:48 #: templates/alsijil/print/full_register.html:52
msgid "" msgid ""
"\n" "\n"
" The owner of the group and the headteacher confirm the above, " " The owner of the group and the headteacher confirm the above, as\n"
"as\n" " well as the correctness of this printout.\n"
" well as the correctness of this printout.\n" " "
" "
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:55 #: templates/alsijil/print/full_register.html:62
msgid "Headteacher" msgid "Headteacher"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:61 #: templates/alsijil/print/full_register.html:69
msgid "Abbreviations"
msgstr ""
#: templates/alsijil/print/full_register.html:71
msgid "General"
msgstr ""
#: templates/alsijil/print/full_register.html:78
msgid "Late"
msgstr ""
#: templates/alsijil/print/full_register.html:81
#: templates/alsijil/print/full_register.html:283
msgid "Unexcused"
msgstr ""
#: templates/alsijil/print/full_register.html:89
msgid "Custom excuse types"
msgstr ""
#: templates/alsijil/print/full_register.html:101
msgid "Available extra marks"
msgstr ""
#: templates/alsijil/print/full_register.html:115
msgid "Persons in group" msgid "Persons in group"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:66 #: templates/alsijil/print/full_register.html:120
msgid "No." msgid "No."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:67 #: templates/alsijil/print/full_register.html:121
msgid "Last name" msgid "Last name"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:68 #: templates/alsijil/print/full_register.html:122
msgid "First name" msgid "First name"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:69 #: templates/alsijil/print/full_register.html:123
msgid "Sex" msgid "Sex"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:70 #: templates/alsijil/print/full_register.html:124
msgid "Date of birth" msgid "Date of birth"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:71 #: templates/alsijil/print/full_register.html:125
#: templates/alsijil/print/full_register.html:200 msgid "(a)"
msgid "Absences"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:72 #: templates/alsijil/print/full_register.html:131
#: templates/alsijil/print/full_register.html:201 msgid "(b)"
msgid "Unexcused"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:73 #: templates/alsijil/print/full_register.html:164
#: templates/alsijil/print/full_register.html:224
msgid "Tard."
msgstr ""
#: templates/alsijil/print/full_register.html:95
msgid "Teachers and lessons in group" msgid "Teachers and lessons in group"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:100 #: templates/alsijil/print/full_register.html:171
#: templates/alsijil/week_view.html:48 #: templates/alsijil/print/full_register.html:202
msgid "Subject"
msgstr ""
#: templates/alsijil/print/full_register.html:102
msgid "Lesson start" msgid "Lesson start"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:103 #: templates/alsijil/print/full_register.html:172
#: templates/alsijil/print/full_register.html:203
msgid "Lesson end" msgid "Lesson end"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:104 #: templates/alsijil/print/full_register.html:173
#: templates/alsijil/print/full_register.html:204
msgid "Per week" msgid "Per week"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:124 #: templates/alsijil/print/full_register.html:194
msgid "Teachers and lessons in child groups"
msgstr ""
#: templates/alsijil/print/full_register.html:227
msgid "Personal overview" msgid "Personal overview"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:126 #: templates/alsijil/print/full_register.html:229
msgid "Contact details" msgid "Contact details"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:174 #: templates/alsijil/print/full_register.html:266
msgid "Statistics on remarks" msgid "Absences and tardiness"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:179 #: templates/alsijil/print/full_register.html:269
msgid "Count" msgid "Absences"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:196 #: templates/alsijil/print/full_register.html:274
msgid "Absences and tardiness" msgid "thereof"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:215 #: templates/alsijil/print/full_register.html:304
msgid "Relevant personal notes" msgid "Relevant personal notes"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:219 #: templates/alsijil/print/full_register.html:308
msgid "Date" msgid "Date"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:220 #: templates/alsijil/print/full_register.html:309
#: templates/alsijil/print/full_register.html:268 #: templates/alsijil/print/full_register.html:369
msgid "Pe." msgid "Pe."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:221 #: templates/alsijil/print/full_register.html:310
#: templates/alsijil/print/full_register.html:269 #: templates/alsijil/print/full_register.html:370
msgid "Subj." msgid "Subj."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:222 #: templates/alsijil/print/full_register.html:311
#: templates/alsijil/print/full_register.html:274 #: templates/alsijil/print/full_register.html:374
msgid "Te." msgid "Te."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:240 #: templates/alsijil/print/full_register.html:313
msgid "Yes" msgid "Tard."
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:242 #: templates/alsijil/print/full_register.html:330
#: templates/alsijil/print/full_register.html:314 msgid "Yes"
#: templates/alsijil/print/full_register.html:324
msgid "e"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:262 #: templates/alsijil/print/full_register.html:335
msgid "Lesson documentation for calendar week" #: templates/alsijil/print/full_register.html:424
#: templates/alsijil/print/full_register.html:439
msgid "e"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:270 #: templates/alsijil/print/full_register.html:363
msgid "Subs." msgid "Lesson documentation for week"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:273 #: templates/alsijil/print/full_register.html:373
msgid "Notes" msgid "Notes"
msgstr "" msgstr ""
#: templates/alsijil/print/full_register.html:301 #: views.py:76
msgid "Lesson cancelled" msgid "You either selected an invalid lesson or there is currently no lesson in progress."
msgstr "" msgstr ""
#: templates/alsijil/register_absence.html:5 #: views.py:90
#: templates/alsijil/register_absence.html:6 msgid "You are not allowed to create a lesson documentation for a lesson in the future."
msgid "Manage absence"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:6 #: views.py:116
msgid "Week view" msgid "The lesson documentation has been saved."
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:21 #: views.py:136
msgid "Select" msgid "The personal notes have been saved."
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:47 #: views.py:327
msgid "Period" msgid "There is no current school term."
msgstr ""
#: templates/alsijil/week_view.html:49
msgid "Teachers"
msgstr ""
#: templates/alsijil/week_view.html:97
msgid "unexcused"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:100 #: views.py:463
msgid "Summed up tardiness" msgid "The absence has been saved."
msgstr ""
#: templates/alsijil/week_view.html:122
msgid "No group selected"
msgstr "" msgstr ""
#: templates/alsijil/week_view.html:125 #: views.py:488
msgid "" msgid "The extra mark has been created."
"\n"
" There are no lessons for the selected group, teacher, room or "
"time.\n"
" "
msgstr "" msgstr ""
#: views.py:56 #: views.py:499
msgid "" msgid "The extra mark has been saved."
"You either selected an invalid lesson or there is currently no lesson in "
"progress."
msgstr "" msgstr ""
#: views.py:68 #: views.py:509
msgid "" msgid "The extra mark has been deleted."
"You are not allowed to create a lesson documentation for a lesson in the "
"future."
msgstr "" msgstr ""
#: views.py:306 #: views.py:529
msgid "The absence has been saved." msgid "The excuse type has been created."
msgstr "" msgstr ""
#: views.py:344 #: views.py:540
msgid "The filter has been saved" msgid "The excuse type has been saved."
msgstr "" msgstr ""
#: views.py:360 #: views.py:550
msgid "The filter has been deleted." msgid "The excuse type has been deleted."
msgstr "" msgstr ""
...@@ -16,31 +16,56 @@ MENUS = { ...@@ -16,31 +16,56 @@ MENUS = {
"name": _("Current lesson"), "name": _("Current lesson"),
"url": "lesson", "url": "lesson",
"icon": "alarm", "icon": "alarm",
"validators": ["menu_generator.validators.is_authenticated"], "validators": [
(
"aleksis.core.util.predicates.permission_validator",
"alsijil.view_lesson_menu",
),
],
}, },
{ {
"name": _("Current week"), "name": _("Current week"),
"url": "week_view", "url": "week_view",
"icon": "view_week", "icon": "view_week",
"validators": ["menu_generator.validators.is_authenticated"], "validators": [
(
"aleksis.core.util.predicates.permission_validator",
"alsijil.view_week_menu",
),
],
}, },
{ {
"name": _("Register absence"), "name": _("Register absence"),
"url": "register_absence", "url": "register_absence",
"icon": "rate_review", "icon": "rate_review",
"validators": ["menu_generator.validators.is_superuser"], "validators": [
}, (
{ "aleksis.core.util.predicates.permission_validator",
"name": _("Personal note filters"), "alsijil.view_register_absence",
"url": "list_personal_note_filters", ),
"icon": "filter_list", ],
"validators": ["menu_generator.validators.is_superuser"],
}, },
{ {
"name": _("Excuse types"), "name": _("Excuse types"),
"url": "excuse_types", "url": "excuse_types",
"icon": "label", "icon": "label",
"validators": ["menu_generator.validators.is_superuser"], "validators": [
(
"aleksis.core.util.predicates.permission_validator",
"alsijil.view_excusetypes",
),
],
},
{
"name": _("Extra marks"),
"url": "extra_marks",
"icon": "label",
"validators": [
(
"aleksis.core.util.predicates.permission_validator",
"alsijil.view_extramarks",
),
],
}, },
], ],
} }
......
# Generated by Django 3.0.8 on 2020-07-12 12:43
import django.contrib.postgres.fields.jsonb
import django.contrib.sites.managers
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("sites", "0002_alter_domain_unique"),
("alsijil", "0002_excuse_type"),
]
operations = [
migrations.CreateModel(
name="ExtraMark",
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=255, unique=True, verbose_name="Short name"
),
),
(
"name",
models.CharField(max_length=255, unique=True, verbose_name="Name"),
),
(
"site",
models.ForeignKey(
default=1,
editable=False,
on_delete=django.db.models.deletion.CASCADE,
to="sites.Site",
),
),
],
options={
"verbose_name": "Extra mark",
"verbose_name_plural": "Extra marks",
"ordering": ["short_name"],
},
managers=[("objects", django.contrib.sites.managers.CurrentSiteManager()),],
),
migrations.AddField(
model_name="personalnote",
name="extra_marks",
field=models.ManyToManyField(
blank=True,
null=True,
to="alsijil.ExtraMark",
verbose_name="Extra marks",
),
),
]
# Generated by Django 3.0.8 on 2020-07-10 16:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("alsijil", "0003_extra_mark"),
]
operations = [
migrations.AddField(
model_name="lessondocumentation",
name="group_note",
field=models.CharField(
blank=True, max_length=200, verbose_name="Group note"
),
),
]
# Generated by Django 3.0.8 on 2020-07-22 17:29
from django.db import migrations, models
def add_groups(apps, schema_editor):
PersonalNote = apps.get_model("alsijil", "PersonalNote")
db_alias = schema_editor.connection.alias
for personal_note in PersonalNote.objects.using(db_alias).all():
groups = list(personal_note.person.member_of.using(db_alias).all())
personal_note.groups_of_person.set(groups)
personal_note.save()
class Migration(migrations.Migration):
dependencies = [
("core", "0003_drop_image_cropping"),
("alsijil", "0004_group_notes"),
]
operations = [
migrations.AddField(
model_name="personalnote",
name="groups_of_person",
field=models.ManyToManyField(
related_name="_personalnote_groups_of_person_+", to="core.Group"
),
),
migrations.RunPython(add_groups),
]
# Generated by Django 3.0.8 on 2020-07-18 15:23
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("alsijil", "0005_groups_of_person"),
]
operations = [
migrations.DeleteModel(name="PersonalNoteFilter",),
]
# Generated by Django 3.0.9 on 2020-08-15 09:39
from django.db import migrations, models
import aleksis.apps.chronos.util.date
def migrate_data(apps, schema_editor):
PersonalNote = apps.get_model("alsijil", "PersonalNote")
LessonDocumentation = apps.get_model("alsijil", "LessonDocumentation")
db_alias = schema_editor.connection.alias
for note in PersonalNote.objects.using(db_alias).all():
year = note.lesson_period.lesson.validity.date_start.year
if note.week < int(
note.lesson_period.lesson.validity.date_start.strftime("%V")
):
year += 1
note.year = year
note.save()
for doc in LessonDocumentation.objects.using(db_alias).all():
year = doc.lesson_period.lesson.validity.date_start.year
if doc.week < int(doc.lesson_period.lesson.validity.date_start.strftime("%V")):
year += 1
doc.year = year
doc.save()
class Migration(migrations.Migration):
dependencies = [
("alsijil", "0006_delete_personal_notes_filter"),
]
operations = [
migrations.AddField(
model_name="lessondocumentation",
name="year",
field=models.IntegerField(
default=aleksis.apps.chronos.util.date.get_current_year,
verbose_name="Year",
),
),
migrations.AddField(
model_name="personalnote",
name="year",
field=models.IntegerField(
default=aleksis.apps.chronos.util.date.get_current_year,
verbose_name="Year",
),
),
migrations.RunPython(migrate_data),
]
This diff is collapsed.
This diff is collapsed.
from django.utils.translation import gettext as _
from dynamic_preferences.preferences import Section
from dynamic_preferences.types import BooleanPreference
from aleksis.core.registries import site_preferences_registry
alsijil = Section("alsijil", verbose_name=_("Class register"))
@site_preferences_registry.register
class BlockPersonalNotesForCancelled(BooleanPreference):
section = alsijil
name = "block_personal_notes_for_cancelled"
default = True
verbose_name = _("Block adding personal notes for cancelled lessons")
@site_preferences_registry.register
class ViewOwnPersonalNotes(BooleanPreference):
section = alsijil
name = "view_own_personal_notes"
default = True
verbose_name = _("Allow users to view their own personal notes")
@site_preferences_registry.register
class CarryOverDataToNextPeriods(BooleanPreference):
section = alsijil
name = "carry_over"
default = True
verbose_name = _(
"Carry over data from first lesson period to the following lesson periods in lessons over multiple periods"
)
help_text = _(
"This will carry over data only if the data in the following periods are empty."
)
@site_preferences_registry.register
class AllowOpenPeriodsOnSameDay(BooleanPreference):
section = alsijil
name = "open_periods_same_day"
default = False
verbose_name = _(
"Allow teachers to open lesson periods on the same day and not just at the beginning of the period"
)
help_text = _(
"Lessons in the past are not affected by this setting, you can open them whenever you want."
)
This diff is collapsed.
.alsijil-check-box {
margin-right: 10px;
}
.alsijil-check-box [type="checkbox"] {
padding-left: 30px;
}
.alsijil-lesson-cancelled { .alsijil-lesson-cancelled {
text-decoration: line-through; text-decoration: line-through;
} }
......
This diff is collapsed.