diff MoinMoin/PageGraphicalEditor.py @ 131:1738cbba372c

new cfg settings: language_ignore_browser and language_default (was: default_lang) imported from: moin--main--1.5--patch-133
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 23 Oct 2005 12:02:20 +0000
parents 0bbc39b09f95
children e5ca7fa46f2e
line wrap: on
line diff
--- a/MoinMoin/PageGraphicalEditor.py	Sun Oct 23 10:57:09 2005 +0000
+++ b/MoinMoin/PageGraphicalEditor.py	Sun Oct 23 12:02:20 2005 +0000
@@ -253,7 +253,7 @@
         # TODO: currently self.language is None at this point. We have
         # to do processing instructions parsing earlier, or move page
         # language into meta file.
-        lang = self.language or self.request.cfg.default_lang
+        lang = self.language or self.request.cfg.language_default
         contentlangdirection = i18n.getDirection(lang) # 'ltr' or 'rtl'
         uilanguage = self.request.lang
         url_prefix = self.request.cfg.url_prefix