src/const.py.in minor improvement

svn: r9671
This commit is contained in:
Jérôme Rapinat 2008-01-01 09:21:00 +00:00
parent 22359b81c4
commit bc66824cb8

View File

@ -145,7 +145,7 @@ else:
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
PROGRAM_NAME = "GRAMPS" PROGRAM_NAME = "GRAMPS"
VERSION = "@VERSIONSTRING@" VERSION = "@VERSIONSTRING@"
COPYRIGHT_MSG = unicode("<EFBFBD> 2001-2006 Donald N. Allingham", "iso-8859-1") COPYRIGHT_MSG = unicode("© 2001-2006 Donald N. Allingham", "iso-8859-1")
COMMENTS = _("GRAMPS (Genealogical Research and Analysis " COMMENTS = _("GRAMPS (Genealogical Research and Analysis "
"Management Programming System) is a personal " "Management Programming System) is a personal "
"genealogy program.") "genealogy program.")
@ -183,7 +183,7 @@ XMLFILE = "data.gramps"
# (longName, shortName, type , default, flags, descrip , argDescrip) # (longName, shortName, type , default, flags, descrip , argDescrip)
POPT_TABLE = [ POPT_TABLE = [
("open", 'O', str, None, 0, "Open file", "FILENAME"), ("open", 'O', str, None, 0, "Open family tree", "FAMILY_TREE"),
("import", 'i', str, None, 0, "Import file", "FILENAME"), ("import", 'i', str, None, 0, "Import file", "FILENAME"),
("output", 'o', str, None, 0, "Write file", "FILENAME"), ("output", 'o', str, None, 0, "Write file", "FILENAME"),
("format", 'f', str, None, 0, 'Specify format', "FORMAT"), ("format", 'f', str, None, 0, 'Specify format', "FORMAT"),
@ -193,41 +193,39 @@ POPT_TABLE = [
] ]
LONGOPTS = [ LONGOPTS = [
"load-modules=", "action=",
"help", "class=",
"usage", "debug=",
"oaf-ior-fd=", "display=",
"oaf-activate-iid=",
"oaf-private",
"disable-sound", "disable-sound",
"enable-sound", "disable-crash-dialog",
"espeaker=", "enable-sound",
"version", "espeaker=",
"format=",
"gdk-debug=", "gdk-debug=",
"gdk-no-debug=", "gdk-no-debug=",
"display=",
"screen=",
"sync",
"name=",
"class=",
"gtk-debug=", "gtk-debug=",
"gtk-no-debug=", "gtk-no-debug=",
"g-fatal-warnings",
"gtk-module=", "gtk-module=",
"g-fatal-warnings",
"help",
"import=",
"load-modules=",
"list"
"name=",
"oaf-activate-iid=",
"oaf-ior-fd=",
"oaf-private",
"open=",
"options=",
"output=",
"screen=",
"sm-client-id=", "sm-client-id=",
"sm-config-prefix=", "sm-config-prefix=",
"sm-disable", "sm-disable",
"disable-crash-dialog", "sync",
"disable-sound", "usage",
"enable-sound", "version",
"espeaker=",
"open=",
"import=",
"output=",
"format=",
"action=",
"options=",
"debug=",
] ]
SHORTOPTS = "O:i:o:f:a:p:d:?:l" SHORTOPTS = "O:i:o:f:a:p:d:?:l"