Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-CSVImport
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-CSVImport
Commits
c3e847b0
Unverified
Commit
c3e847b0
authored
5 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
Migrate BiscuIT-App-SchILD-NRW to django-menu-generator.
parent
fc1fba80
No related branches found
No related tags found
1 merge request
!2
Migrate BiscuIT-App-SchILD-NRW to django-menu-generator. Advances Teckids/BiscuIT/BiscuIT-ng#15
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
biscuit/apps/schild_nrw/locale/de_DE/LC_MESSAGES/django.po
+13
-11
13 additions, 11 deletions
biscuit/apps/schild_nrw/locale/de_DE/LC_MESSAGES/django.po
biscuit/apps/schild_nrw/menus.py
+18
-16
18 additions, 16 deletions
biscuit/apps/schild_nrw/menus.py
with
31 additions
and
27 deletions
biscuit/apps/schild_nrw/locale/de_DE/LC_MESSAGES/django.po
+
13
−
11
View file @
c3e847b0
...
...
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-1
7 13:39
+0200\n"
"PO-Revision-Date: 2019-08-1
7 13
:43+0200\n"
"POT-Creation-Date: 2019-08-1
8 21:43
+0200\n"
"PO-Revision-Date: 2019-08-1
8 21
:43+0200\n"
"Last-Translator: Tom Teichler <tom.teichler@teckids.org>\n"
"Language-Team: \n"
"Language: de_DE\n"
...
...
@@ -45,14 +45,14 @@ msgstr "Pfad zur CSV-Datei mit den exportierten Schülern"
msgid "Path to CSV file with exported guardians"
msgstr "Pfad zur CSV-Datei mit den exportierten Erziehungsberechtigten"
#: menus.py:8
msgid "Import of data"
msgstr "Datenimport"
#: menus.py:17
#: menus.py:6
msgid "Interfaces"
msgstr "Schnittstellen"
#: menus.py:12
msgid "SchILD-NRW import"
msgstr "SchILD-NRW-Import"
#: templates/schild_nrw/schild_import.html:10
msgid ""
"\n"
...
...
@@ -72,14 +72,13 @@ msgstr ""
#: templates/schild_nrw/schild_import.html:18
msgid ""
"\n"
" To generate CSV files in the correct format, please use the "
"following\n"
" To generate CSV files in the correct format, please use the following\n"
" templates:\n"
" "
msgstr ""
"\n"
" Um die CSV-Dateien im richtigen Format zu generieren, nutzen Sie "
"
bitte
die folgenden\n"
" Um die CSV-Dateien im richtigen Format zu generieren, nutzen Sie
bitte
"
"die folgenden\n"
" Vorlagen:\n"
" "
...
...
@@ -107,3 +106,6 @@ msgstr "Alle Personen wurden erfolgreich importiert."
#: util.py:33
msgid "Some persons failed to be imported."
msgstr "Einige Personen konnten nicht importiert werden."
#~ msgid "Import of data"
#~ msgstr "Datenimport"
This diff is collapsed.
Click to expand it.
biscuit/apps/schild_nrw/menus.py
+
18
−
16
View file @
c3e847b0
from
django.urls
import
reverse
from
django.utils.translation
import
gettext_lazy
as
_
from
django.utils.translation
import
gettext
as
_
from
menu
import
Menu
,
MenuItem
menu_items
=
[
MenuItem
(
_
(
'
Import of data
'
),
reverse
(
'
schild_import
'
),
check
=
lambda
request
:
request
.
user
.
is_authenticated
and
request
.
user
.
is_superuser
),
]
app_menu
=
MenuItem
(
'
SchILD-NRW
'
,
'
#
'
,
children
=
menu_items
)
Menu
.
add_item
(
_
(
'
Interfaces
'
),
app_menu
)
MENUS
=
{
'
NAV_MENU_CORE
'
:
[
{
'
name
'
:
_
(
'
Interfaces
'
),
'
url
'
:
'
#
'
,
'
root
'
:
True
,
'
validators
'
:
[
'
menu_generator.validators.is_authenticated
'
,
'
menu_generator.validators.is_superuser
'
],
'
submenu
'
:
[
{
'
name
'
:
_
(
'
SchILD-NRW import
'
),
'
url
'
:
'
schild_import
'
,
'
validators
'
:
[
'
menu_generator.validators.is_authenticated
'
,
'
menu_generator.validators.is_superuser
'
]
}
]
}
]
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment