andrej@1565: #!/usr/bin/env python andrej@1565: # -*- coding: utf-8 -*- andrej@1565: andrej@1565: # This file is part of Beremiz, a Integrated Development Environment for andrej@1565: # programming IEC 61131-3 automates supporting plcopen standard and CanFestival. andrej@1565: # andrej@1565: # Copyright (C) 2016: Andrey Skvortsov andrej@1565: # andrej@1565: # See COPYING file for copyrights details. andrej@1565: # andrej@1565: # This program is free software; you can redistribute it and/or andrej@1565: # modify it under the terms of the GNU General Public License andrej@1565: # as published by the Free Software Foundation; either version 2 andrej@1565: # of the License, or (at your option) any later version. andrej@1565: # andrej@1565: # This program is distributed in the hope that it will be useful, andrej@1565: # but WITHOUT ANY WARRANTY; without even the implied warranty of andrej@1565: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the andrej@1565: # GNU General Public License for more details. andrej@1565: # andrej@1565: # You should have received a copy of the GNU General Public License andrej@1565: # along with this program; if not, write to the Free Software andrej@1565: # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. andrej@1565: andrej@1565: kinsamanka@3750: kinsamanka@3750: kinsamanka@3750: andrej@2239: andrej@1732: import os andrej@1732: andrej@1692: def GetCommunityHelpMsg(): andrej@1768: return _( andrej@1768: "The best place to ask questions about Beremiz/PLCOpenEditor\n" andrej@1768: "is project's mailing list: beremiz-devel@lists.sourceforge.net\n" andrej@1768: "\n" andrej@1768: "This is the main community support channel.\n" andrej@1768: "For posting it is required to be subscribed to the mailing list.\n" andrej@1768: "\n" andrej@1768: "You can subscribe to the list here:\n" andrej@1768: "https://lists.sourceforge.net/lists/listinfo/beremiz-devel" andrej@1768: ) andrej@1692: andrej@1736: edouard@3570: def GetAboutDialogInfo(info): edouard@3570: andrej@1565: info.Version = app_version andrej@1735: andrej@1758: info.Copyright = "" edouard@3797: info.Copyright += "(C) 2006-2023 Edouard Tisserant\n" edouard@3797: info.Copyright += "(C) 2003-2023 Mario de Sousa\n" edouard@3844: info.Copyright += "(C) 2022-2023 GP Orcullo\n" andrej@2351: info.Copyright += "(C) 2016-2018 Andrey Skvortsov\n" edouard@3570: info.Copyright += "(C) 2006-2013 Laurent Bessard\n" andrej@1565: andrej@1565: info.WebSite = ("http://beremiz.org", "beremiz.org") andrej@1735: andrej@1768: info.Developers = ( edouard@3570: "Edouard Tisserant <contact@beremiz.fr>", edouard@3570: "Mario de Sousa <msousa@fe.up.pt>", edouard@3844: "GP Orcullo <kinsamanka@gmail.com>", andrej@1768: "Andrey Skvortsov <andrej.skvortzov@gmail.com>", andrej@1768: "Sergey Surkov <surkov.sv@summatechnology.ru>", andrej@1768: "Laurent Bessard <laurent.bessard@gmail.com>") andrej@1565: andrej@1768: info.License = ( andrej@1768: '\n This program is free software; you can redistribute it and/or\n' andrej@1768: ' modify it under the terms of the GNU General Public License\n' andrej@1768: ' as published by the Free Software Foundation; either version 2\n' andrej@1768: ' of the License, or (at your option) any later version.\n' andrej@1768: '\n' andrej@1768: ' This program is distributed in the hope that it will be useful,\n' andrej@1768: ' but WITHOUT ANY WARRANTY; without even the implied warranty of\n' andrej@1768: ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n' andrej@1768: ' GNU General Public License below for more details.\n' andrej@1768: '\n' andrej@1768: '\n' andrej@1768: '\n' andrej@1768: '' andrej@1768: ) andrej@1565: andrej@1565: # read license file edouard@3587: license_path = os.path.join( edouard@3587: os.path.dirname(os.path.realpath(__file__)), "COPYING") andrej@1565: if os.path.exists(license_path): andrej@1565: with open(license_path) as f: andrej@1565: info.License += f.read() andrej@1565: andrej@1768: info.Translators = ( andrej@2515: "Basque", andrej@2515: "José Miguel Andonegi <jm.andonegi@gmail.com>, 2019", andrej@2515: "", andrej@2515: andrej@1803: "Bengali (Bangladesh)", andrej@1803: " Adhir Dutta <likhon52@gmail.com>, 2017", andrej@1803: "", andrej@1803: andrej@1803: "Chinese", andrej@2351: " Frank Guan <gpfrank@163.com>, 2018", andrej@2351: " Tango Wu <wuyangtang@live.com>, 2017", andrej@2351: " Yiwei Yan <523136664@qq.com>, 2018", andrej@2515: " Ji Wang <2485567515@qq.com>, 2019", andrej@2515: " ç‚ æ›¾ <15627997@qq.com>, 2019", edouard@3797: " Gastonfeng<gastonfeng@gmail.com>, 2019", andrej@2351: "", andrej@2351: edouard@3910: "Czech", edouard@3910: " Martin Pihrt <martinpihrt@seznam.cz>", edouard@3910: "", edouard@3910: andrej@2351: "Dutch (Netherlands)", andrej@2515: " Martijn Berntsen <mxberntsen@gmail.com>, 2019", andrej@2351: " Jordy van der Heijden <jordyvanderheijden@gmail.com>, 2018", andrej@1803: "", andrej@1803: andrej@1803: "French", andrej@2351: " Edouard Tisserant <edouard.tisserant@gmail.com>, 2018", andrej@1803: " Fabien Marteau <mail@fabienm.eu>, 2017", andrej@1803: " Laurent Bessard <laurent.bessard@gmail.com>, 2008", andrej@1803: "", andrej@1803: andrej@1803: "German", andrej@1803: " Andrey Skvortsov <andrej.skvortzov@gmail.com>, 2017", andrej@2351: " Hendrik Knackstedt <h.knackstedt@stud.uni-hannover.de>, 2017 ", andrej@1803: " Mark Muzenhardt <mark.muzenhardt@gmail.com>, 2012", andrej@1803: "", andrej@1803: andrej@1803: "Hungarian", andrej@2351: " Krisztián Veress <krive001@gmail.com>, 2018", andrej@1803: " Gábor Véninger <veninger.gabor@gmail.com>, 2017", andrej@1803: "", andrej@1803: andrej@1803: "Italian", andrej@1803: " Luca Magnabosco <magnabosco.luca@gmail.com>, 2017", andrej@1803: " Manuele Conti <manuele.conti@sirius-es.it>, 2017", andrej@1803: "", andrej@1803: andrej@1803: "Korean", andrej@2351: " Ikhwan Kim <duo821228@gmail.com>, 2018", andrej@1803: " Reinhard Lee <lij3105@gmail.com>, 2012", andrej@1803: "", andrej@1803: andrej@2515: "Polish", andrej@2515: " Adam B <adisz.pl@gmail.com>, 2019", andrej@2515: "", andrej@2515: andrej@2351: "Portuguese", andrej@1803: " Pedro Coimbra <pcoimbra310@gmail.com>, 2017", andrej@1803: "", andrej@1803: andrej@1803: "Portuguese (Brazil)", andrej@2351: " Rodrigo Rolle <ro_pita@hotmail.com>, 2018", andrej@1803: " Thiago Alves <thiagoralves@gmail.com>, 2017", andrej@1803: "", andrej@1803: andrej@2351: "Romanian", andrej@2351: " Emil Saracutu <emil_saracutu@yahoo.com>, 2018", andrej@2351: "", andrej@2351: andrej@1803: "Russian", andrej@2351: " Andrey Skvortsov <andrej.skvortzov@gmail.com>, 2018", andrej@2351: " Sergey Surkov <surkov.sv@summatechnology.ru>, 2018", andrej@2351: " zx_alexis <zxalexis@gmail.com>, 2017", andrej@1803: "", andrej@1803: andrej@1803: "Slovenian", andrej@2351: " Janez Pregelj <janezpregelj@gmail.com>, 2018", andrej@2351: " Andraz Gregorcic <andraz.gregorcic@smarteh.si>, 2017", andrej@1803: "", andrej@1803: andrej@1803: "Spanish", andrej@2351: " Carlos Guilarte <guilartec@gmail.com>, 2018", andrej@2351: " Yegor Yefremov <yegorslists@googlemail.com>, 2018", andrej@2351: " Jorge Rojas, 2018", andrej@1803: " Marcial González de Armas <mgacod@gmail.com>, 2017", andrej@2351: " Nelson Mambre <nmambre@gmail.com>, 2017", andrej@2351: "", andrej@2351: andrej@2351: "Turkish", andrej@2351: " Ibrahim Kilicarslan <ibrahimhalilkilicarslan@outlook.com>, 2018", andrej@1803: "", andrej@1803: andrej@2515: "Vietnamese (Viet Nam)", andrej@2515: " Nhất Thìn, 2019", andrej@2515: "", andrej@2515: andrej@2515: andrej@1706: ) andrej@1565: return info andrej@1565: andrej@1749: edouard@3906: app_version = "1.4" edouard@3587: edouard@3587: if __name__ == "__main__": edouard@3587: print(app_version)