dabo Commit
Revision 2167
Date: 2006-05-17 08:41:23 -0700 (Wed, 17 May 2006)
Author: ed
Changed:
U trunk/dabo/dApp.py
Log:
Fixed a couple of places where the localization function was written
incorrectly.
Diff:
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py 2006-05-17 15:39:39 UTC (rev 2166)
+++ trunk/dabo/dApp.py 2006-05-17 15:41:23 UTC (rev 2167)
@@ -361,8 +361,8 @@
self.UI = "wx"
else:
# Custom app code or the dabo.ui module already set
this: don't touch
- dabo.infoLog.write(_("User interface already set to
'%s', so dApp didn't "
- " touch it." % (self.UI,)))
+ dabo.infoLog.write(_("User interface already set to
'%s', so dApp didn't touch it.")
+ % self.UI)
def getConnectionByName(self, connName):
@@ -630,9 +630,9 @@
dabo.infoLog.write(_("User interface set set to
None."))
elif dabo.ui.loadUI(uiType):
self._uiAlreadySet = True
- dabo.infoLog.write(_("User interface set to
'%s' by dApp.") % (uiType,))
+ dabo.infoLog.write(_("User interface set to
'%s' by dApp.") % uiType)
else:
- dabo.infoLog.write(_("Tried to set UI to '%s',
but it failed." % (uiType,)))
+ dabo.infoLog.write(_("Tried to set UI to '%s',
but it failed.") % uiType)
else:
raise RuntimeError, _("The UI cannot be reset once
assigned.")
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev