# HG changeset patch
# User Trey Roessig
# Date 1241027363 25200
# Node ID 028b6666aa594c6a51bc7d51f66a14192a949c5b
# Parent  a527192cfcd7dfe3847cb7629fac331b01cb4ede
commit: alter format check wording

Made the check warnings sound less draconian

diff -r a527192cfcd7 -r 028b6666aa59 hggtk/commit.py
--- a/hggtk/commit.py   Wed Apr 29 09:15:30 2009 -0700
+++ b/hggtk/commit.py   Wed Apr 29 10:49:23 2009 -0700
@@ -678,7 +678,7 @@
             maxlen = 0
         if not (sumlen or maxlen):
             Prompt(_('Info required'),
-                   _('Word wrap needs to be configured'),
+                   _('Message format needs to be configured'),
                    self).run()
             self._msg_config(None)
             return
@@ -690,13 +690,13 @@
             return
         
         if sumlen and len(lines[0].rstrip()) > sumlen:
-            Prompt(_('Summary Length Violation'),
+            Prompt(_('Warning'),
                    _('The summary line length of %i is greater than %i' %
                          (len(lines[0].rstrip()), sumlen)),
                    self).run()
         if sumlen and len(lines) > 1 and len(lines[1].strip()):
-            Prompt(_('Summary Separation Violation'),
-                   _('The summary line should be followed by a blank line'),
+            Prompt(_('Warning'),
+                   _('The summary line is not followed by a blank line'),
                    self).run()
         if not maxlen:
             return

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

Reply via email to