/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/about.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/about.py

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

revision 1568 by jan, Fri Aug 8 13:33:03 2003 UTC revision 1980 by bh, Tue Nov 25 15:59:18 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"          # 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"                          ( _('Russian'), 'Alex Shevlakov'),
40              "\t%s\n"                          ( _('Spanish'), 'Daniel Calvelo Aros') ]
41              "\t%s\n\n"          other_contributors = [ 'Jonathan Byron', 'Silke Reimer',
42              "Lead Developer:\n"                                 'Bernhard Reiter' ]
43              "\tBernhard Herzog\n\n"          dyn_modules = [ ('wxPython', versions['wxPython']),
44              "Developers:\n"                          ('Python',   versions['python']),
45              "\tJonathan Coles\n"                          ('PySQLite', versions['pysqlite']),
46              "\tFrank Koormann\n"                          ('SQLite',  versions['sqlite']),
47              "\tMartin M�ller\n"                          ('GDAL', versions.get('gdal', _('- not available'))),
48              "\tJan-Oliver Wagner\n\n"                          ('psycopg', versions.get('psycopg',
49              "Translators:\n"                                                   _('- not available')))]
50              "\tFrench: Daniel Calvelo Aros\n"          direct_modules = [ \
51              "\tItalian: Maurizio Napolitano\n"                  ('GTK',      versions.get('gtk', _('- not available'))),
52              "\tRussian: Alex Shevlakov\n"                  ('proj',     versions['proj']) ]
53              "\tSpanish: Daniel Calvelo Aros\n\n"  
54              "Other Contributors:\n"          text = 'Thuban %s\n\n' % versions['thuban-long']
55              "\tJonathan Byron\n"  
56              "\tBernhard Reiter\n\n"          text += _('Currently using:\n')
57              "Questions and comments can be sent to the following addresses:\n"  
58            for name, version in dyn_modules:
59                text+= '\t%s %s\n' % (name, version)
60            text += '\n'
61    
62            if gdal_support_status:
63                text += gdal_support_status + "\n\n"
64    
65            text += _('Compiled for:\n')
66    
67            for name, version in direct_modules:
68                text+= '\t%s %s\n' % (name, version)
69            text += '\n'
70    
71            text += _('Lead Developer:\n')
72            text += '\t%s\n\n' % lead_developer
73    
74            text += _('Developers:\n')
75            for name in developers:
76                text += '\t%s\n' % name
77            text += '\n'
78    
79            text += _('Translators:\n')
80            for lang, name in translators:
81                text += '\t%s: %s\n' % (lang, name)
82            text += '\n'
83    
84            text += _('Other Contributors:\n')
85            for name in other_contributors:
86                text += '\t%s\n' % name
87            text += '\n'
88    
89            text += \
90                _("Questions and comments can be sent to the following addresses:\n"
91              "\tThuban developers:\n\t\t<[email protected]>\n"              "\tThuban developers:\n\t\t<[email protected]>\n"
92              "\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']))  
93    
94          self.text = text          self.text = text
95    
96          text_title = wxStaticText(self, -1,          text_title = wxStaticText(self, -1,
97              "Thuban is a program for exploring geographic data.\n\n"              _("Thuban is a program for exploring geographic data.\n\n") +
98              "Copyright 2001-2003 Intevation GmbH.\n"              "Copyright 2001-2003 Intevation GmbH.\n" +
99              "Thuban is licensed under the GNU GPL",              _("Thuban is licensed under the GNU GPL"),
100                                    style=wxST_NO_AUTORESIZE|wxALIGN_CENTRE)                                    style=wxST_NO_AUTORESIZE|wxALIGN_CENTRE)
101    
102          textBox = wxTextCtrl(self, -1, text,          textBox = wxTextCtrl(self, -1, text,

Legend:
Removed from v.1568  
changed lines
  Added in v.1980

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26