/[thuban]/trunk/thuban/Thuban/UI/about.py
ViewVC logotype

Diff of /trunk/thuban/Thuban/UI/about.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1583 by jan, Tue Aug 12 16:13:41 2003 UTC revision 1964 by bh, Wed Nov 19 19:48:47 2003 UTC
# Line 15  from wxPython.wx import * Line 15  from wxPython.wx import *
15    
16  from Thuban import _  from Thuban import _
17  from Thuban.version import versions  from Thuban.version import versions
18    from Thuban.Model.resource import gdal_support_status
19    
20  class About(wxDialog):  class About(wxDialog):
21    
# Line 27  class About(wxDialog): Line 28  class About(wxDialog):
28                    | wxRESIZE_BORDER,                    | wxRESIZE_BORDER,
29              size = (400, 250))              size = (400, 250))
30    
31          text = _(#"Build Date: %s\n"          lead_developer = 'Bernhard Herzog'
32              "%s\n\n"          developers = [ 'Jonathan Coles', 'Frank Koormann',
33              "Currently using:\n"                         'Martin M�ller', 'Jan-Oliver Wagner' ]
34              "\t%s\n"          translators = [ ( _('French'), 'Daniel Calvelo Aros' ),
35              "\t%s\n"                          ( _('German'), 'Bj�rn Broscheit'),
36              "\t%s\n"                          ( _('Italian'), 'Maurizio Napolitano'),
37              "\t%s\n"                          ( _('Russian'), 'Alex Shevlakov'),
38              "\t%s\n\n"                          ( _('Spanish'), 'Daniel Calvelo Aros') ]
39              "Compiled against:\n"          other_contributors = [ 'Jonathan Byron', 'Silke Reimer',
40              "\t%s\n"                                 'Bernhard Reiter' ]
41              "\t%s\n\n"          dyn_modules = [ ('wxPython', versions['wxPython']),
42              "Lead Developer:\n"                          ('Python',   versions['python']),
43              "\tBernhard Herzog\n\n"                          ('PySQLite', versions['pysqlite']),
44              "Developers:\n"                          ('SQLite',  versions['sqlite']),
45              "\tJonathan Coles\n"                          ('GDAL', versions.get('gdal', _('- not available'))),
46              "\tFrank Koormann\n"                          ('psycopg', versions.get('psycopg',
47              "\tMartin M�ller\n"                                                   _('- not available')))]
48              "\tJan-Oliver Wagner\n\n"          direct_modules = [ \
49              "Translators:\n"                  ('GTK',      versions.get('gtk', _('- not available'))),
50              "\tFrench: Daniel Calvelo Aros\n"                  ('proj',     versions['proj']) ]
51              "\tGerman: Bj�rn Broscheit\n"  
52              "\tItalian: Maurizio Napolitano\n"          text = 'Thuban %s\n\n' % versions['thuban-long']
53              "\tRussian: Alex Shevlakov\n"  
54              "\tSpanish: Daniel Calvelo Aros\n\n"          text += _('Currently using:\n')
55              "Other Contributors:\n"  
56              "\tJonathan Byron\n"          for name, version in dyn_modules:
57              "\tBernhard Reiter\n\n"              text+= '\t%s %s\n' % (name, version)
58              "Questions and comments can be sent to the following addresses:\n"          text += '\n'
59    
60            if gdal_support_status:
61                text += gdal_support_status + "\n\n"
62    
63            text += _('Compiled for:\n')
64    
65            for name, version in direct_modules:
66                text+= '\t%s %s\n' % (name, version)
67            text += '\n'
68    
69            text += _('Lead Developer:\n')
70            text += '\t%s\n\n' % lead_developer
71    
72            text += _('Developers:\n')
73            for name in developers:
74                text += '\t%s\n' % name
75            text += '\n'
76    
77            text += _('Translators:\n')
78            for lang, name in translators:
79                text += '\t%s: %s\n' % (lang, name)
80            text += '\n'
81    
82            text += _('Other Contributors:\n')
83            for name in other_contributors:
84                text += '\t%s\n' % name
85            text += '\n'
86    
87            text += \
88                _("Questions and comments can be sent to the following addresses:\n"
89              "\tThuban developers:\n\t\t<[email protected]>\n"              "\tThuban developers:\n\t\t<[email protected]>\n"
90              "\tThuban mailing list:\n\t\t<[email protected]>"              "\tThuban mailing list:\n\t\t<[email protected]>")
             % ("Thuban %s"      % versions['thuban-long'],  
                "wxPython %s"    % versions['wxPython'],  
                "Python %s"      % versions['python'],  
                "PySQLite %s"    % versions['pysqlite'],  
                "SQLite %s"      % versions['sqlite'],  
                "GDAL %s"        % versions.get('gdal', "- not available"),  
                "GTK %s"         % versions.get('gtk', "- not available"),  
                "proj %s"        % versions['proj']))  
91    
92          self.text = text          self.text = text
93    
94          text_title = wxStaticText(self, -1,          text_title = wxStaticText(self, -1,
95              "Thuban is a program for exploring geographic data.\n\n"              _("Thuban is a program for exploring geographic data.\n\n") +
96              "Copyright 2001-2003 Intevation GmbH.\n"              "Copyright 2001-2003 Intevation GmbH.\n" +
97              "Thuban is licensed under the GNU GPL",              _("Thuban is licensed under the GNU GPL"),
98                                    style=wxST_NO_AUTORESIZE|wxALIGN_CENTRE)                                    style=wxST_NO_AUTORESIZE|wxALIGN_CENTRE)
99    
100          textBox = wxTextCtrl(self, -1, text,          textBox = wxTextCtrl(self, -1, text,

Legend:
Removed from v.1583  
changed lines
  Added in v.1964

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26