Mercurial > libervia-backend
diff frontends/jp/jp @ 191:1438a1337732
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
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 18 Aug 2010 22:34:35 +0800 |
parents | 8a2053de6f8c |
children |
line wrap: on
line diff
--- a/frontends/jp/jp Wed Aug 18 21:42:30 2010 +0800 +++ b/frontends/jp/jp Wed Aug 18 22:34:35 2010 +0800 @@ -20,12 +20,11 @@ """ #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 @@ %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)"))