[PATCH] Usage() help text is not completely translated
- From: Vincent Legoll <vincent legoll gmail com>
- To: meld-list <meld-list gnome org>
- Subject: [PATCH] Usage() help text is not completely translated
- Date: Wed, 18 Mar 2009 00:31:44 +0100
Hello,
was that string forgotten or is there something special about it ?
The patch fixes other small glitches in the help texts...
--
Vincent Legoll
Index: meldapp.py
===================================================================
--- meldapp.py (révision 1260)
+++ meldapp.py (copie de travail)
@@ -897,14 +897,14 @@
def parse_args(self, rawargs):
parser = optparse.OptionParser(
option_class=misc.MeldOption,
- usage="""
- %prog Start with no windows open
- %prog <dir> Start with VC browser in 'dir'
- %prog <file> Start with VC diff of 'file'
- %prog <file> <file> [file] Start with 2 or 3 way file comparison
- %prog <dir> <dir> [dir] Start with 2 or 3 way directory comparison""",
- description="""Meld is a file and directory comparison tool.""",
- version="%prog "+version)
+ usage=_("""
+ %prog Start with no windows open
+ %prog <dir> Start with Version Control browser in 'dir'
+ %prog <file> Start with Version Control diff of 'file'
+ %prog <file> <file> [<file>] Start with 2 or 3 way file comparison
+ %prog <dir> <dir> [<dir>] Start with 2 or 3 way directory comparison"""),
+ description=_("Meld is a file and directory comparison tool."),
+ version="%prog " + version)
parser.add_option("-L", "--label", action="append", default=[], help=_("Set label to use instead of file name"))
parser.add_option("-a", "--auto-compare", action="store_true", default=False, help=_("Automatically compare all differing files on startup"))
parser.add_option("-u", "--unified", action="store_true", help=_("Ignored for compatibility"))
@@ -913,7 +913,7 @@
parser.add_option("-r", "--recursive", action="store_true", help=_("Ignored for compatibility"))
parser.add_option("", "--diff", action="diff_files", dest='diff',
default=[],
- help=_("Creates a diff tab for up to 3 supplied files."))
+ help=_("Creates a diff tab for up to 3 supplied files or 3 directories."))
options, args = parser.parse_args(rawargs)
for files in options.diff:
if len(files) not in (1, 2, 3):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]