# 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))
         mod = gtklib.get_thg_modifier()
         key, modifier = gtk.accelerator_parse(mod+'Return')
         accel_group = gtk.AccelGroup()

------------------------------------------------------------------------------
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

Reply via email to