About added/updated for Wix & Jp
- Jp version now follow the one of core SàT - Wix has now an about box, and its version follow the one of core SàT
This commit is contained in:
parent
36d51e6acf
commit
991d367f85
1 changed files with 28 additions and 6 deletions
|
|
@ -20,12 +20,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
"""
|
||||
|
||||
#consts
|
||||
name = "jp"
|
||||
version = "0.0.1"
|
||||
about = name+" v"+version+""" (c) Jérôme Poisson (aka Goffi) 2009, 2010
|
||||
name = u"jp"
|
||||
about = name+u""" v%s (c) Jérôme Poisson (aka Goffi) 2009, 2010
|
||||
|
||||
---
|
||||
"""+name+""" Copyright (C) 2009, 2010 Jérôme Poisson (aka Goffi)
|
||||
"""+name+u""" Copyright (C) 2009, 2010 Jérôme Poisson (aka Goffi)
|
||||
This program comes with ABSOLUTELY NO WARRANTY;
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions.
|
||||
|
|
@ -85,7 +84,8 @@ class JP():
|
|||
|
||||
%prog --help for options list
|
||||
""")
|
||||
parser = OptionParser(usage=usage,version=about)
|
||||
version = unicode(self.bridge.getVersion())
|
||||
parser = OptionParser(usage=usage,version=about % version)
|
||||
|
||||
parser.add_option("-p", "--profile", action="store", type="string", default='@DEFAULT@',
|
||||
help=_("Use PROFILE profile key (default: %default)"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue