summaryrefslogtreecommitdiffstats
path: root/authentic/admin/settings.ptl
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-01-09 16:47:11 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-01-09 16:47:11 (GMT)
commit6d7854d86032abdbb9c3673c7a7a49b8f16e3af2 (patch)
treebcc69d981289bce32f30c31d1e365ea799fb1234 /authentic/admin/settings.ptl
parent1c2069a8ccc42d764f372981ffcb046e8da1dc20 (diff)
downloadauthentic-old-6d7854d86032abdbb9c3673c7a7a49b8f16e3af2.zip
authentic-old-6d7854d86032abdbb9c3673c7a7a49b8f16e3af2.tar.gz
authentic-old-6d7854d86032abdbb9c3673c7a7a49b8f16e3af2.tar.bz2
admin/settings: plug new custom translation setting page
Diffstat (limited to 'authentic/admin/settings.ptl')
-rw-r--r--authentic/admin/settings.ptl6
1 files changed, 5 insertions, 1 deletions
diff --git a/authentic/admin/settings.ptl b/authentic/admin/settings.ptl
index cfbf2ef..4fd59c2 100644
--- a/authentic/admin/settings.ptl
+++ b/authentic/admin/settings.ptl
@@ -31,6 +31,7 @@ import qommon.template
from qommon.admin.emails import EmailsDirectory
from qommon.admin.texts import TextsDirectory
+from qommon.admin.translations import TranslationsDirectory
from authentic.form import *
import authentic
@@ -742,10 +743,11 @@ class SettingsDirectory(schemagui.SettingDirectory):
_q_exports = ['', 'idp', 'liberty_providers',
'identity_storage', 'identity_options', 'themes', 'passwords',
'debug', 'debug_options', 'emails', 'language', 'login', 'template', 'branding', 'texts',
- 'misc', 'sitename', 'ssl', 'upload_theme', 'debug', 'identities', 'cas', 'homepage']
+ 'misc', 'sitename', 'ssl', 'upload_theme', 'debug', 'identities', 'cas', 'homepage', 'translations']
emails = EmailsDirectory()
texts = TextsDirectory()
+ translations = TranslationsDirectory()
liberty_providers = LibertyProvidersDir()
endpoints_prefixes = { 'slo': 'proxySingleLogout',
@@ -818,6 +820,8 @@ class SettingsDirectory(schemagui.SettingDirectory):
_('Login Screen'), _('Configure login screen'))
'<dt><a href="texts/">%s</a></dt> <dd>%s</dd>' % (
_('Texts'), _('Configure public pages texts'))
+ '<dt><a href="translations/">%s</a></dt> <dd>%s</dd>' % (
+ _('Custom Translations'), _('Define custom translations'))
'</dl>'
'<h2>%s</h2>' % _('Debug')