/[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 2053 by frank, Tue Feb 3 19:12:03 2004 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"          # Note: The source code is in ASCII, so we escape some
32              "%s\n\n"          # characters to get byte strings in latin1.
33              "Currently using:\n"          lead_developer = 'Bernhard Herzog'
34              "\t%s\n"          developers = [ 'Jonathan Coles', 'Frank Koormann',
35              "\t%s\n"                         'Martin M\xfcller', 'Jan-Oliver Wagner' ]
36              "\t%s\n"          translators = [ ( _('French'), 'Daniel Calvelo Aros' ),
37              "\t%s\n"                          ( _('German'), 'Bj\xf6rn Broscheit'),
38              "\t%s\n\n"                          ( _('Italian'), 'Maurizio Napolitano'),
39              "Compiled against:\n"                          ( _('Portuguese (Brazilian)'), 'Eduardo Patto Kanegae'),
40              "\t%s\n"                          ( _('Russian'), 'Alex Shevlakov'),
41              "\t%s\n\n"                          ( _('Spanish'), 'Daniel Calvelo Aros') ]
42              "Lead Developer:\n"          other_contributors = [ 'Jonathan Byron', 'Silke Reimer',
43              "\tBernhard Herzog\n\n"                                 'Bernhard Reiter' ]
44              "Developers:\n"          dyn_modules = [ ('wxPython', versions['wxPython']),
45              "\tJonathan Coles\n"                          ('Python',   versions['python']),
46              "\tFrank Koormann\n"                          ('PySQLite', versions['pysqlite']),
47              "\tMartin M�ller\n"                          ('SQLite',  versions['sqlite']),
48              "\tJan-Oliver Wagner\n\n"                          ('GDAL', versions.get('gdal', _('- not available'))),
49              "Translators:\n"                          ('psycopg', versions.get('psycopg',
50              "\tFrench: Daniel Calvelo Aros\n"                                                   _('- not available')))]
51              "\tGerman: Bj�rn Broscheit\n"          direct_modules = [ \
52              "\tItalian: Maurizio Napolitano\n"                  ('GTK',      versions.get('gtk', _('- not available'))),
53              "\tRussian: Alex Shevlakov\n"                  ('proj',     versions['proj']) ]
54              "\tSpanish: Daniel Calvelo Aros\n\n"  
55              "Other Contributors:\n"          text = 'Thuban %s\n\n' % versions['thuban-long']
56              "\tJonathan Byron\n"  
57              "\tBernhard Reiter\n\n"          text += _('Currently using:\n')
58              "Questions and comments can be sent to the following addresses:\n"  
59            for name, version in dyn_modules:
60                text+= '\t%s %s\n' % (name, version)
61            text += '\n'
62    
63            if gdal_support_status:
64                text += gdal_support_status + "\n\n"
65    
66            text += _('Compiled for:\n')
67    
68            for name, version in direct_modules:
69                text+= '\t%s %s\n' % (name, version)
70            text += '\n'
71    
72            text += _('Lead Developer:\n')
73            text += '\t%s\n\n' % lead_developer
74    
75            text += _('Developers:\n')
76            for name in developers:
77                text += '\t%s\n' % name
78            text += '\n'
79    
80            text += _('Translators:\n')
81            for lang, name in translators:
82                text += '\t%s: %s\n' % (lang, name)
83            text += '\n'
84    
85            text += _('Other Contributors:\n')
86            for name in other_contributors:
87                text += '\t%s\n' % name
88            text += '\n'
89    
90            text += \
91                _("Questions and comments can be sent to the following addresses:\n"
92              "\tThuban developers:\n\t\t<[email protected]>\n"              "\tThuban developers:\n\t\t<[email protected]>\n"
93              "\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']))  
94    
95          self.text = text          self.text = text
96    
97          text_title = wxStaticText(self, -1,          text_title = wxStaticText(self, -1,
98              "Thuban is a program for exploring geographic data.\n\n"              _("Thuban is a program for exploring geographic data.\n\n") +
99              "Copyright 2001-2003 Intevation GmbH.\n"              "Copyright 2001-2003 Intevation GmbH.\n" +
100              "Thuban is licensed under the GNU GPL",              _("Thuban is licensed under the GNU GPL"),
101                                    style=wxST_NO_AUTORESIZE|wxALIGN_CENTRE)                                    style=wxST_NO_AUTORESIZE|wxALIGN_CENTRE)
102    
103          textBox = wxTextCtrl(self, -1, text,          textBox = wxTextCtrl(self, -1, text,

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26