On Wed, Nov 4, 2009 at 3:34 PM, <[email protected]> wrote: > # HG changeset patch > # User Giampaolo Fadel <[email protected]> > # Date 1257370046 -3600 > # Branch stable > # Node ID 86985eb02c0e75a89c81ae41149365b29591494d > # Parent 9acefcc1869003a394f78c7825fa11b693e91d60 > gdialog: changed layout of SimpleMessage > > Some translated titles are larger than the messages and they > are truncated. > > diff --git a/tortoisehg/hgtk/gdialog.py b/tortoisehg/hgtk/gdialog.py > --- a/tortoisehg/hgtk/gdialog.py > +++ b/tortoisehg/hgtk/gdialog.py > @@ -33,8 +33,9 @@ > def __init__(self, title, message, parent, type=gtk.MESSAGE_INFO): > SimpleMessage.__init__(self, parent, gtk.DIALOG_MODAL, > type, gtk.BUTTONS_CLOSE) > - self.set_title(hglib.toutf(title)) > - self.set_markup('<b>' + hglib.toutf(message) + '</b>') > + self.set_title(_('TortoiseHG')) > + self.set_markup('<b>' + hglib.toutf(title) + '</b>') > + self.format_secondary_markup(hglib.toutf(message))
I pushed this, and then had a second thought about whether TortoiseHg should be translatable. Is that string already used somewhere else? (does it violate the string freeze) Is it customary to translate the program name? -- Steve Borho ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
