version.py
branchwxPython4
changeset 3570 eb915a9fdcb0
parent 2515 6551a73702a3
child 3587 295f21f9c581
equal deleted inserted replaced
3569:419f17564583 3570:eb915a9fdcb0
    69         except Exception:
    69         except Exception:
    70             pass
    70             pass
    71     return rev
    71     return rev
    72 
    72 
    73 
    73 
    74 def GetAboutDialogInfo():
    74 def GetAboutDialogInfo(info):
    75     import wx
    75 
    76     info = wx.AboutDialogInfo()
       
    77 
       
    78     info.Name = "Beremiz"
       
    79     info.Version = app_version
    76     info.Version = app_version
    80 
    77 
    81     info.Copyright = ""
    78     info.Copyright = ""
       
    79     info.Copyright += "(C) 2006-2022 Edouard Tisserant\n"
       
    80     info.Copyright += "(C) 2003-2021 Mario de Sousa\n"
    82     info.Copyright += "(C) 2016-2018 Andrey Skvortsov\n"
    81     info.Copyright += "(C) 2016-2018 Andrey Skvortsov\n"
    83     info.Copyright += "(C) 2008-2018 Eduard Tisserant\n"
    82     info.Copyright += "(C) 2006-2013 Laurent Bessard\n"
    84     info.Copyright += "(C) 2008-2015 Laurent Bessard"
       
    85 
    83 
    86     info.WebSite = ("http://beremiz.org", "beremiz.org")
    84     info.WebSite = ("http://beremiz.org", "beremiz.org")
    87 
    85 
    88     info.Description = _("Open Source framework for automation, "
       
    89                          "implemented IEC 61131 IDE with constantly growing set of extensions "
       
    90                          "and flexible PLC runtime.")
       
    91 
       
    92     info.Developers = (
    86     info.Developers = (
       
    87         "Edouard Tisserant <contact@beremiz.fr>",
       
    88         "Mario de Sousa <msousa@fe.up.pt>",
    93         "Andrey Skvortsov <andrej.skvortzov@gmail.com>",
    89         "Andrey Skvortsov <andrej.skvortzov@gmail.com>",
    94         "Sergey Surkov <surkov.sv@summatechnology.ru>",
    90         "Sergey Surkov <surkov.sv@summatechnology.ru>",
    95         "Edouard Tisserant <edouard.tisserant@gmail.com>",
       
    96         "Laurent Bessard <laurent.bessard@gmail.com>")
    91         "Laurent Bessard <laurent.bessard@gmail.com>")
    97 
    92 
    98     info.License = (
    93     info.License = (
    99         '\n This program is free software; you can redistribute it and/or\n'
    94         '\n This program is free software; you can redistribute it and/or\n'
   100         ' modify it under the terms of the GNU General Public License\n'
    95         ' modify it under the terms of the GNU General Public License\n'
   116     license_path = os.path.join(path, "COPYING")
   111     license_path = os.path.join(path, "COPYING")
   117     if os.path.exists(license_path):
   112     if os.path.exists(license_path):
   118         with open(license_path) as f:
   113         with open(license_path) as f:
   119             info.License += f.read()
   114             info.License += f.read()
   120 
   115 
   121     info.Icon = wx.Icon(os.path.join(path, "images", "about_brz_logo.png"), wx.BITMAP_TYPE_PNG)
       
   122 
       
   123     info.Translators = (
   116     info.Translators = (
   124         "Basque",
   117         "Basque",
   125         "José Miguel Andonegi <jm.andonegi@gmail.com>, 2019",
   118         "José Miguel Andonegi <jm.andonegi@gmail.com>, 2019",
   126         "",
   119         "",
   127 
   120