Fix multilanguage
This commit is contained in:
@ -0,0 +1,35 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-05-15 10:51+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: polyclinic_scheduling/settings.py:129
|
||||
msgid "Dutch"
|
||||
msgstr ""
|
||||
|
||||
#: polyclinic_scheduling/settings.py:130
|
||||
msgid "English"
|
||||
msgstr ""
|
||||
|
||||
#: polyclinic_scheduling/urls.py:22 polyclinic_scheduling/urls.py:23
|
||||
msgid "University of Groningen Polyclinic planning tool"
|
||||
msgstr ""
|
||||
|
||||
#: polyclinic_scheduling/urls.py:24
|
||||
msgid "Polyclinic planning tool"
|
||||
msgstr ""
|
@ -0,0 +1,35 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-05-15 10:51+0000\n"
|
||||
"PO-Revision-Date: 2020-05-15 12:49+0200\n"
|
||||
"Last-Translator: Joshua Rubingh <j.g.rubingh@rug.nl>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 2.0.6\n"
|
||||
|
||||
#: polyclinic_scheduling/settings.py:129
|
||||
msgid "Dutch"
|
||||
msgstr "Nederlands"
|
||||
|
||||
#: polyclinic_scheduling/settings.py:130
|
||||
msgid "English"
|
||||
msgstr "Engels"
|
||||
|
||||
#: polyclinic_scheduling/urls.py:22 polyclinic_scheduling/urls.py:23
|
||||
msgid "University of Groningen Polyclinic planning tool"
|
||||
msgstr "RUG Poliklinieken planning tool"
|
||||
|
||||
#: polyclinic_scheduling/urls.py:24
|
||||
msgid "Polyclinic planning tool"
|
||||
msgstr "Poliklinieken planning tool"
|
@ -17,7 +17,6 @@ from django.conf import settings
|
||||
from django.contrib import admin
|
||||
from django.urls import include, path
|
||||
from django.conf.urls.static import static
|
||||
from django.conf.urls.i18n import i18n_patterns
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
admin.site.index_title = _('University of Groningen Polyclinic planning tool')
|
||||
@ -27,17 +26,12 @@ admin.site.site_title = _('Polyclinic planning tool')
|
||||
urlpatterns = [
|
||||
path('i18n/', include('django.conf.urls.i18n')),
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
path('admin/', admin.site.urls),
|
||||
|
||||
path('', include('apps.RUG_template.urls')),
|
||||
path('schedule/', include('apps.schedule.urls')),
|
||||
]
|
||||
|
||||
# Use language prefix option for admin translations
|
||||
urlpatterns += i18n_patterns (
|
||||
path('admin/', admin.site.urls),
|
||||
prefix_default_language=False
|
||||
)
|
||||
|
||||
if settings.DEBUG:
|
||||
import debug_toolbar
|
||||
urlpatterns = [
|
||||
|
Reference in New Issue
Block a user