commit-gnue
[Top][All Lists]
Advanced

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

r6114 - trunk/gnue-common/src/schema/scripter


From: johannes
Subject: r6114 - trunk/gnue-common/src/schema/scripter
Date: Sun, 1 Aug 2004 11:51:53 -0500 (CDT)

Author: johannes
Date: 2004-08-01 11:51:53 -0500 (Sun, 01 Aug 2004)
New Revision: 6114

Modified:
   trunk/gnue-common/src/schema/scripter/Scripter.py
Log:
Use unicode-translate for messages


Modified: trunk/gnue-common/src/schema/scripter/Scripter.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/Scripter.py   2004-08-01 15:03:09 UTC 
(rev 6113)
+++ trunk/gnue-common/src/schema/scripter/Scripter.py   2004-08-01 16:51:53 UTC 
(rev 6114)
@@ -120,7 +120,7 @@
       self.tabledata = []
 
       for item in range (len (self._files)):
-        print _("Loading gsd file '%s' ...") % self.ARGUMENTS [item]
+        print u_("Loading gsd file '%s' ...") % self.ARGUMENTS [item]
 
         try:
           schema = GSParser.loadFile (self._files [item])
@@ -463,7 +463,7 @@
 
     self.connections.loginToConnection (self.connection)
 
-    print _("Updating schema ...")
+    print u_("Updating schema ...")
     code = self.connection.updateSchema (self.tables,
                                          self.OPTIONS ['file-only'])
     if self.outfile is not None:
@@ -486,7 +486,7 @@
     specified key-fields and updated if it exists otherwise inserted.
     """
 
-    print _("Updating data ...")
+    print u_("Updating data ...")
       
     for table in self.tabledata:
       tablename = table ['name']
@@ -507,7 +507,7 @@
           fields      = fieldList,
           unicodeMode = True)
 
-      print _("  updating table '%s' ...") % tablename
+      print u_("  updating table '%s' ...") % tablename
       updCount = 0
       insCount = 0
 
@@ -537,7 +537,7 @@
         resultSet.post ()
 
       self.connections.commitAll ()
-      print _("    Inserted %d row(s), updated %d row(s)") % \
+      print u_("    Inserted %d row(s), updated %d row(s)") % \
           (insCount, updCount)
 
 





reply via email to

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