Skip to content

Commit 964f42c

Browse files
committed
Translate version and copyright banner
1 parent 7204eb5 commit 964f42c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/args.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def error(self, msg):
4646

4747

4848
def version_banner(base="bpython"):
49-
return "{} version {} on top of Python {} {}".format(
49+
return _("{} version {} on top of Python {} {}").format(
5050
base,
5151
__version__,
5252
sys.version.split()[0],
@@ -55,7 +55,7 @@ def version_banner(base="bpython"):
5555

5656

5757
def copyright_banner():
58-
return "{} See AUTHORS.rst for details.".format(__copyright__)
58+
return _("{} See AUTHORS.rst for details.").format(__copyright__)
5959

6060

6161
def parse(args, extras=None, ignore_stdin=False):

0 commit comments

Comments
 (0)