28 |
28 |
29 import util.paths as paths |
29 import util.paths as paths |
30 |
30 |
31 |
31 |
32 def GetCommunityHelpMsg(): |
32 def GetCommunityHelpMsg(): |
33 return _("The best place to ask questions about Beremiz/PLCOpenEditor\n" |
33 return _( |
34 "is project's mailing list: beremiz-devel@lists.sourceforge.net\n" |
34 "The best place to ask questions about Beremiz/PLCOpenEditor\n" |
35 "\n" |
35 "is project's mailing list: beremiz-devel@lists.sourceforge.net\n" |
36 "This is the main community support channel.\n" |
36 "\n" |
37 "For posting it is required to be subscribed to the mailing list.\n" |
37 "This is the main community support channel.\n" |
38 "\n" |
38 "For posting it is required to be subscribed to the mailing list.\n" |
39 "You can subscribe to the list here:\n" |
39 "\n" |
40 "https://lists.sourceforge.net/lists/listinfo/beremiz-devel") |
40 "You can subscribe to the list here:\n" |
|
41 "https://lists.sourceforge.net/lists/listinfo/beremiz-devel" |
|
42 ) |
41 |
43 |
42 |
44 |
43 def GetAppRevision(): |
45 def GetAppRevision(): |
44 rev = None |
46 rev = None |
45 app_dir = paths.AbsDir(__file__) |
47 app_dir = paths.AbsDir(__file__) |
82 |
84 |
83 info.Description = _("Open Source framework for automation, " |
85 info.Description = _("Open Source framework for automation, " |
84 "implemented IEC 61131 IDE with constantly growing set of extensions " |
86 "implemented IEC 61131 IDE with constantly growing set of extensions " |
85 "and flexible PLC runtime.") |
87 "and flexible PLC runtime.") |
86 |
88 |
87 info.Developers = ("Andrey Skvortsov <andrej.skvortzov@gmail.com>", |
89 info.Developers = ( |
88 "Sergey Surkov <surkov.sv@summatechnology.ru>", |
90 "Andrey Skvortsov <andrej.skvortzov@gmail.com>", |
89 "Edouard Tisserant <edouard.tisserant@gmail.com>", |
91 "Sergey Surkov <surkov.sv@summatechnology.ru>", |
90 "Laurent Bessard <laurent.bessard@gmail.com>") |
92 "Edouard Tisserant <edouard.tisserant@gmail.com>", |
|
93 "Laurent Bessard <laurent.bessard@gmail.com>") |
91 |
94 |
92 info.License = ('\n This program is free software; you can redistribute it and/or\n' |
95 info.License = ( |
93 ' modify it under the terms of the GNU General Public License\n' |
96 '\n This program is free software; you can redistribute it and/or\n' |
94 ' as published by the Free Software Foundation; either version 2\n' |
97 ' modify it under the terms of the GNU General Public License\n' |
95 ' of the License, or (at your option) any later version.\n' |
98 ' as published by the Free Software Foundation; either version 2\n' |
96 '\n' |
99 ' of the License, or (at your option) any later version.\n' |
97 ' This program is distributed in the hope that it will be useful,\n' |
100 '\n' |
98 ' but WITHOUT ANY WARRANTY; without even the implied warranty of\n' |
101 ' This program is distributed in the hope that it will be useful,\n' |
99 ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n' |
102 ' but WITHOUT ANY WARRANTY; without even the implied warranty of\n' |
100 ' GNU General Public License below for more details.\n' |
103 ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n' |
101 '\n' |
104 ' GNU General Public License below for more details.\n' |
102 '\n' |
105 '\n' |
103 '\n' |
106 '\n' |
104 '') |
107 '\n' |
|
108 '' |
|
109 ) |
105 |
110 |
106 # read license file |
111 # read license file |
107 path = paths.AbsDir(__file__) |
112 path = paths.AbsDir(__file__) |
108 license_path = os.path.join(path, "COPYING") |
113 license_path = os.path.join(path, "COPYING") |
109 license = '' |
114 license = '' |
111 with open(license_path) as f: |
116 with open(license_path) as f: |
112 info.License += f.read() |
117 info.License += f.read() |
113 |
118 |
114 info.Icon = wx.Icon(os.path.join(path, "images", "about_brz_logo.png"), wx.BITMAP_TYPE_PNG) |
119 info.Icon = wx.Icon(os.path.join(path, "images", "about_brz_logo.png"), wx.BITMAP_TYPE_PNG) |
115 |
120 |
116 info.Translators = ("Russian\t- Andrey Skvortsov <andrej.skvortzov@gmail.com>", |
121 info.Translators = ( |
117 "Korean\t- Reinhard Lee <lij3105@gmail.com>", |
122 "Russian\t- Andrey Skvortsov <andrej.skvortzov@gmail.com>", |
118 "German\t- Mark Muzenhardt <mark.muzenhardt@gmail.com>", |
123 "Korean\t- Reinhard Lee <lij3105@gmail.com>", |
119 "French\t- Laurent Bessard <laurent.bessard@gmail.com>", |
124 "German\t- Mark Muzenhardt <mark.muzenhardt@gmail.com>", |
120 " \t Fabien M <mail@fabienm.eu>", |
125 "French\t- Laurent Bessard <laurent.bessard@gmail.com>", |
121 "Slovenian\t- Janez Pregelj", |
126 " \t Fabien M <mail@fabienm.eu>", |
122 "Portuguese\t- Thiago Alves <thiagoralves@gmail.com>" |
127 "Slovenian\t- Janez Pregelj", |
|
128 "Portuguese\t- Thiago Alves <thiagoralves@gmail.com>" |
123 ) |
129 ) |
124 return info |
130 return info |
125 |
131 |
126 |
132 |
127 app_version = "1.2" |
133 app_version = "1.2" |