On Wed, Apr 29, 2009 at 11:46 AM, Steve Borho <[email protected]> wrote:
>> + if sumlen and len(lines[0].rstrip()) > sumlen:
>> + resp = Confirm(_('Commit'), [], self,
>> + _('The summary line length of %i is greater than'
>> + ' %i. Would you like to continue?' %
>
> The gettext wrapper _() should only go around the string.
Just to be sure I understand, you'd want to see
_("This is my value: %i") % val
instead of
_("This is my value: %i" % val)
Correct? No problem at all. May I ask why?
> perhaps 'Ignore format policy and continue commit?' And you can use
> \n line feeds here if you feel it improves the look of the dialog.
>
> Ditto both above comments
Will do, and ditto the ditto.
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop