dabo Commit
Revision 4803
Date: 2008-12-08 10:41:14 -0800 (Mon, 08 Dec 2008)
Author: Johnf
Trac: http://trac.dabodev.com/dabo/changeset/4803

Changed:
U   trunk/dabo/db/dbPostgreSQL.py

Log:
wrapped the literal string in _()

Diff:
Modified: trunk/dabo/db/dbPostgreSQL.py
===================================================================
--- trunk/dabo/db/dbPostgreSQL.py       2008-12-08 18:35:03 UTC (rev 4802)
+++ trunk/dabo/db/dbPostgreSQL.py       2008-12-08 18:41:14 UTC (rev 4803)
@@ -91,7 +91,7 @@
                try:
                        localSchemaName, localTableName = tableName.split(".", 
1)
                except ValueError:
-                       raise ValueError("Please use schema-qualified 
datasource names " "(e.g. 'public.%s')" % tableName)
+                       raise ValueError,_("Please use schema-qualified 
datasource names (e.g. 'public.%s')" )% tableName
                
 
                cursor.execute("""SELECT a.attname, t.typname from pg_attribute 
a, pg_type t, pg_class c 
@@ -237,7 +237,7 @@
                try:
                        localSchemaName, localTableName = tableName.split(".", 
1)
                except ValueError:
-                       raise ValueError("Please use schema-qualified 
datasource names " "(e.g. 'public.%s')" % tableName)
+                       raise ValueError,_("Please use schema-qualified 
datasource names (e.g. 'public.%s')" )% tableName
                
 
                tempCursor =self._connection.cursor()




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to