changeset 689:ff56d9861a71

yet another i18n fix
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 23 May 2006 10:19:55 +0200
parents 15c55ecd7ccb
children dd9743e40342 fd679c4f4665
files MoinMoin/user.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/user.py	Tue May 23 09:57:24 2006 +0200
+++ b/MoinMoin/user.py	Tue May 23 10:19:55 2006 +0200
@@ -282,7 +282,7 @@
             from security import Default
             self.may = Default(self)
         
-        if self.language and not i18n.language_supported(self.language):
+        if self.language and not self.language in i18n.wikiLanguages():
             self.language = 'en'
 
     def __repr__(self):