clarify new Graphviz backend option

This commit is contained in:
Paul Franklin 2016-09-04 12:52:08 -07:00
parent c0dfb4831c
commit 2226781a98

View File

@ -87,9 +87,9 @@ _RATIO = [ { 'name' : _("Compress to minimal size"), 'value': "compress" },
_NOTELOC = [ { 'name' : _("Top"), 'value' : "t" }, _NOTELOC = [ { 'name' : _("Top"), 'value' : "t" },
{ 'name' : _("Bottom"), 'value' : "b" }] { 'name' : _("Bottom"), 'value' : "b" }]
_SPLINE = [ { 'name' : _("Lines"), 'value' : "false" }, _SPLINE = [ { 'name' : _("Straight"), 'value' : "false" },
{ 'name' : _("Curves"), 'value' : "true", }, { 'name' : _("Curved"), 'value' : "true", },
{ 'name' : _("Ortho"), 'value' : 'ortho'} ] { 'name' : _("Orthogonal"), 'value' : 'ortho'} ]
if win(): if win():
_DOT_FOUND = search_for("dot.exe") _DOT_FOUND = search_for("dot.exe")
@ -179,11 +179,10 @@ class GVOptions:
"or vertical pages are greater than 1.")) "or vertical pages are greater than 1."))
menu.add_option(category, "page_dir", page_dir) menu.add_option(category, "page_dir", page_dir)
spline = EnumeratedListOption(_("Spline mode"), "true") spline = EnumeratedListOption(_("Connecting lines"), "true")
for item in _SPLINE: for item in _SPLINE:
spline.add_item(item["value"], item["name"]) spline.add_item(item["value"], item["name"])
spline.set_help(_("Sets type of lines to be straight, no curves or " spline.set_help(_("How the lines between objects will be drawn."))
"angles(ortho)."))
menu.add_option(category, "spline", spline) menu.add_option(category, "spline", spline)
# the page direction option only makes sense when the # the page direction option only makes sense when the