Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

commit: alter format check wording

Made the check warnings sound less draconian

Changeset 028b6666aa59

Parent a527192cfcd7

by Trey Roessig

Changes to one file · Browse files at 028b6666aa59 Showing diff from parent a527192cfcd7 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​commit.py Stacked
 
678
679
680
681
 
682
683
684
 
690
691
692
693
 
694
695
696
697
698
699
 
 
700
701
702
 
678
679
680
 
681
682
683
684
 
690
691
692
 
693
694
695
696
697
 
 
698
699
700
701
702
@@ -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