Commits

Angel Ezquerra  committed 1e87404

phases: wrap the phase moving backwards warning at 68 chars (fixes #1579)

  • Participants
  • Parent commits 5a1c865
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/repowidget.py

             # Ask the user if he wants to force the transition
             title = _('Backwards phase change requested')
             main = _('Do you really want to <i>force</i> a backwards phase transition?')
-            text = _('You are trying to move the phase of revision %d backwards, from "<i>%s</i>" to "<i>%s</i>". '
+            text = _('You are trying to move the phase of revision %d backwards,\n'
+                    'from "<i>%s</i>" to "<i>%s</i>".\n\n'
                     'However, "<i>%s</i>" is a lower phase level than "<i>%s</i>".\n\n'
-                    'Moving the phase backwards is not recommended. '
-                    'For example, it may result in having multiple heads if you '
-                    'modify a revision that you have already pushed to a server.\n\n'
+                    'Moving the phase backwards is not recommended.\n'
+                    'For example, it may result in having multiple heads\nif you '
+                    'modify a revision that you have already pushed\nto a server.\n\n'
                     'Please be careful!' % (self.rev, phases.phasenames[currentphase], phasestr, phasestr,
                                             phases.phasenames[currentphase]))
             labels = ((QMessageBox.Yes, _('&Force')),