equal
deleted
inserted
replaced
26 import subprocess |
26 import subprocess |
27 import os |
27 import os |
28 |
28 |
29 import util.paths as paths |
29 import util.paths as paths |
30 |
30 |
|
31 |
31 def GetCommunityHelpMsg(): |
32 def GetCommunityHelpMsg(): |
32 return _("The best place to ask questions about Beremiz/PLCOpenEditor\n" |
33 return _("The best place to ask questions about Beremiz/PLCOpenEditor\n" |
33 "is project's mailing list: beremiz-devel@lists.sourceforge.net\n" |
34 "is project's mailing list: beremiz-devel@lists.sourceforge.net\n" |
34 "\n" |
35 "\n" |
35 "This is the main community support channel.\n" |
36 "This is the main community support channel.\n" |
36 "For posting it is required to be subscribed to the mailing list.\n" |
37 "For posting it is required to be subscribed to the mailing list.\n" |
37 "\n" |
38 "\n" |
38 "You can subscribe to the list here:\n" |
39 "You can subscribe to the list here:\n" |
39 "https://lists.sourceforge.net/lists/listinfo/beremiz-devel") |
40 "https://lists.sourceforge.net/lists/listinfo/beremiz-devel") |
|
41 |
40 |
42 |
41 def GetAppRevision(): |
43 def GetAppRevision(): |
42 rev = None |
44 rev = None |
43 app_dir=paths.AbsDir(__file__) |
45 app_dir=paths.AbsDir(__file__) |
44 try: |
46 try: |
60 f = open(os.path.join(app_dir,"revision")) |
62 f = open(os.path.join(app_dir,"revision")) |
61 rev = f.readline() |
63 rev = f.readline() |
62 except: |
64 except: |
63 pass |
65 pass |
64 return rev |
66 return rev |
|
67 |
65 |
68 |
66 def GetAboutDialogInfo(): |
69 def GetAboutDialogInfo(): |
67 import wx |
70 import wx |
68 info = wx.AboutDialogInfo() |
71 info = wx.AboutDialogInfo() |
69 |
72 |