commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8317 - in trunk/gnue-common/src/datasources/drivers: Base other


From: reinhard
Subject: [gnue] r8317 - in trunk/gnue-common/src/datasources/drivers: Base other
Date: Mon, 3 Apr 2006 18:23:55 -0500 (CDT)

Author: reinhard
Date: 2006-03-31 11:26:11 -0600 (Fri, 31 Mar 2006)
New Revision: 8317

Modified:
   trunk/gnue-common/src/datasources/drivers/Base/Connection.py
   trunk/gnue-common/src/datasources/drivers/other/appserver.py
Log:
Login field descriptions should be unicode.


Modified: trunk/gnue-common/src/datasources/drivers/Base/Connection.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/Connection.py        
2006-03-31 17:24:18 UTC (rev 8316)
+++ trunk/gnue-common/src/datasources/drivers/Base/Connection.py        
2006-03-31 17:26:11 UTC (rev 8317)
@@ -162,8 +162,8 @@
     master-field if any).
 
     A typical return value would be::
-      [(_('User Name'), '_username', 'string', None, None, []),
-       (_('Password'), '_password', 'password', None, None, [])]
+      [(u_('User Name'), '_username', 'string', None, None, []),
+       (u_('Password'), '_password', 'password', None, None, [])]
 
     @raise errors.AdminError: if the communication with the backend fails.
     """

Modified: trunk/gnue-common/src/datasources/drivers/other/appserver.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/other/appserver.py        
2006-03-31 17:24:18 UTC (rev 8316)
+++ trunk/gnue-common/src/datasources/drivers/other/appserver.py        
2006-03-31 17:26:11 UTC (rev 8317)
@@ -330,8 +330,8 @@
 
     dbauth = self.parameters.get ('authentication', 'False')
     if dbauth.lower () in ['true', 'yes', 'y']:
-      result.extend ([(_('User Name'), '_username', 'string', None, None, []),
-                      (_('Password'), '_password', 'password', None, None, 
[])])
+      result.extend ([(u_('User Name'), '_username', 'string', None, None, []),
+                      (u_('Password'), '_password', 'password', None, None, 
[])])
 
     self.__getSessionManager ()
     self.__filters = self._sm.getFilters (i18n.getuserlocale ())





reply via email to

[Prev in Thread] Current Thread [Next in Thread]