From da4184f1f809a5dd35537427c7c69cc3b78434f7 Mon Sep 17 00:00:00 2001 From: Eero Tamminen Date: Fri, 21 Jan 2005 21:46:11 +0000 Subject: [PATCH] use non-localized descriptions for cli help svn: r3944 --- ChangeLog | 4 ++++ src/plugins/GraphViz.py | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a17fccdb..744ef2d55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-01-21 Eero Tamminen + * src/plugins/GraphViz.py: Change CLI help to use non-localized + option descriptions + 2005-01-19 Don Allingham * src/ReportUtils.py: added estimate_age and sanitize_person * src/BaseDoc.py: Add checks attempting to add styles after initializing diff --git a/src/plugins/GraphViz.py b/src/plugins/GraphViz.py index 0f1f85564..a12ec61bb 100644 --- a/src/plugins/GraphViz.py +++ b/src/plugins/GraphViz.py @@ -446,13 +446,13 @@ class GraphVizOptions(ReportOptions.ReportOptions): self.options_help = { 'font' : ("=str","Font to use in the report.", - [ "%s\t%s" % (item[0],item[2]) for item in _options.fonts ], + [ "%s\t%s" % (item[0],item[1]) for item in _options.fonts ], False), 'latin' : ("=0/1","Needs to be set if font doesn't support unicode.", ["Supports unicode","Supports only Latin1"], True), 'arrow' : ("=str","Arrow styles for heads and tails.", - [ "%s\t%s" % (item[0],item[2]) for item in _options.arrowstyles ], + [ "%s\t%s" % (item[0],item[1]) for item in _options.arrowstyles ], False), 'showfamily': ("=0/1","Whether to show family nodes.", ["Do not show family nodes","Show family nodes"], @@ -473,10 +473,10 @@ class GraphVizOptions(ReportOptions.ReportOptions): ["Do not include URLs","Include URLs"], True), 'rankdir' : ("=str","Graph direction.", - [ "%s\t%s" % (item[0],item[2]) for item in _options.rankdir ], + [ "%s\t%s" % (item[0],item[1]) for item in _options.rankdir ], False), 'color' : ("=str","Whether and how to colorize graph.", - [ "%s\t%s" % (item[0],item[2]) for item in _options.colors ], + [ "%s\t%s" % (item[0],item[1]) for item in _options.colors ], False), 'dashedl' : ("=0/1","Whether to use dotted lines for non-birth relationships.", ["Do not use dotted lines","Use dotted lines"], @@ -490,7 +490,7 @@ class GraphVizOptions(ReportOptions.ReportOptions): 'pagesv' : ("=num","Number of pages in vertical direction.", "Integer values"), 'gvof' : ("=str","Output format to convert dot file into.", - [ "%s\t%s" % (item[0],item[2]) for item in _options.formats ], + [ "%s\t%s" % (item[0],item[1]) for item in _options.formats ], False), }