Rev 6158: Thanks to Benoit Pierre for catching the lost gettext. in file:///home/vila/src/bzr/bugs/856261-unshelve-line-based/

Vincent Ladeuil v.ladeuil+lp at free.fr
Tue Sep 27 21:13:00 UTC 2011


At file:///home/vila/src/bzr/bugs/856261-unshelve-line-based/

------------------------------------------------------------
revno: 6158
revision-id: v.ladeuil+lp at free.fr-20110927211300-dazildg262nrz9a3
parent: v.ladeuil+lp at free.fr-20110927163753-iabf22rtysmi3iot
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 856261-unshelve-line-based
timestamp: Tue 2011-09-27 23:13:00 +0200
message:
  Thanks to Benoit Pierre for catching the lost gettext.
-------------- next part --------------
=== modified file 'bzrlib/shelf_ui.py'
--- a/bzrlib/shelf_ui.py	2011-09-27 16:37:53 +0000
+++ b/bzrlib/shelf_ui.py	2011-09-27 21:13:00 +0000
@@ -263,7 +263,7 @@
             # trying to prompt the user, better abort now.  See
             # https://code.launchpad.net/~bialix/bzr/shelve-no-tty/+merge/14905
             # for more context.
-            raise errors.BzrError("You need a controlling terminal.")
+            raise errors.BzrError(gettext("You need a controlling terminal."))
         sys.stdout.write(message)
         if char_based:
             # We peek one char at a time which requires a real term here



More information about the bazaar-commits mailing list