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
  • hansegucker/AlekSIS-Core
  • pinguin/AlekSIS-Core
  • AlekSIS/official/AlekSIS-Core
  • sunweaver/AlekSIS-Core
  • sggua/AlekSIS-Core
  • edward/AlekSIS-Core
  • magicfelix/AlekSIS-Core
7 results
Show changes
Commits on Source (55)
Showing
with 795 additions and 462 deletions
......@@ -2,8 +2,14 @@ include:
- project: "AlekSIS/official/AlekSIS"
file: /ci/general.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/test.yml
file: /ci/test/test.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/build_dist.yml
file: /ci/test/lint.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/deploy_pypi.yml
file: /ci/test/security.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/build/dist.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/deploy/pages.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/deploy/pypi.yml
......@@ -2,7 +2,7 @@ import logging
from django.contrib.contenttypes.models import ContentType
from django.db.models.aggregates import Count
from django.utils.decorators import classproperty
from django.utils.functional import classproperty
from django.utils.translation import gettext as _
import reversion
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: AlekSIS (School Information System) 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -215,7 +215,7 @@ msgstr ""
msgid "People"
msgstr ""
#: menus.py:185 models.py:803 templates/core/group_type/list.html:8
#: menus.py:185 models.py:812 templates/core/group_type/list.html:8
#: templates/core/group_type/list.html:9
msgid "Group types"
msgstr ""
......@@ -282,7 +282,7 @@ msgstr ""
msgid "URL / Link"
msgstr ""
#: models.py:66 models.py:776
#: models.py:66 models.py:785
msgid "Name"
msgstr ""
......@@ -302,7 +302,7 @@ msgstr ""
msgid "There is already a school term for this time or a part of this time."
msgstr ""
#: models.py:115 models.py:742 templates/core/person/accounts.html:41
#: models.py:115 models.py:744 templates/core/person/accounts.html:41
msgid "Person"
msgstr ""
......@@ -402,7 +402,7 @@ msgstr ""
msgid "Primary group"
msgstr ""
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:796
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:805
#: templates/core/person/full.html:120
msgid "Description"
msgstr ""
......@@ -484,7 +484,7 @@ msgstr ""
msgid "Recipient"
msgstr ""
#: models.py:486 models.py:777
#: models.py:486 models.py:786
msgid "Link"
msgstr ""
......@@ -569,122 +569,130 @@ msgid "> 1200 px>, 12 columns"
msgstr ""
#: models.py:734
msgid "Dashboard Widget"
msgid "Can edit default dashboard"
msgstr ""
#: models.py:735
msgid "Dashboard Widget"
msgstr ""
#: models.py:736
msgid "Dashboard Widgets"
msgstr ""
#: models.py:740
#: models.py:741
msgid "Dashboard widget"
msgstr ""
#: models.py:743
#: models.py:746
msgid "Order"
msgstr ""
#: models.py:746
#: models.py:747
msgid "Part of the default dashboard"
msgstr ""
#: models.py:755
msgid "Dashboard widget order"
msgstr ""
#: models.py:747
#: models.py:756
msgid "Dashboard widget orders"
msgstr ""
#: models.py:753
#: models.py:762
msgid "Menu ID"
msgstr ""
#: models.py:766
#: models.py:775
msgid "Custom menu"
msgstr ""
#: models.py:767
#: models.py:776
msgid "Custom menus"
msgstr ""
#: models.py:774
#: models.py:783
msgid "Menu"
msgstr ""
#: models.py:778
#: models.py:787
msgid "Icon"
msgstr ""
#: models.py:784
#: models.py:793
msgid "Custom menu item"
msgstr ""
#: models.py:785
#: models.py:794
msgid "Custom menu items"
msgstr ""
#: models.py:795
#: models.py:804
msgid "Title of type"
msgstr ""
#: models.py:802 templates/core/group/full.html:47
#: models.py:811 templates/core/group/full.html:47
msgid "Group type"
msgstr ""
#: models.py:812
#: models.py:821
msgid "Can view system status"
msgstr ""
#: models.py:813
#: models.py:822
msgid "Can link persons to accounts"
msgstr ""
#: models.py:814
#: models.py:823
msgid "Can manage data"
msgstr ""
#: models.py:815
#: models.py:824
msgid "Can impersonate"
msgstr ""
#: models.py:816
#: models.py:825
msgid "Can use search"
msgstr ""
#: models.py:817
#: models.py:826
msgid "Can change site preferences"
msgstr ""
#: models.py:818
#: models.py:827
msgid "Can change person preferences"
msgstr ""
#: models.py:819
#: models.py:828
msgid "Can change group preferences"
msgstr ""
#: models.py:855
#: models.py:864
msgid "Related data check task"
msgstr ""
#: models.py:863
#: models.py:872
msgid "Issue solved"
msgstr ""
#: models.py:864
#: models.py:873
msgid "Notification sent"
msgstr ""
#: models.py:877
#: models.py:886
msgid "Data check result"
msgstr ""
#: models.py:878
#: models.py:887
msgid "Data check results"
msgstr ""
#: models.py:880
#: models.py:889
msgid "Can run data checks"
msgstr ""
#: models.py:881
#: models.py:890
msgid "Can solve data check problems"
msgstr ""
......@@ -954,6 +962,11 @@ msgstr ""
msgid "Create %(name)s"
msgstr ""
#: templates/core/dashboard_widget/list.html:25
#: templates/core/edit_dashboard.html:8 templates/core/edit_dashboard.html:15
msgid "Edit default dashboard"
msgstr ""
#: templates/core/data_check/list.html:15
msgid "Check data again"
msgstr ""
......@@ -1011,19 +1024,41 @@ msgid ""
" "
msgstr ""
#: templates/core/edit_dashboard.html:4 templates/core/edit_dashboard.html:5
#: templates/core/edit_dashboard.html:6 templates/core/edit_dashboard.html:13
#: templates/core/index.html:14
msgid "Edit dashboard"
msgstr ""
#: templates/core/edit_dashboard.html:26
#: templates/core/edit_dashboard.html:24
msgid ""
"\n"
" On this page you can arrange your personal dashboard. You can drag any items from \"Available widgets\" to \"Your\n"
" Dashboard\" or change the order by moving the widgets. After you have finished, please don't forget to click on\n"
" \"Save\".\n"
" "
msgstr ""
#: templates/core/edit_dashboard.html:30
msgid ""
"\n"
" On this page you can arrange the default dashboard which is shown when a user doesn't arrange his own\n"
" dashboard. You can drag any items from \"Available widgets\" to \"Default Dashboard\" or change the order\n"
" by moving the widgets. After you have finished, please don't forget to click on \"Save\".\n"
" "
msgstr ""
#: templates/core/edit_dashboard.html:48
msgid "Available widgets"
msgstr ""
#: templates/core/edit_dashboard.html:33
#: templates/core/edit_dashboard.html:57
msgid "Your dashboard"
msgstr ""
#: templates/core/edit_dashboard.html:59
msgid "Default dashboard"
msgstr ""
#: templates/core/group/child_groups.html:18
msgid ""
"\n"
......@@ -1156,31 +1191,31 @@ msgstr ""
msgid "Home"
msgstr ""
#: templates/core/index.html:49
#: templates/core/index.html:50
msgid ""
"\n"
" You haven't selected any dashboard widgets. Please click on \"Edit dashboard\" to add widgets to your\n"
" personal dashboard.\n"
" "
" You didn't customise your dashboard so that you see the system default. Please click on \"Edit dashboard\" to\n"
" customise your personal dashboard.\n"
" "
msgstr ""
#: templates/core/index.html:60
#: templates/core/index.html:59
msgid "Last activities"
msgstr ""
#: templates/core/index.html:78
#: templates/core/index.html:77
msgid "No activities available yet."
msgstr ""
#: templates/core/index.html:83
#: templates/core/index.html:82
msgid "Recent notifications"
msgstr ""
#: templates/core/index.html:99
#: templates/core/index.html:98
msgid "More information →"
msgstr ""
#: templates/core/index.html:106
#: templates/core/index.html:105
msgid "No notifications available yet."
msgstr ""
......@@ -1495,10 +1530,6 @@ msgstr ""
msgid "Save preferences"
msgstr ""
#: templates/dynamic_preferences/sections.html:7
msgid "All"
msgstr ""
#: templates/impersonate/list_users.html:8
msgid "Impersonate user"
msgstr ""
......@@ -1961,87 +1992,91 @@ msgstr ""
msgid "SMS"
msgstr ""
#: views.py:134
#: views.py:141
msgid "The school term has been created."
msgstr ""
#: views.py:146
#: views.py:153
msgid "The school term has been saved."
msgstr ""
#: views.py:291
#: views.py:298
msgid "The child groups were successfully saved."
msgstr ""
#: views.py:329
#: views.py:336
msgid "The person has been saved."
msgstr ""
#: views.py:368
#: views.py:375
msgid "The group has been saved."
msgstr ""
#: views.py:460
#: views.py:467
msgid "The announcement has been saved."
msgstr ""
#: views.py:476
#: views.py:483
msgid "The announcement has been deleted."
msgstr ""
#: views.py:548
#: views.py:562
msgid "The preferences have been saved successfully."
msgstr ""
#: views.py:572
#: views.py:586
msgid "The person has been deleted."
msgstr ""
#: views.py:586
#: views.py:600
msgid "The group has been deleted."
msgstr ""
#: views.py:618
#: views.py:632
msgid "The additional_field has been saved."
msgstr ""
#: views.py:652
#: views.py:666
msgid "The additional field has been deleted."
msgstr ""
#: views.py:677
#: views.py:691
msgid "The group type has been saved."
msgstr ""
#: views.py:707
#: views.py:721
msgid "The group type has been deleted."
msgstr ""
#: views.py:735
#: views.py:749
msgid "The data check has been started. Please note that it may take a while before you are able to fetch the data on this page."
msgstr ""
#: views.py:740
#: views.py:754
msgid "The data check has finished."
msgstr ""
#: views.py:755
#: views.py:769
#, python-brace-format
msgid "The solve option '{solve_option_obj.verbose_name}' "
msgstr ""
#: views.py:797
#: views.py:811
msgid "The dashboard widget has been saved."
msgstr ""
#: views.py:827
#: views.py:841
msgid "The dashboard widget has been created."
msgstr ""
#: views.py:837
#: views.py:851
msgid "The dashboard widget has been deleted."
msgstr ""
#: views.py:888
#: views.py:914
msgid "Your dashboard configuration has been saved successfully."
msgstr ""
#: views.py:916
msgid "The configuration of the default dashboard has been saved successfully."
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -29,3 +29,7 @@ msgstr ""
#: static/js/main.js:17
msgid "OK"
msgstr ""
#: static/js/main.js:118
msgid "This page may contain outdated information since there is no internet connection."
msgstr ""
......@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: AlekSIS (School Information System) 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"PO-Revision-Date: 2020-12-28 20:51+0000\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: 2021-01-11 20:42+0000\n"
"Last-Translator: Jonathan Weth <teckids@jonathanweth.de>\n"
"Language-Team: German <https://translate.edugit.org/projects/aleksis/aleksis/"
"de/>\n"
......@@ -17,7 +17,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"
"X-Generator: Weblate 4.4\n"
#: data_checks.py:53
msgid "Ignore problem"
......@@ -216,7 +216,7 @@ msgstr "Backend-Administration"
msgid "People"
msgstr "Leute"
#: menus.py:185 models.py:803 templates/core/group_type/list.html:8
#: menus.py:185 models.py:812 templates/core/group_type/list.html:8
#: templates/core/group_type/list.html:9
msgid "Group types"
msgstr "Gruppentypen"
......@@ -283,7 +283,7 @@ msgstr "Text (mehrzeilig)"
msgid "URL / Link"
msgstr "URL / Link"
#: models.py:66 models.py:776
#: models.py:66 models.py:785
msgid "Name"
msgstr "Name"
......@@ -303,7 +303,7 @@ msgstr "Das Startdatum muss vor dem Enddatum liegen."
msgid "There is already a school term for this time or a part of this time."
msgstr "Es gibt bereits ein Schuljahr für diesen Zeitraum oder einen Teilzeitraum."
#: models.py:115 models.py:742 templates/core/person/accounts.html:41
#: models.py:115 models.py:744 templates/core/person/accounts.html:41
msgid "Person"
msgstr "Person"
......@@ -403,7 +403,7 @@ msgstr "Erziehungsberechtigte / Eltern"
msgid "Primary group"
msgstr "Primärgruppe"
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:796
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:805
#: templates/core/person/full.html:120
msgid "Description"
msgstr "Beschreibung"
......@@ -434,7 +434,7 @@ msgstr "Kann Kindgruppen zu Gruppen zuordnen"
#: models.py:341
msgid "Can view statistics about group."
msgstr "Kann Statistiken über Gruppen sehen"
msgstr "Kann Statistiken über Gruppen sehen."
#: models.py:352
msgid "Long name"
......@@ -485,7 +485,7 @@ msgstr "Absender"
msgid "Recipient"
msgstr "Empfänger"
#: models.py:486 models.py:777
#: models.py:486 models.py:786
msgid "Link"
msgstr "Link"
......@@ -570,122 +570,130 @@ msgid "> 1200 px>, 12 columns"
msgstr "> 1200 px, 12 Spalten"
#: models.py:734
msgid "Can edit default dashboard"
msgstr "Kann Standarddashboard bearbeiten"
#: models.py:735
msgid "Dashboard Widget"
msgstr "Dashboard-Widget"
#: models.py:735
#: models.py:736
msgid "Dashboard Widgets"
msgstr "Dashboard-Widgets"
#: models.py:740
#: models.py:741
msgid "Dashboard widget"
msgstr "Dashboard-Widget"
#: models.py:743
#: models.py:746
msgid "Order"
msgstr "Reihenfolge"
#: models.py:746
#: models.py:747
msgid "Part of the default dashboard"
msgstr "Teil des Standarddashboards"
#: models.py:755
msgid "Dashboard widget order"
msgstr "Reihenfolge der Dashboard-Widgets"
#: models.py:747
#: models.py:756
msgid "Dashboard widget orders"
msgstr "Reihenfolgen der Dashboard-Widgets"
#: models.py:753
#: models.py:762
msgid "Menu ID"
msgstr "Menü-ID"
#: models.py:766
#: models.py:775
msgid "Custom menu"
msgstr "Benutzerdefiniertes Menü"
#: models.py:767
#: models.py:776
msgid "Custom menus"
msgstr "Benutzerdefinierte Menüs"
#: models.py:774
#: models.py:783
msgid "Menu"
msgstr "Menü"
#: models.py:778
#: models.py:787
msgid "Icon"
msgstr "Icon"
#: models.py:784
#: models.py:793
msgid "Custom menu item"
msgstr "Benutzerdefiniertes Menüelement"
#: models.py:785
#: models.py:794
msgid "Custom menu items"
msgstr "Benutzerdefinierte Menüelemente"
#: models.py:795
#: models.py:804
msgid "Title of type"
msgstr "Titel des Typs"
#: models.py:802 templates/core/group/full.html:47
#: models.py:811 templates/core/group/full.html:47
msgid "Group type"
msgstr "Gruppentyp"
#: models.py:812
#: models.py:821
msgid "Can view system status"
msgstr "Kann Systemstatus sehen"
#: models.py:813
#: models.py:822
msgid "Can link persons to accounts"
msgstr "Kann Personen mit Benutzerkonten verknüpfen"
#: models.py:814
#: models.py:823
msgid "Can manage data"
msgstr "Kann Daten verwalten"
#: models.py:815
#: models.py:824
msgid "Can impersonate"
msgstr "Kann sich verkleiden"
#: models.py:816
#: models.py:825
msgid "Can use search"
msgstr "Kann Suche benutzen"
#: models.py:817
#: models.py:826
msgid "Can change site preferences"
msgstr "Kann Konfiguration ändern"
#: models.py:818
#: models.py:827
msgid "Can change person preferences"
msgstr "Kann Einstellungen einer Person verändern"
#: models.py:819
#: models.py:828
msgid "Can change group preferences"
msgstr "Kann Einstellungen einer Gruppe verändern"
#: models.py:855
#: models.py:864
msgid "Related data check task"
msgstr "Zugehörige Datenprüfungsaufgabe"
#: models.py:863
#: models.py:872
msgid "Issue solved"
msgstr "Problem gelöst"
#: models.py:864
#: models.py:873
msgid "Notification sent"
msgstr "Benachrichtigung gesendet"
#: models.py:877
#: models.py:886
msgid "Data check result"
msgstr "Datenprüfungsergebnis"
#: models.py:878
#: models.py:887
msgid "Data check results"
msgstr "Datenprüfungsergebnisse"
#: models.py:880
#: models.py:889
msgid "Can run data checks"
msgstr "Kann Datenprüfungen ausführen"
#: models.py:881
#: models.py:890
msgid "Can solve data check problems"
msgstr "Kann Datenprüfungsprobleme lösen"
......@@ -978,6 +986,11 @@ msgstr "%(widget)s bearbeiten"
msgid "Create %(name)s"
msgstr "%(name)s erstellen"
#: templates/core/dashboard_widget/list.html:25
#: templates/core/edit_dashboard.html:8 templates/core/edit_dashboard.html:15
msgid "Edit default dashboard"
msgstr "Standard-Dashboard bearbeiten"
#: templates/core/data_check/list.html:15
msgid "Check data again"
msgstr "Daten erneut prüfen"
......@@ -1040,19 +1053,59 @@ msgstr ""
" Das System wird nach folgenden Problemen suchen:\n"
" "
#: templates/core/edit_dashboard.html:4 templates/core/edit_dashboard.html:5
#: templates/core/edit_dashboard.html:6 templates/core/edit_dashboard.html:13
#: templates/core/index.html:14
msgid "Edit dashboard"
msgstr "Dashboard bearbeiten"
#: templates/core/edit_dashboard.html:26
#: templates/core/edit_dashboard.html:24
msgid ""
"\n"
" On this page you can arrange your personal dashboard. You can drag any items from \"Available widgets\" to \"Your\n"
" Dashboard\" or change the order by moving the widgets. After you have finished, please don't forget to click on\n"
" \"Save\".\n"
" "
msgstr ""
"\n"
" Auf dieser Seite können Sie Ihr persönliches Dashboard "
"zusammenstallen. Sie können beliebige Elemente von den \"Verfügbaren "
"Widgets\" \n"
"in \"Ihr Dashboard\" ziehen oder die Reihenfolge verändern, indem Sie die "
"Widgets bewegen. Wenn Sie fertig sind, vergessen Sie bitte nicht, \n"
"auf \"Speichern\" zu drücken.\n"
" "
#: templates/core/edit_dashboard.html:30
msgid ""
"\n"
" On this page you can arrange the default dashboard which is shown when a user doesn't arrange his own\n"
" dashboard. You can drag any items from \"Available widgets\" to \"Default Dashboard\" or change the order\n"
" by moving the widgets. After you have finished, please don't forget to click on \"Save\".\n"
" "
msgstr ""
"\n"
" Auf dieser Seite können Sie Ihr das Standard-Dashboard "
"zusammenstallen, welches angezeigt wird, wenn ein Nutzer kein eigenes "
"definiert. \n"
"Sie können beliebige Elemente von den \"Verfügbaren Widgets\" in \"Standard-"
"Dashboard\" ziehen oder die Reihenfolge verändern, indem Sie die Widgets "
"bewegen. \n"
"Wenn Sie fertig sind, vergessen Sie bitte nicht, auf \"Speichern\" zu "
"drücken.\n"
" "
#: templates/core/edit_dashboard.html:48
msgid "Available widgets"
msgstr "Verfügbare Widgets"
#: templates/core/edit_dashboard.html:33
#: templates/core/edit_dashboard.html:57
msgid "Your dashboard"
msgstr "Ihr Dashboard"
#: templates/core/edit_dashboard.html:59
msgid "Default dashboard"
msgstr "Standard-Dashboard"
#: templates/core/group/child_groups.html:18
msgid ""
"\n"
......@@ -1197,36 +1250,37 @@ msgstr "Gruppentyp erstellen"
msgid "Home"
msgstr "Startseite"
#: templates/core/index.html:49
#: templates/core/index.html:50
msgid ""
"\n"
" You haven't selected any dashboard widgets. Please click on \"Edit dashboard\" to add widgets to your\n"
" personal dashboard.\n"
" "
" You didn't customise your dashboard so that you see the system default. Please click on \"Edit dashboard\" to\n"
" customise your personal dashboard.\n"
" "
msgstr ""
"\n"
" Sie haben keine Dashboard-Widgets ausgewählt. Bitte klicken "
"Sie auf \"Dashboard bearbeiten\",\n"
" um Widgets zu Ihrem persönlichen Dashboard hinzuzufügen.\n"
" "
" Sie haben Ihr Dashboard nicht angepasst, sodass Sie das Standard-"
"Dashboard sehen.\n"
"Bitte klicken Sie auf \"Dashboard bearbeiten\", um Ihr persönliches "
"Dashboard anzupassen.\n"
" "
#: templates/core/index.html:60
#: templates/core/index.html:59
msgid "Last activities"
msgstr "Letzte Aktivitäten"
#: templates/core/index.html:78
#: templates/core/index.html:77
msgid "No activities available yet."
msgstr "Aktuell keine Aktivitäten verfügbar."
#: templates/core/index.html:83
#: templates/core/index.html:82
msgid "Recent notifications"
msgstr "Letzte Benachrichtigungen"
#: templates/core/index.html:99
#: templates/core/index.html:98
msgid "More information →"
msgstr "Mehr Informationen →"
#: templates/core/index.html:106
#: templates/core/index.html:105
msgid "No notifications available yet."
msgstr "Aktuell keine Benachrichtigungen verfügbar."
......@@ -1593,10 +1647,6 @@ msgstr "Einstellungen für %(instance)s"
msgid "Save preferences"
msgstr "Einstellungen speichern"
#: templates/dynamic_preferences/sections.html:7
msgid "All"
msgstr "Alle"
#: templates/impersonate/list_users.html:8
msgid "Impersonate user"
msgstr "Als Benutzer verkleiden"
......@@ -1665,8 +1715,7 @@ msgid ""
msgstr ""
"\n"
" das System hat einige neue Probleme mit Ihren Daten entdeckt.\n"
"Bitte nehmen Sie sich etwas Zeit, diese zu überprüfen und sie zu lösen oder "
"als ignoriert zu markieren.\n"
"Bitte nehmen Sie sich etwas Zeit, diese zu überprüfen und sie zu lösen oder als ignoriert zu markieren.\n"
" "
#: templates/templated_email/data_checks.email:26
......@@ -1678,8 +1727,7 @@ msgid ""
msgstr ""
"\n"
" das System hat einige neue Probleme mit Ihren Daten entdeckt.\n"
"Bitte nehmen Sie sich etwas Zeit, diese zu überprüfen und sie zu lösen oder "
"als ignoriert zu markieren.\n"
"Bitte nehmen Sie sich etwas Zeit, diese zu überprüfen und sie zu lösen oder als ignoriert zu markieren.\n"
" "
#: templates/templated_email/data_checks.email:34
......@@ -2172,93 +2220,99 @@ msgstr "E-Mail"
msgid "SMS"
msgstr "SMS"
#: views.py:134
#: views.py:141
msgid "The school term has been created."
msgstr "Das Schuljahr wurde erstellt."
#: views.py:146
#: views.py:153
msgid "The school term has been saved."
msgstr "Das Schuljahr wurde gespeichert."
#: views.py:291
#: views.py:298
msgid "The child groups were successfully saved."
msgstr "Die Untergruppen wurden gespeichert."
#: views.py:329
#: views.py:336
msgid "The person has been saved."
msgstr "Die Person wurde gespeichert."
#: views.py:368
#: views.py:375
msgid "The group has been saved."
msgstr "Die Gruppe wurde gespeichert."
#: views.py:460
#: views.py:467
msgid "The announcement has been saved."
msgstr "Die Ankündigung wurde gespeichert."
#: views.py:476
#: views.py:483
msgid "The announcement has been deleted."
msgstr "Ankündigung wurde gelöscht."
#: views.py:548
#: views.py:562
msgid "The preferences have been saved successfully."
msgstr "Die Einstellungen wurde gespeichert."
#: views.py:572
#: views.py:586
msgid "The person has been deleted."
msgstr "Die Person wurde gelöscht."
#: views.py:586
#: views.py:600
msgid "The group has been deleted."
msgstr "Die Gruppe wurde gelöscht."
#: views.py:618
#: views.py:632
msgid "The additional_field has been saved."
msgstr "Das zusätzliche Feld wurde gespeichert."
#: views.py:652
#: views.py:666
msgid "The additional field has been deleted."
msgstr "Das zusätzliche Feld wurde gelöscht."
#: views.py:677
#: views.py:691
msgid "The group type has been saved."
msgstr "Der Gruppentyp wurde gespeichert."
#: views.py:707
#: views.py:721
msgid "The group type has been deleted."
msgstr "Der Gruppentyp wurde gelöscht."
#: views.py:735
#: views.py:749
msgid "The data check has been started. Please note that it may take a while before you are able to fetch the data on this page."
msgstr ""
"Die Datenüberprüfung wurde gestartet. Bitte beachten Sie, dass es eine Weile "
"dauern kann, bevor Sie auf dieser Seite Ergebnisse abrufen können."
msgstr "Die Datenüberprüfung wurde gestartet. Bitte beachten Sie, dass es eine Weile dauern kann, bevor Sie auf dieser Seite Ergebnisse abrufen können."
#: views.py:740
#: views.py:754
msgid "The data check has finished."
msgstr "Die Datenüberprüfung wurde beendet."
#: views.py:755
#: views.py:769
#, python-brace-format
msgid "The solve option '{solve_option_obj.verbose_name}' "
msgstr "Die Lösungsoption \"{solve_option_obj.verbose_name}\" "
#: views.py:797
#: views.py:811
msgid "The dashboard widget has been saved."
msgstr "Das Dashboard-Widget wurde gespeichert."
#: views.py:827
#: views.py:841
msgid "The dashboard widget has been created."
msgstr "Das Dashboard-Widget wurde erstellt."
#: views.py:837
#: views.py:851
msgid "The dashboard widget has been deleted."
msgstr "Das Dashboard-Widget wurde gelöscht."
#: views.py:888
#: views.py:914
msgid "Your dashboard configuration has been saved successfully."
msgstr "Ihre Dashboardkonfiguration wurde erfolgreich gespeichert."
#: views.py:916
msgid "The configuration of the default dashboard has been saved successfully."
msgstr ""
"Die Konfiguration des Standard-Dashboardes wurde erfolgreich gespeichert."
#~ msgid "All"
#~ msgstr "Alle"
#~ msgid ""
#~ "\n"
#~ " Created by %(person)s\n"
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -28,3 +28,7 @@ msgstr ""
#: static/js/main.js:17
msgid "OK"
msgstr ""
#: static/js/main.js:118
msgid "This page may contain outdated information since there is no internet connection."
msgstr ""
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: AlekSIS (School Information System) 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: 2020-04-27 13:03+0000\n"
"Last-Translator: Marlene Grundey <grundema@katharineum.de>\n"
"Language-Team: French <https://translate.edugit.org/projects/aleksis/aleksis/fr/>\n"
......@@ -229,7 +229,7 @@ msgstr ""
msgid "People"
msgstr ""
#: menus.py:185 models.py:803 templates/core/group_type/list.html:8
#: menus.py:185 models.py:812 templates/core/group_type/list.html:8
#: templates/core/group_type/list.html:9
#, fuzzy
#| msgid "Group"
......@@ -298,7 +298,7 @@ msgstr ""
msgid "URL / Link"
msgstr ""
#: models.py:66 models.py:776
#: models.py:66 models.py:785
msgid "Name"
msgstr ""
......@@ -320,7 +320,7 @@ msgstr ""
msgid "There is already a school term for this time or a part of this time."
msgstr ""
#: models.py:115 models.py:742 templates/core/person/accounts.html:41
#: models.py:115 models.py:744 templates/core/person/accounts.html:41
msgid "Person"
msgstr "Personne"
......@@ -432,7 +432,7 @@ msgstr ""
msgid "Primary group"
msgstr ""
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:796
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:805
#: templates/core/person/full.html:120
msgid "Description"
msgstr "Description"
......@@ -518,7 +518,7 @@ msgstr ""
msgid "Recipient"
msgstr ""
#: models.py:486 models.py:777
#: models.py:486 models.py:786
msgid "Link"
msgstr ""
......@@ -603,130 +603,138 @@ msgid "> 1200 px>, 12 columns"
msgstr ""
#: models.py:734
msgid "Dashboard Widget"
msgid "Can edit default dashboard"
msgstr ""
#: models.py:735
msgid "Dashboard Widget"
msgstr ""
#: models.py:736
msgid "Dashboard Widgets"
msgstr ""
#: models.py:740
#: models.py:741
msgid "Dashboard widget"
msgstr ""
#: models.py:743
#: models.py:746
msgid "Order"
msgstr ""
#: models.py:746
#: models.py:747
msgid "Part of the default dashboard"
msgstr ""
#: models.py:755
msgid "Dashboard widget order"
msgstr ""
#: models.py:747
#: models.py:756
msgid "Dashboard widget orders"
msgstr ""
#: models.py:753
#: models.py:762
msgid "Menu ID"
msgstr ""
#: models.py:766
#: models.py:775
msgid "Custom menu"
msgstr ""
#: models.py:767
#: models.py:776
msgid "Custom menus"
msgstr ""
#: models.py:774
#: models.py:783
msgid "Menu"
msgstr ""
#: models.py:778
#: models.py:787
msgid "Icon"
msgstr ""
#: models.py:784
#: models.py:793
msgid "Custom menu item"
msgstr ""
#: models.py:785
#: models.py:794
msgid "Custom menu items"
msgstr ""
#: models.py:795
#: models.py:804
msgid "Title of type"
msgstr ""
#: models.py:802 templates/core/group/full.html:47
#: models.py:811 templates/core/group/full.html:47
#, fuzzy
#| msgid "Group"
msgid "Group type"
msgstr "Groupe"
#: models.py:812
#: models.py:821
#, fuzzy
#| msgid "Contact details"
msgid "Can view system status"
msgstr "Détails de contact"
#: models.py:813
#: models.py:822
#, fuzzy
#| msgid "Contact details"
msgid "Can link persons to accounts"
msgstr "Détails de contact"
#: models.py:814
#: models.py:823
msgid "Can manage data"
msgstr ""
#: models.py:815
#: models.py:824
#, fuzzy
#| msgid "Contact details"
msgid "Can impersonate"
msgstr "Détails de contact"
#: models.py:816
#: models.py:825
msgid "Can use search"
msgstr ""
#: models.py:817
#: models.py:826
msgid "Can change site preferences"
msgstr ""
#: models.py:818
#: models.py:827
msgid "Can change person preferences"
msgstr ""
#: models.py:819
#: models.py:828
msgid "Can change group preferences"
msgstr ""
#: models.py:855
#: models.py:864
msgid "Related data check task"
msgstr ""
#: models.py:863
#: models.py:872
msgid "Issue solved"
msgstr ""
#: models.py:864
#: models.py:873
msgid "Notification sent"
msgstr ""
#: models.py:877
#: models.py:886
msgid "Data check result"
msgstr ""
#: models.py:878
#: models.py:887
msgid "Data check results"
msgstr ""
#: models.py:880
#: models.py:889
msgid "Can run data checks"
msgstr ""
#: models.py:881
#: models.py:890
msgid "Can solve data check problems"
msgstr ""
......@@ -1002,6 +1010,11 @@ msgstr ""
msgid "Create %(name)s"
msgstr "Détails de contact"
#: templates/core/dashboard_widget/list.html:25
#: templates/core/edit_dashboard.html:8 templates/core/edit_dashboard.html:15
msgid "Edit default dashboard"
msgstr ""
#: templates/core/data_check/list.html:15
msgid "Check data again"
msgstr ""
......@@ -1061,19 +1074,41 @@ msgid ""
" "
msgstr ""
#: templates/core/edit_dashboard.html:4 templates/core/edit_dashboard.html:5
#: templates/core/edit_dashboard.html:6 templates/core/edit_dashboard.html:13
#: templates/core/index.html:14
msgid "Edit dashboard"
msgstr ""
#: templates/core/edit_dashboard.html:26
#: templates/core/edit_dashboard.html:24
msgid ""
"\n"
" On this page you can arrange your personal dashboard. You can drag any items from \"Available widgets\" to \"Your\n"
" Dashboard\" or change the order by moving the widgets. After you have finished, please don't forget to click on\n"
" \"Save\".\n"
" "
msgstr ""
#: templates/core/edit_dashboard.html:30
msgid ""
"\n"
" On this page you can arrange the default dashboard which is shown when a user doesn't arrange his own\n"
" dashboard. You can drag any items from \"Available widgets\" to \"Default Dashboard\" or change the order\n"
" by moving the widgets. After you have finished, please don't forget to click on \"Save\".\n"
" "
msgstr ""
#: templates/core/edit_dashboard.html:48
msgid "Available widgets"
msgstr ""
#: templates/core/edit_dashboard.html:33
#: templates/core/edit_dashboard.html:57
msgid "Your dashboard"
msgstr ""
#: templates/core/edit_dashboard.html:59
msgid "Default dashboard"
msgstr ""
#: templates/core/group/child_groups.html:18
msgid ""
"\n"
......@@ -1210,31 +1245,31 @@ msgstr "Groupe"
msgid "Home"
msgstr ""
#: templates/core/index.html:49
#: templates/core/index.html:50
msgid ""
"\n"
" You haven't selected any dashboard widgets. Please click on \"Edit dashboard\" to add widgets to your\n"
" personal dashboard.\n"
" "
" You didn't customise your dashboard so that you see the system default. Please click on \"Edit dashboard\" to\n"
" customise your personal dashboard.\n"
" "
msgstr ""
#: templates/core/index.html:60
#: templates/core/index.html:59
msgid "Last activities"
msgstr ""
#: templates/core/index.html:78
#: templates/core/index.html:77
msgid "No activities available yet."
msgstr ""
#: templates/core/index.html:83
#: templates/core/index.html:82
msgid "Recent notifications"
msgstr ""
#: templates/core/index.html:99
#: templates/core/index.html:98
msgid "More information →"
msgstr ""
#: templates/core/index.html:106
#: templates/core/index.html:105
msgid "No notifications available yet."
msgstr ""
......@@ -1555,10 +1590,6 @@ msgstr ""
msgid "Save preferences"
msgstr ""
#: templates/dynamic_preferences/sections.html:7
msgid "All"
msgstr ""
#: templates/impersonate/list_users.html:8
msgid "Impersonate user"
msgstr ""
......@@ -2019,87 +2050,91 @@ msgstr ""
msgid "SMS"
msgstr ""
#: views.py:134
#: views.py:141
msgid "The school term has been created."
msgstr ""
#: views.py:146
#: views.py:153
msgid "The school term has been saved."
msgstr ""
#: views.py:291
#: views.py:298
msgid "The child groups were successfully saved."
msgstr ""
#: views.py:329
#: views.py:336
msgid "The person has been saved."
msgstr ""
#: views.py:368
#: views.py:375
msgid "The group has been saved."
msgstr ""
#: views.py:460
#: views.py:467
msgid "The announcement has been saved."
msgstr ""
#: views.py:476
#: views.py:483
msgid "The announcement has been deleted."
msgstr ""
#: views.py:548
#: views.py:562
msgid "The preferences have been saved successfully."
msgstr ""
#: views.py:572
#: views.py:586
msgid "The person has been deleted."
msgstr ""
#: views.py:586
#: views.py:600
msgid "The group has been deleted."
msgstr ""
#: views.py:618
#: views.py:632
msgid "The additional_field has been saved."
msgstr ""
#: views.py:652
#: views.py:666
msgid "The additional field has been deleted."
msgstr ""
#: views.py:677
#: views.py:691
msgid "The group type has been saved."
msgstr ""
#: views.py:707
#: views.py:721
msgid "The group type has been deleted."
msgstr ""
#: views.py:735
#: views.py:749
msgid "The data check has been started. Please note that it may take a while before you are able to fetch the data on this page."
msgstr ""
#: views.py:740
#: views.py:754
msgid "The data check has finished."
msgstr ""
#: views.py:755
#: views.py:769
#, python-brace-format
msgid "The solve option '{solve_option_obj.verbose_name}' "
msgstr ""
#: views.py:797
#: views.py:811
msgid "The dashboard widget has been saved."
msgstr ""
#: views.py:827
#: views.py:841
msgid "The dashboard widget has been created."
msgstr ""
#: views.py:837
#: views.py:851
msgid "The dashboard widget has been deleted."
msgstr ""
#: views.py:888
#: views.py:914
msgid "Your dashboard configuration has been saved successfully."
msgstr ""
#: views.py:916
msgid "The configuration of the default dashboard has been saved successfully."
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -29,3 +29,7 @@ msgstr ""
#: static/js/main.js:17
msgid "OK"
msgstr ""
#: static/js/main.js:118
msgid "This page may contain outdated information since there is no internet connection."
msgstr ""
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: 2020-12-19 12:57+0000\n"
"Last-Translator: Julian <leuckerj@gmail.com>\n"
"Language-Team: Latin <https://translate.edugit.org/projects/aleksis/aleksis/la/>\n"
......@@ -233,7 +233,7 @@ msgstr ""
msgid "People"
msgstr "Personae"
#: menus.py:185 models.py:803 templates/core/group_type/list.html:8
#: menus.py:185 models.py:812 templates/core/group_type/list.html:8
#: templates/core/group_type/list.html:9
#, fuzzy
#| msgid "Groups"
......@@ -308,7 +308,7 @@ msgstr ""
msgid "URL / Link"
msgstr ""
#: models.py:66 models.py:776
#: models.py:66 models.py:785
msgid "Name"
msgstr "Nomen"
......@@ -328,7 +328,7 @@ msgstr ""
msgid "There is already a school term for this time or a part of this time."
msgstr ""
#: models.py:115 models.py:742 templates/core/person/accounts.html:41
#: models.py:115 models.py:744 templates/core/person/accounts.html:41
msgid "Person"
msgstr "Persona"
......@@ -440,7 +440,7 @@ msgstr "Parentes"
msgid "Primary group"
msgstr ""
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:796
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:805
#: templates/core/person/full.html:120
msgid "Description"
msgstr "Descriptio"
......@@ -530,7 +530,7 @@ msgstr "Mittens"
msgid "Recipient"
msgstr ""
#: models.py:486 models.py:777
#: models.py:486 models.py:786
msgid "Link"
msgstr ""
......@@ -627,142 +627,152 @@ msgstr ""
#: models.py:734
#, fuzzy
#| msgid "Dashboard"
msgid "Dashboard Widget"
msgid "Can edit default dashboard"
msgstr "Forum"
#: models.py:735
#, fuzzy
#| msgid "Dashboard"
msgid "Dashboard Widget"
msgstr "Forum"
#: models.py:736
#, fuzzy
#| msgid "Dashboard"
msgid "Dashboard Widgets"
msgstr "Forum"
#: models.py:740
#: models.py:741
#, fuzzy
#| msgid "Dashboard"
msgid "Dashboard widget"
msgstr "Forum"
#: models.py:743
#: models.py:746
msgid "Order"
msgstr ""
#: models.py:746
#: models.py:747
msgid "Part of the default dashboard"
msgstr ""
#: models.py:755
#, fuzzy
#| msgid "Dashboard"
msgid "Dashboard widget order"
msgstr "Forum"
#: models.py:747
#: models.py:756
#, fuzzy
#| msgid "Dashboard"
msgid "Dashboard widget orders"
msgstr "Forum"
#: models.py:753
#: models.py:762
msgid "Menu ID"
msgstr ""
#: models.py:766
#: models.py:775
msgid "Custom menu"
msgstr ""
#: models.py:767
#: models.py:776
msgid "Custom menus"
msgstr ""
#: models.py:774
#: models.py:783
msgid "Menu"
msgstr ""
#: models.py:778
#: models.py:787
msgid "Icon"
msgstr "Nota"
#: models.py:784
#: models.py:793
msgid "Custom menu item"
msgstr ""
#: models.py:785
#: models.py:794
msgid "Custom menu items"
msgstr ""
#: models.py:795
#: models.py:804
msgid "Title of type"
msgstr ""
#: models.py:802 templates/core/group/full.html:47
#: models.py:811 templates/core/group/full.html:47
#, fuzzy
#| msgid "Group"
msgid "Group type"
msgstr "Grex"
#: models.py:812
#: models.py:821
#, fuzzy
#| msgid "System status"
msgid "Can view system status"
msgstr "Status systemae"
#: models.py:813
#: models.py:822
#, fuzzy
#| msgid "Persons and accounts"
msgid "Can link persons to accounts"
msgstr "Personae et computi"
#: models.py:814
#: models.py:823
#, fuzzy
#| msgid "Data management"
msgid "Can manage data"
msgstr "Adminstratio datarum"
#: models.py:815
#: models.py:824
#, fuzzy
#| msgid "Stop impersonation"
msgid "Can impersonate"
msgstr "Simulandum aliquem finire"
#: models.py:816
#: models.py:825
msgid "Can use search"
msgstr ""
#: models.py:817
#: models.py:826
msgid "Can change site preferences"
msgstr ""
#: models.py:818
#: models.py:827
msgid "Can change person preferences"
msgstr ""
#: models.py:819
#: models.py:828
msgid "Can change group preferences"
msgstr ""
#: models.py:855
#: models.py:864
msgid "Related data check task"
msgstr ""
#: models.py:863
#: models.py:872
msgid "Issue solved"
msgstr ""
#: models.py:864
#: models.py:873
#, fuzzy
#| msgid "Notifications"
msgid "Notification sent"
msgstr "Nuntii"
#: models.py:877
#: models.py:886
msgid "Data check result"
msgstr ""
#: models.py:878
#: models.py:887
msgid "Data check results"
msgstr ""
#: models.py:880
#: models.py:889
msgid "Can run data checks"
msgstr ""
#: models.py:881
#: models.py:890
msgid "Can solve data check problems"
msgstr ""
......@@ -1062,6 +1072,13 @@ msgstr ""
msgid "Create %(name)s"
msgstr "Simulandum aliquem finire"
#: templates/core/dashboard_widget/list.html:25
#: templates/core/edit_dashboard.html:8 templates/core/edit_dashboard.html:15
#, fuzzy
#| msgid "Dashboard"
msgid "Edit default dashboard"
msgstr "Forum"
#: templates/core/data_check/list.html:15
msgid "Check data again"
msgstr ""
......@@ -1121,23 +1138,47 @@ msgid ""
" "
msgstr ""
#: templates/core/edit_dashboard.html:4 templates/core/edit_dashboard.html:5
#: templates/core/edit_dashboard.html:6 templates/core/edit_dashboard.html:13
#: templates/core/index.html:14
#, fuzzy
#| msgid "Dashboard"
msgid "Edit dashboard"
msgstr "Forum"
#: templates/core/edit_dashboard.html:26
#: templates/core/edit_dashboard.html:24
msgid ""
"\n"
" On this page you can arrange your personal dashboard. You can drag any items from \"Available widgets\" to \"Your\n"
" Dashboard\" or change the order by moving the widgets. After you have finished, please don't forget to click on\n"
" \"Save\".\n"
" "
msgstr ""
#: templates/core/edit_dashboard.html:30
msgid ""
"\n"
" On this page you can arrange the default dashboard which is shown when a user doesn't arrange his own\n"
" dashboard. You can drag any items from \"Available widgets\" to \"Default Dashboard\" or change the order\n"
" by moving the widgets. After you have finished, please don't forget to click on \"Save\".\n"
" "
msgstr ""
#: templates/core/edit_dashboard.html:48
msgid "Available widgets"
msgstr ""
#: templates/core/edit_dashboard.html:33
#: templates/core/edit_dashboard.html:57
#, fuzzy
#| msgid "Dashboard"
msgid "Your dashboard"
msgstr "Forum"
#: templates/core/edit_dashboard.html:59
#, fuzzy
#| msgid "Dashboard"
msgid "Default dashboard"
msgstr "Forum"
#: templates/core/group/child_groups.html:18
msgid ""
"\n"
......@@ -1276,35 +1317,35 @@ msgstr "Grex"
msgid "Home"
msgstr ""
#: templates/core/index.html:49
#: templates/core/index.html:50
msgid ""
"\n"
" You haven't selected any dashboard widgets. Please click on \"Edit dashboard\" to add widgets to your\n"
" personal dashboard.\n"
" "
" You didn't customise your dashboard so that you see the system default. Please click on \"Edit dashboard\" to\n"
" customise your personal dashboard.\n"
" "
msgstr ""
#: templates/core/index.html:60
#: templates/core/index.html:59
msgid "Last activities"
msgstr ""
#: templates/core/index.html:78
#: templates/core/index.html:77
msgid "No activities available yet."
msgstr ""
#: templates/core/index.html:83
#: templates/core/index.html:82
#, fuzzy
#| msgid "Notifications"
msgid "Recent notifications"
msgstr "Nuntii"
#: templates/core/index.html:99
#: templates/core/index.html:98
#, fuzzy
#| msgid "Edit school information"
msgid "More information →"
msgstr "Muta informationes scolae"
#: templates/core/index.html:106
#: templates/core/index.html:105
msgid "No notifications available yet."
msgstr ""
......@@ -1639,10 +1680,6 @@ msgstr ""
msgid "Save preferences"
msgstr ""
#: templates/dynamic_preferences/sections.html:7
msgid "All"
msgstr ""
#: templates/impersonate/list_users.html:8
#, fuzzy
#| msgid "Impersonation"
......@@ -2112,91 +2149,95 @@ msgstr ""
msgid "SMS"
msgstr ""
#: views.py:134
#: views.py:141
msgid "The school term has been created."
msgstr ""
#: views.py:146
#: views.py:153
msgid "The school term has been saved."
msgstr ""
#: views.py:291
#: views.py:298
msgid "The child groups were successfully saved."
msgstr ""
#: views.py:329
#: views.py:336
msgid "The person has been saved."
msgstr ""
#: views.py:368
#: views.py:375
msgid "The group has been saved."
msgstr ""
#: views.py:460
#: views.py:467
msgid "The announcement has been saved."
msgstr ""
#: views.py:476
#: views.py:483
msgid "The announcement has been deleted."
msgstr ""
#: views.py:548
#: views.py:562
msgid "The preferences have been saved successfully."
msgstr ""
#: views.py:572
#: views.py:586
msgid "The person has been deleted."
msgstr ""
#: views.py:586
#: views.py:600
msgid "The group has been deleted."
msgstr ""
#: views.py:618
#: views.py:632
msgid "The additional_field has been saved."
msgstr ""
#: views.py:652
#: views.py:666
msgid "The additional field has been deleted."
msgstr ""
#: views.py:677
#: views.py:691
msgid "The group type has been saved."
msgstr ""
#: views.py:707
#: views.py:721
msgid "The group type has been deleted."
msgstr ""
#: views.py:735
#: views.py:749
msgid "The data check has been started. Please note that it may take a while before you are able to fetch the data on this page."
msgstr ""
#: views.py:740
#: views.py:754
msgid "The data check has finished."
msgstr ""
#: views.py:755
#: views.py:769
#, python-brace-format
msgid "The solve option '{solve_option_obj.verbose_name}' "
msgstr ""
#: views.py:797
#: views.py:811
msgid "The dashboard widget has been saved."
msgstr ""
#: views.py:827
#: views.py:841
msgid "The dashboard widget has been created."
msgstr ""
#: views.py:837
#: views.py:851
msgid "The dashboard widget has been deleted."
msgstr ""
#: views.py:888
#: views.py:914
msgid "Your dashboard configuration has been saved successfully."
msgstr ""
#: views.py:916
msgid "The configuration of the default dashboard has been saved successfully."
msgstr ""
#~ msgid "School logo"
#~ msgstr "Imago scolae"
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -28,3 +28,7 @@ msgstr ""
#: static/js/main.js:17
msgid "OK"
msgstr ""
#: static/js/main.js:118
msgid "This page may contain outdated information since there is no internet connection."
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: AlekSIS (School Information System) 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -214,7 +214,7 @@ msgstr ""
msgid "People"
msgstr ""
#: menus.py:185 models.py:803 templates/core/group_type/list.html:8
#: menus.py:185 models.py:812 templates/core/group_type/list.html:8
#: templates/core/group_type/list.html:9
msgid "Group types"
msgstr ""
......@@ -281,7 +281,7 @@ msgstr ""
msgid "URL / Link"
msgstr ""
#: models.py:66 models.py:776
#: models.py:66 models.py:785
msgid "Name"
msgstr ""
......@@ -301,7 +301,7 @@ msgstr ""
msgid "There is already a school term for this time or a part of this time."
msgstr ""
#: models.py:115 models.py:742 templates/core/person/accounts.html:41
#: models.py:115 models.py:744 templates/core/person/accounts.html:41
msgid "Person"
msgstr ""
......@@ -401,7 +401,7 @@ msgstr ""
msgid "Primary group"
msgstr ""
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:796
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:805
#: templates/core/person/full.html:120
msgid "Description"
msgstr ""
......@@ -483,7 +483,7 @@ msgstr ""
msgid "Recipient"
msgstr ""
#: models.py:486 models.py:777
#: models.py:486 models.py:786
msgid "Link"
msgstr ""
......@@ -568,122 +568,130 @@ msgid "> 1200 px>, 12 columns"
msgstr ""
#: models.py:734
msgid "Dashboard Widget"
msgid "Can edit default dashboard"
msgstr ""
#: models.py:735
msgid "Dashboard Widget"
msgstr ""
#: models.py:736
msgid "Dashboard Widgets"
msgstr ""
#: models.py:740
#: models.py:741
msgid "Dashboard widget"
msgstr ""
#: models.py:743
#: models.py:746
msgid "Order"
msgstr ""
#: models.py:746
#: models.py:747
msgid "Part of the default dashboard"
msgstr ""
#: models.py:755
msgid "Dashboard widget order"
msgstr ""
#: models.py:747
#: models.py:756
msgid "Dashboard widget orders"
msgstr ""
#: models.py:753
#: models.py:762
msgid "Menu ID"
msgstr ""
#: models.py:766
#: models.py:775
msgid "Custom menu"
msgstr ""
#: models.py:767
#: models.py:776
msgid "Custom menus"
msgstr ""
#: models.py:774
#: models.py:783
msgid "Menu"
msgstr ""
#: models.py:778
#: models.py:787
msgid "Icon"
msgstr ""
#: models.py:784
#: models.py:793
msgid "Custom menu item"
msgstr ""
#: models.py:785
#: models.py:794
msgid "Custom menu items"
msgstr ""
#: models.py:795
#: models.py:804
msgid "Title of type"
msgstr ""
#: models.py:802 templates/core/group/full.html:47
#: models.py:811 templates/core/group/full.html:47
msgid "Group type"
msgstr ""
#: models.py:812
#: models.py:821
msgid "Can view system status"
msgstr ""
#: models.py:813
#: models.py:822
msgid "Can link persons to accounts"
msgstr ""
#: models.py:814
#: models.py:823
msgid "Can manage data"
msgstr ""
#: models.py:815
#: models.py:824
msgid "Can impersonate"
msgstr ""
#: models.py:816
#: models.py:825
msgid "Can use search"
msgstr ""
#: models.py:817
#: models.py:826
msgid "Can change site preferences"
msgstr ""
#: models.py:818
#: models.py:827
msgid "Can change person preferences"
msgstr ""
#: models.py:819
#: models.py:828
msgid "Can change group preferences"
msgstr ""
#: models.py:855
#: models.py:864
msgid "Related data check task"
msgstr ""
#: models.py:863
#: models.py:872
msgid "Issue solved"
msgstr ""
#: models.py:864
#: models.py:873
msgid "Notification sent"
msgstr ""
#: models.py:877
#: models.py:886
msgid "Data check result"
msgstr ""
#: models.py:878
#: models.py:887
msgid "Data check results"
msgstr ""
#: models.py:880
#: models.py:889
msgid "Can run data checks"
msgstr ""
#: models.py:881
#: models.py:890
msgid "Can solve data check problems"
msgstr ""
......@@ -953,6 +961,11 @@ msgstr ""
msgid "Create %(name)s"
msgstr ""
#: templates/core/dashboard_widget/list.html:25
#: templates/core/edit_dashboard.html:8 templates/core/edit_dashboard.html:15
msgid "Edit default dashboard"
msgstr ""
#: templates/core/data_check/list.html:15
msgid "Check data again"
msgstr ""
......@@ -1010,19 +1023,41 @@ msgid ""
" "
msgstr ""
#: templates/core/edit_dashboard.html:4 templates/core/edit_dashboard.html:5
#: templates/core/edit_dashboard.html:6 templates/core/edit_dashboard.html:13
#: templates/core/index.html:14
msgid "Edit dashboard"
msgstr ""
#: templates/core/edit_dashboard.html:26
#: templates/core/edit_dashboard.html:24
msgid ""
"\n"
" On this page you can arrange your personal dashboard. You can drag any items from \"Available widgets\" to \"Your\n"
" Dashboard\" or change the order by moving the widgets. After you have finished, please don't forget to click on\n"
" \"Save\".\n"
" "
msgstr ""
#: templates/core/edit_dashboard.html:30
msgid ""
"\n"
" On this page you can arrange the default dashboard which is shown when a user doesn't arrange his own\n"
" dashboard. You can drag any items from \"Available widgets\" to \"Default Dashboard\" or change the order\n"
" by moving the widgets. After you have finished, please don't forget to click on \"Save\".\n"
" "
msgstr ""
#: templates/core/edit_dashboard.html:48
msgid "Available widgets"
msgstr ""
#: templates/core/edit_dashboard.html:33
#: templates/core/edit_dashboard.html:57
msgid "Your dashboard"
msgstr ""
#: templates/core/edit_dashboard.html:59
msgid "Default dashboard"
msgstr ""
#: templates/core/group/child_groups.html:18
msgid ""
"\n"
......@@ -1155,31 +1190,31 @@ msgstr ""
msgid "Home"
msgstr ""
#: templates/core/index.html:49
#: templates/core/index.html:50
msgid ""
"\n"
" You haven't selected any dashboard widgets. Please click on \"Edit dashboard\" to add widgets to your\n"
" personal dashboard.\n"
" "
" You didn't customise your dashboard so that you see the system default. Please click on \"Edit dashboard\" to\n"
" customise your personal dashboard.\n"
" "
msgstr ""
#: templates/core/index.html:60
#: templates/core/index.html:59
msgid "Last activities"
msgstr ""
#: templates/core/index.html:78
#: templates/core/index.html:77
msgid "No activities available yet."
msgstr ""
#: templates/core/index.html:83
#: templates/core/index.html:82
msgid "Recent notifications"
msgstr ""
#: templates/core/index.html:99
#: templates/core/index.html:98
msgid "More information →"
msgstr ""
#: templates/core/index.html:106
#: templates/core/index.html:105
msgid "No notifications available yet."
msgstr ""
......@@ -1494,10 +1529,6 @@ msgstr ""
msgid "Save preferences"
msgstr ""
#: templates/dynamic_preferences/sections.html:7
msgid "All"
msgstr ""
#: templates/impersonate/list_users.html:8
msgid "Impersonate user"
msgstr ""
......@@ -1956,87 +1987,91 @@ msgstr ""
msgid "SMS"
msgstr ""
#: views.py:134
#: views.py:141
msgid "The school term has been created."
msgstr ""
#: views.py:146
#: views.py:153
msgid "The school term has been saved."
msgstr ""
#: views.py:291
#: views.py:298
msgid "The child groups were successfully saved."
msgstr ""
#: views.py:329
#: views.py:336
msgid "The person has been saved."
msgstr ""
#: views.py:368
#: views.py:375
msgid "The group has been saved."
msgstr ""
#: views.py:460
#: views.py:467
msgid "The announcement has been saved."
msgstr ""
#: views.py:476
#: views.py:483
msgid "The announcement has been deleted."
msgstr ""
#: views.py:548
#: views.py:562
msgid "The preferences have been saved successfully."
msgstr ""
#: views.py:572
#: views.py:586
msgid "The person has been deleted."
msgstr ""
#: views.py:586
#: views.py:600
msgid "The group has been deleted."
msgstr ""
#: views.py:618
#: views.py:632
msgid "The additional_field has been saved."
msgstr ""
#: views.py:652
#: views.py:666
msgid "The additional field has been deleted."
msgstr ""
#: views.py:677
#: views.py:691
msgid "The group type has been saved."
msgstr ""
#: views.py:707
#: views.py:721
msgid "The group type has been deleted."
msgstr ""
#: views.py:735
#: views.py:749
msgid "The data check has been started. Please note that it may take a while before you are able to fetch the data on this page."
msgstr ""
#: views.py:740
#: views.py:754
msgid "The data check has finished."
msgstr ""
#: views.py:755
#: views.py:769
#, python-brace-format
msgid "The solve option '{solve_option_obj.verbose_name}' "
msgstr ""
#: views.py:797
#: views.py:811
msgid "The dashboard widget has been saved."
msgstr ""
#: views.py:827
#: views.py:841
msgid "The dashboard widget has been created."
msgstr ""
#: views.py:837
#: views.py:851
msgid "The dashboard widget has been deleted."
msgstr ""
#: views.py:888
#: views.py:914
msgid "Your dashboard configuration has been saved successfully."
msgstr ""
#: views.py:916
msgid "The configuration of the default dashboard has been saved successfully."
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -28,3 +28,7 @@ msgstr ""
#: static/js/main.js:17
msgid "OK"
msgstr ""
#: static/js/main.js:118
msgid "This page may contain outdated information since there is no internet connection."
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: AlekSIS (School Information System) 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -214,7 +214,7 @@ msgstr ""
msgid "People"
msgstr ""
#: menus.py:185 models.py:803 templates/core/group_type/list.html:8
#: menus.py:185 models.py:812 templates/core/group_type/list.html:8
#: templates/core/group_type/list.html:9
msgid "Group types"
msgstr ""
......@@ -281,7 +281,7 @@ msgstr ""
msgid "URL / Link"
msgstr ""
#: models.py:66 models.py:776
#: models.py:66 models.py:785
msgid "Name"
msgstr ""
......@@ -301,7 +301,7 @@ msgstr ""
msgid "There is already a school term for this time or a part of this time."
msgstr ""
#: models.py:115 models.py:742 templates/core/person/accounts.html:41
#: models.py:115 models.py:744 templates/core/person/accounts.html:41
msgid "Person"
msgstr ""
......@@ -401,7 +401,7 @@ msgstr ""
msgid "Primary group"
msgstr ""
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:796
#: models.py:176 models.py:461 models.py:485 models.py:570 models.py:805
#: templates/core/person/full.html:120
msgid "Description"
msgstr ""
......@@ -483,7 +483,7 @@ msgstr ""
msgid "Recipient"
msgstr ""
#: models.py:486 models.py:777
#: models.py:486 models.py:786
msgid "Link"
msgstr ""
......@@ -568,122 +568,130 @@ msgid "> 1200 px>, 12 columns"
msgstr ""
#: models.py:734
msgid "Dashboard Widget"
msgid "Can edit default dashboard"
msgstr ""
#: models.py:735
msgid "Dashboard Widget"
msgstr ""
#: models.py:736
msgid "Dashboard Widgets"
msgstr ""
#: models.py:740
#: models.py:741
msgid "Dashboard widget"
msgstr ""
#: models.py:743
#: models.py:746
msgid "Order"
msgstr ""
#: models.py:746
#: models.py:747
msgid "Part of the default dashboard"
msgstr ""
#: models.py:755
msgid "Dashboard widget order"
msgstr ""
#: models.py:747
#: models.py:756
msgid "Dashboard widget orders"
msgstr ""
#: models.py:753
#: models.py:762
msgid "Menu ID"
msgstr ""
#: models.py:766
#: models.py:775
msgid "Custom menu"
msgstr ""
#: models.py:767
#: models.py:776
msgid "Custom menus"
msgstr ""
#: models.py:774
#: models.py:783
msgid "Menu"
msgstr ""
#: models.py:778
#: models.py:787
msgid "Icon"
msgstr ""
#: models.py:784
#: models.py:793
msgid "Custom menu item"
msgstr ""
#: models.py:785
#: models.py:794
msgid "Custom menu items"
msgstr ""
#: models.py:795
#: models.py:804
msgid "Title of type"
msgstr ""
#: models.py:802 templates/core/group/full.html:47
#: models.py:811 templates/core/group/full.html:47
msgid "Group type"
msgstr ""
#: models.py:812
#: models.py:821
msgid "Can view system status"
msgstr ""
#: models.py:813
#: models.py:822
msgid "Can link persons to accounts"
msgstr ""
#: models.py:814
#: models.py:823
msgid "Can manage data"
msgstr ""
#: models.py:815
#: models.py:824
msgid "Can impersonate"
msgstr ""
#: models.py:816
#: models.py:825
msgid "Can use search"
msgstr ""
#: models.py:817
#: models.py:826
msgid "Can change site preferences"
msgstr ""
#: models.py:818
#: models.py:827
msgid "Can change person preferences"
msgstr ""
#: models.py:819
#: models.py:828
msgid "Can change group preferences"
msgstr ""
#: models.py:855
#: models.py:864
msgid "Related data check task"
msgstr ""
#: models.py:863
#: models.py:872
msgid "Issue solved"
msgstr ""
#: models.py:864
#: models.py:873
msgid "Notification sent"
msgstr ""
#: models.py:877
#: models.py:886
msgid "Data check result"
msgstr ""
#: models.py:878
#: models.py:887
msgid "Data check results"
msgstr ""
#: models.py:880
#: models.py:889
msgid "Can run data checks"
msgstr ""
#: models.py:881
#: models.py:890
msgid "Can solve data check problems"
msgstr ""
......@@ -953,6 +961,11 @@ msgstr ""
msgid "Create %(name)s"
msgstr ""
#: templates/core/dashboard_widget/list.html:25
#: templates/core/edit_dashboard.html:8 templates/core/edit_dashboard.html:15
msgid "Edit default dashboard"
msgstr ""
#: templates/core/data_check/list.html:15
msgid "Check data again"
msgstr ""
......@@ -1010,19 +1023,41 @@ msgid ""
" "
msgstr ""
#: templates/core/edit_dashboard.html:4 templates/core/edit_dashboard.html:5
#: templates/core/edit_dashboard.html:6 templates/core/edit_dashboard.html:13
#: templates/core/index.html:14
msgid "Edit dashboard"
msgstr ""
#: templates/core/edit_dashboard.html:26
#: templates/core/edit_dashboard.html:24
msgid ""
"\n"
" On this page you can arrange your personal dashboard. You can drag any items from \"Available widgets\" to \"Your\n"
" Dashboard\" or change the order by moving the widgets. After you have finished, please don't forget to click on\n"
" \"Save\".\n"
" "
msgstr ""
#: templates/core/edit_dashboard.html:30
msgid ""
"\n"
" On this page you can arrange the default dashboard which is shown when a user doesn't arrange his own\n"
" dashboard. You can drag any items from \"Available widgets\" to \"Default Dashboard\" or change the order\n"
" by moving the widgets. After you have finished, please don't forget to click on \"Save\".\n"
" "
msgstr ""
#: templates/core/edit_dashboard.html:48
msgid "Available widgets"
msgstr ""
#: templates/core/edit_dashboard.html:33
#: templates/core/edit_dashboard.html:57
msgid "Your dashboard"
msgstr ""
#: templates/core/edit_dashboard.html:59
msgid "Default dashboard"
msgstr ""
#: templates/core/group/child_groups.html:18
msgid ""
"\n"
......@@ -1155,31 +1190,31 @@ msgstr ""
msgid "Home"
msgstr ""
#: templates/core/index.html:49
#: templates/core/index.html:50
msgid ""
"\n"
" You haven't selected any dashboard widgets. Please click on \"Edit dashboard\" to add widgets to your\n"
" personal dashboard.\n"
" "
" You didn't customise your dashboard so that you see the system default. Please click on \"Edit dashboard\" to\n"
" customise your personal dashboard.\n"
" "
msgstr ""
#: templates/core/index.html:60
#: templates/core/index.html:59
msgid "Last activities"
msgstr ""
#: templates/core/index.html:78
#: templates/core/index.html:77
msgid "No activities available yet."
msgstr ""
#: templates/core/index.html:83
#: templates/core/index.html:82
msgid "Recent notifications"
msgstr ""
#: templates/core/index.html:99
#: templates/core/index.html:98
msgid "More information →"
msgstr ""
#: templates/core/index.html:106
#: templates/core/index.html:105
msgid "No notifications available yet."
msgstr ""
......@@ -1494,10 +1529,6 @@ msgstr ""
msgid "Save preferences"
msgstr ""
#: templates/dynamic_preferences/sections.html:7
msgid "All"
msgstr ""
#: templates/impersonate/list_users.html:8
msgid "Impersonate user"
msgstr ""
......@@ -1956,87 +1987,91 @@ msgstr ""
msgid "SMS"
msgstr ""
#: views.py:134
#: views.py:141
msgid "The school term has been created."
msgstr ""
#: views.py:146
#: views.py:153
msgid "The school term has been saved."
msgstr ""
#: views.py:291
#: views.py:298
msgid "The child groups were successfully saved."
msgstr ""
#: views.py:329
#: views.py:336
msgid "The person has been saved."
msgstr ""
#: views.py:368
#: views.py:375
msgid "The group has been saved."
msgstr ""
#: views.py:460
#: views.py:467
msgid "The announcement has been saved."
msgstr ""
#: views.py:476
#: views.py:483
msgid "The announcement has been deleted."
msgstr ""
#: views.py:548
#: views.py:562
msgid "The preferences have been saved successfully."
msgstr ""
#: views.py:572
#: views.py:586
msgid "The person has been deleted."
msgstr ""
#: views.py:586
#: views.py:600
msgid "The group has been deleted."
msgstr ""
#: views.py:618
#: views.py:632
msgid "The additional_field has been saved."
msgstr ""
#: views.py:652
#: views.py:666
msgid "The additional field has been deleted."
msgstr ""
#: views.py:677
#: views.py:691
msgid "The group type has been saved."
msgstr ""
#: views.py:707
#: views.py:721
msgid "The group type has been deleted."
msgstr ""
#: views.py:735
#: views.py:749
msgid "The data check has been started. Please note that it may take a while before you are able to fetch the data on this page."
msgstr ""
#: views.py:740
#: views.py:754
msgid "The data check has finished."
msgstr ""
#: views.py:755
#: views.py:769
#, python-brace-format
msgid "The solve option '{solve_option_obj.verbose_name}' "
msgstr ""
#: views.py:797
#: views.py:811
msgid "The dashboard widget has been saved."
msgstr ""
#: views.py:827
#: views.py:841
msgid "The dashboard widget has been created."
msgstr ""
#: views.py:837
#: views.py:851
msgid "The dashboard widget has been deleted."
msgstr ""
#: views.py:888
#: views.py:914
msgid "Your dashboard configuration has been saved successfully."
msgstr ""
#: views.py:916
msgid "The configuration of the default dashboard has been saved successfully."
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-12-28 21:33+0100\n"
"POT-Creation-Date: 2021-01-11 21:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -28,3 +28,7 @@ msgstr ""
#: static/js/main.js:17
msgid "OK"
msgstr ""
#: static/js/main.js:118
msgid "This page may contain outdated information since there is no internet connection."
msgstr ""
# Generated by Django 3.1.4 on 2021-01-04 13:39
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('core', '0008_data_check_result'),
]
operations = [
migrations.AddField(
model_name='dashboardwidgetorder',
name='default',
field=models.BooleanField(default=False, verbose_name='Part of the default dashboard'),
),
migrations.AlterField(
model_name='dashboardwidgetorder',
name='person',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='core.person', verbose_name='Person'),
),
migrations.AlterModelOptions(
name='dashboardwidget',
options={'permissions': (('edit_default_dashboard', 'Can edit default dashboard'),),
'verbose_name': 'Dashboard Widget', 'verbose_name_plural': 'Dashboard Widgets'},
),
]
......@@ -239,7 +239,10 @@ class Person(ExtensibleModel):
@property
def dashboard_widgets(self):
return [
w.widget for w in DashboardWidgetOrder.objects.filter(person=self).order_by("order")
w.widget
for w in DashboardWidgetOrder.objects.filter(person=self, widget__active=True).order_by(
"order"
)
]
def save(self, *args, **kwargs):
......@@ -494,7 +497,7 @@ class Notification(ExtensibleModel, TimeStampedModel):
def save(self, **kwargs):
super().save(**kwargs)
if not self.sent:
transaction.on_commit(lambda: send_notification(self.pk, resend=True))
send_notification(self.pk, resend=True)
self.sent = True
super().save(**kwargs)
......@@ -731,6 +734,7 @@ class DashboardWidget(PolymorphicModel, PureDjangoModel):
return self.title
class Meta:
permissions = (("edit_default_dashboard", _("Can edit default dashboard")),)
verbose_name = _("Dashboard Widget")
verbose_name_plural = _("Dashboard Widgets")
......@@ -739,8 +743,21 @@ class DashboardWidgetOrder(ExtensibleModel):
widget = models.ForeignKey(
DashboardWidget, on_delete=models.CASCADE, verbose_name=_("Dashboard widget")
)
person = models.ForeignKey(Person, on_delete=models.CASCADE, verbose_name=_("Person"))
person = models.ForeignKey(
Person, on_delete=models.CASCADE, verbose_name=_("Person"), null=True, blank=True
)
order = models.PositiveIntegerField(verbose_name=_("Order"))
default = models.BooleanField(default=False, verbose_name=_("Part of the default dashboard"))
@classproperty
def default_dashboard_widgets(cls):
"""Get default order for dashboard widgets."""
return [
w.widget
for w in cls.objects.filter(person=None, default=True, widget__active=True).order_by(
"order"
)
]
class Meta:
verbose_name = _("Dashboard widget order")
......
......@@ -306,3 +306,6 @@ rules.add_perm("core.edit_dashboardwidget", edit_dashboard_widget_predicate)
delete_dashboard_widget_predicate = has_person & has_global_perm("core.delete_dashboardwidget")
rules.add_perm("core.delete_dashboardwidget", delete_dashboard_widget_predicate)
edit_default_dashboard_predicate = has_person & has_global_perm("core.edit_default_dashboard")
rules.add_perm("core.edit_default_dashboard", edit_default_dashboard_predicate)
......@@ -377,7 +377,7 @@ ANY_JS = {
"css_url": JS_URL + "/select2-materialize/select2-materialize.css",
"js_url": JS_URL + "/select2-materialize/index.js",
},
"sortablejs": {"js_url": JS_URL + "/sortablejs/dist/sortable.umd.js"},
"sortablejs": {"js_url": JS_URL + "/sortablejs/Sortable.min.js"},
"jquery-sortablejs": {"js_url": JS_URL + "/jquery-sortablejs/jquery-sortable.js"},
}
......
......@@ -58,6 +58,9 @@ $(document).ready(function () {
// Initialize select [MAT]
$('select').formSelect();
// Initialize dropdown [MAT]
$('.dropdown-trigger').dropdown();
// If JS is activated, the language form will be auto-submitted
$('.language-field select').change(function () {
......@@ -110,3 +113,11 @@ $(document).ready(function () {
el.addClass("closed").removeClass("opened");
});
});
// Show notice if serviceworker broadcasts that the current page comes from its cache
const channel = new BroadcastChannel("cache-or-not");
channel.addEventListener("message", event => {
if ((event.data) && !($("#cache-alert").length)) {
$("main").prepend('<div id="cache-alert" class="alert warning"><p><i class="material-icons left">warning</i>' + gettext("This page may contain outdated information since there is no internet connection.") + '</p> </div>')
}
});
......@@ -5,6 +5,10 @@ const CACHE = 'aleksis-cache';
const offlineFallbackPage = 'offline/';
const channel = new BroadcastChannel('cache-or-not');
var comesFromCache = false;
self.addEventListener("install", function (event) {
console.log("[AlekSIS PWA] Install Event processing.");
......@@ -29,6 +33,7 @@ self.addEventListener("activate", function (event) {
self.addEventListener("fetch", function (event) {
if (event.request.method !== "GET") return;
networkFirstFetch(event);
if (comesFromCache) channel.postMessage(true);
});
function networkFirstFetch(event) {
......@@ -38,6 +43,7 @@ function networkFirstFetch(event) {
// If request was successful, add or update it in the cache
console.log("[AlekSIS PWA] Network request successful.");
event.waitUntil(updateCache(event.request, response.clone()));
comesFromCache = false;
return response;
})
.catch(function (error) {
......@@ -56,10 +62,11 @@ function fromCache(event) {
.then(function (matching) {
if (!matching || matching.status === 404) {
console.log("[AlekSIS PWA] Cache request failed. Serving offline fallback page.");
comesFromCache = false;
// Use the precached offline page as fallback
return caches.match(offlineFallbackPage)
return caches.match(offlineFallbackPage);
}
comesFromCache = true;
return matching;
});
});
......