On Mon, 22 Sep 2014 10:30:38 -0500
"Edward K. Ream" <[email protected]> wrote:
> The only thing needed to translate log messages is to get the call to
> gettext.gettext(s) inside g.translateString to work properly.
I was thinking of more general translation, e.g.
self.createIconButton(
text='script-button',
command = self.addScriptButtonCommand,
statusLine='Make script button from selected node',
kind="script-button-button")
becomes
self.createIconButton(
text=_('script-button'),
command = self.addScriptButtonCommand,
statusLine=_('Make script button from selected node'),
kind="script-button-button")
where _ points to whatever, but I think it should point to something off the
shelf, given all the work that's already been done on managing translation
tables.
Cheers -Terry
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.