Show More
@@ -960,10 +960,10 b' class curseschunkselector(object):' | |||
|
960 | 960 | pairname='legend') |
|
961 | 961 | self.statuswin.refresh() |
|
962 | 962 | return |
|
963 | line1 = ("SELECT CHUNKS: (j/k/up/dn/pgup/pgdn) move cursor; " | |
|
964 | "(space/A) toggle hunk/all; (e)dit hunk;") | |
|
965 | line2 = (" (f)old/unfold; (c)onfirm applied; (q)uit; (?) help " | |
|
966 | "| [X]=hunk applied **=folded, toggle [a]mend mode") | |
|
963 | line1 = _("SELECT CHUNKS: (j/k/up/dn/pgup/pgdn) move cursor; " | |
|
964 | "(space/A) toggle hunk/all; (e)dit hunk;") | |
|
965 | line2 = _(" (f)old/unfold; (c)onfirm applied; (q)uit; (?) help " | |
|
966 | "| [X]=hunk applied **=folded, toggle [a]mend mode") | |
|
967 | 967 | |
|
968 | 968 | printstring(self.statuswin, |
|
969 | 969 | util.ellipsis(line1, self.xscreensize - 1), |
@@ -1305,7 +1305,8 b' class curseschunkselector(object):' | |||
|
1305 | 1305 | |
|
1306 | 1306 | def helpwindow(self): |
|
1307 | 1307 | "print a help window to the screen. exit after any keypress." |
|
1308 | helptext = """ [press any key to return to the patch-display] | |
|
1308 | helptext = _( | |
|
1309 | """ [press any key to return to the patch-display] | |
|
1309 | 1310 |
|
|
1310 | 1311 |
|
|
1311 | 1312 |
|
@@ -1329,7 +1330,7 b' the following are valid keystrokes:' | |||
|
1329 | 1330 |
|
|
1330 | 1331 |
|
|
1331 | 1332 |
|
|
1332 |
|
|
|
1333 | ? : help (what you're currently reading)""") | |
|
1333 | 1334 | |
|
1334 | 1335 | helpwin = curses.newwin(self.yscreensize, 0, 0, 0) |
|
1335 | 1336 | helplines = helptext.split("\n") |
@@ -1368,7 +1369,7 b' the following are valid keystrokes:' | |||
|
1368 | 1369 | def reviewcommit(self): |
|
1369 | 1370 | """ask for 'y' to be pressed to confirm selected. return True if |
|
1370 | 1371 | confirmed.""" |
|
1371 | confirmtext = ( | |
|
1372 | confirmtext = _( | |
|
1372 | 1373 | """if you answer yes to the following, the your currently chosen patch chunks |
|
1373 | 1374 | will be loaded into an editor. you may modify the patch from the editor, and |
|
1374 | 1375 | save the changes if you wish to change the patch. otherwise, you can just |
@@ -1400,19 +1401,19 b' are you sure you want to review/edit and' | |||
|
1400 | 1401 | except ValueError: |
|
1401 | 1402 | ver = 1 |
|
1402 | 1403 | if ver < 2.19: |
|
1403 | msg = ("The amend option is unavailable with hg versions < 2.2\n\n" | |
|
1404 | "Press any key to continue.") | |
|
1404 | msg = _("The amend option is unavailable with hg versions < 2.2\n\n" | |
|
1405 | "Press any key to continue.") | |
|
1405 | 1406 | elif opts.get('amend') is None: |
|
1406 | 1407 | opts['amend'] = True |
|
1407 | msg = ("Amend option is turned on -- committing the currently " | |
|
1408 | "selected changes will not create a new changeset, but " | |
|
1409 | "instead update the most recently committed changeset.\n\n" | |
|
1410 | "Press any key to continue.") | |
|
1408 | msg = _("Amend option is turned on -- committing the currently " | |
|
1409 | "selected changes will not create a new changeset, but " | |
|
1410 | "instead update the most recently committed changeset.\n\n" | |
|
1411 | "Press any key to continue.") | |
|
1411 | 1412 | elif opts.get('amend') is True: |
|
1412 | 1413 | opts['amend'] = None |
|
1413 | msg = ("Amend option is turned off -- committing the currently " | |
|
1414 | "selected changes will create a new changeset.\n\n" | |
|
1415 | "Press any key to continue.") | |
|
1414 | msg = _("Amend option is turned off -- committing the currently " | |
|
1415 | "selected changes will create a new changeset.\n\n" | |
|
1416 | "Press any key to continue.") | |
|
1416 | 1417 | if not test: |
|
1417 | 1418 | self.confirmationwindow(msg) |
|
1418 | 1419 |
General Comments 0
You need to be logged in to leave comments.
Login now