[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5438 - trunk/gnue-common/src/schema/scripter/processors
From: |
reinhard |
Subject: |
r5438 - trunk/gnue-common/src/schema/scripter/processors |
Date: |
Sun, 21 Mar 2004 12:17:30 -0600 (CST) |
Author: reinhard
Date: 2004-03-21 12:17:30 -0600 (Sun, 21 Mar 2004)
New Revision: 5438
Modified:
trunk/gnue-common/src/schema/scripter/processors/Base.py
Log:
Changed message translation to use new u_() function.
Modified: trunk/gnue-common/src/schema/scripter/processors/Base.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/processors/Base.py 2004-03-21
18:16:50 UTC (rev 5437)
+++ trunk/gnue-common/src/schema/scripter/processors/Base.py 2004-03-21
18:17:30 UTC (rev 5438)
@@ -368,8 +368,8 @@
if encoding is not None:
self.encoding = encoding
- self._writeText (self.comment (_("Client encoding set to '%s'", True) % \
- self.encoding))
+ self._writeText (self.comment (u_("Client encoding set to '%s'") % \
+ self.encoding))
# ---------------------------------------------------------------------------
@@ -426,12 +426,12 @@
'per-generation' actions, e.g. set encoding
"""
today = "%s UTC" % now ()
- text = _("This file was generated by gnue-schema\nfrom %s on %s.", True) %
\
- (self.source, today)
+ text = u_("This file was generated by gnue-schema\nfrom %s on %s.") % \
+ (self.source, today)
self._writeText (u"\n")
self._writeText (self.comment (text.splitlines () + \
- ["", _("Do NOT edit manually!", True)]))
+ ["", u_("Do NOT edit manually!")]))
self._writeText (u"\n")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5438 - trunk/gnue-common/src/schema/scripter/processors,
reinhard <=