Fixed #83 -- Added an informal German translation

This commit is contained in:
Raphael Michel
2015-08-13 10:09:58 +02:00
parent 617de765e0
commit 22b4d514d6
8 changed files with 3435 additions and 48 deletions

View File

@@ -170,8 +170,23 @@ LOCALE_PATHS = (
LANGUAGES = (
('en', _('English')),
('de', _('German')),
('de-informal', _('German (informal)')),
)
EXTRA_LANG_INFO = {
'de-informal': {
'bidi': False,
'code': 'de-informal',
'name': 'German (informal)',
'name_local': 'Deutsch (Du)'
},
}
# Add custom languages not provided by Django
import django.conf.locale
django.conf.locale.LANG_INFO.update(EXTRA_LANG_INFO)
AUTH_USER_MODEL = 'pretixbase.User'
LOGIN_URL = '/login' # global login does not yet exist
LOGIN_URL_CONTROL = 'control:auth.login'