Anonymous avatar Anonymous committed 1e87404

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

Comments (0)

Files changed (1)

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')),
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.