From: <fri...@us...> - 2006-09-22 06:57:57
|
Revision: 3961 http://svn.sourceforge.net/translate/?rev=3961&view=rev Author: friedelwolff Date: 2006-09-21 23:57:48 -0700 (Thu, 21 Sep 2006) Log Message: ----------- Only set the UI language from preference if it is not yet set from the login Modified Paths: -------------- src/branches/wordforge-0-10-branch/Pootle/users.py Modified: src/branches/wordforge-0-10-branch/Pootle/users.py =================================================================== --- src/branches/wordforge-0-10-branch/Pootle/users.py 2006-09-22 06:51:49 UTC (rev 3960) +++ src/branches/wordforge-0-10-branch/Pootle/users.py 2006-09-22 06:57:48 UTC (rev 3961) @@ -474,7 +474,7 @@ if self.isopen: self.prefs = self.loginchecker.users.__getattr__(self.username) uilanguage = getattr(self.prefs, "uilanguage", None) - if uilanguage: + if uilanguage and not self.language: self.setlanguage(uilanguage) else: self.prefs = None This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |