def onClickAbout(self, event): info = wx.AboutDialogInfo() info.Name = "wxBanker" info.Version = str(version.NUMBER) #info.Icon = brandedframe.getIcon() info.Copyright = _("Copyright") + " 2007-2010 Mike Rooney ([email protected])" info.Description = _("Simple personal finance.") info.WebSite = ("https://launchpad.net/wxbanker", "https://launchpad.net/wxbanker") info.Developers = [ 'Mike Rooney ([email protected])', 'Karel Kolman ([email protected])', ] info.Artists = [ 'Mark James (www.famfamfam.com/lab/icons/silk/)', ] translators = [ "sl: Primo¸ Jer¨e <*****@*****.**>", "es: Diego J. Romero López <*****@*****.**>", "hi: Ankur Kachru <*****@*****.**>", "pl: Tomasz 'Zen' Napierala <*****@*****.**>", "fr: Steve Dodier <*****@*****.**>", "de: Patrick Eigensatz <*****@*****.**>", ] info.Translators = [unicode(s, 'iso-8859-15') for s in translators] info.License = open(fileservice.getSharedFilePath("COPYING.txt")).read() wx.AboutBox(info)
def __init__(self): self.Exchanges = {"EUR": 1.0} self.OriginalPath = fileservice.getSharedFilePath("exchanges.xml") self._loadExchanges()
def fixturefile(name): return fileservice.getSharedFilePath("fixtures", name)