1 |
# Copyright (c) 2001, 2002, 2003 by Intevation GmbH |
# Copyright (c) 2001, 2002, 2003, 2004 by Intevation GmbH |
2 |
# Authors: |
# Authors: |
3 |
# Jonathan Coles <[email protected]> |
# Jonathan Coles <[email protected]> |
4 |
|
# Bernhard Reiter <[email protected]> |
5 |
# |
# |
6 |
# This program is free software under the GPL (>=v2) |
# This program is free software under the GPL (>=v2) |
7 |
# Read the file COPYING coming with Thuban for details. |
# Read the file COPYING coming with Thuban for details. |
16 |
|
|
17 |
from Thuban import _ |
from Thuban import _ |
18 |
from Thuban.version import versions |
from Thuban.version import versions |
19 |
|
from Thuban.Model.resource import gdal_support_status |
20 |
|
|
21 |
class About(wxDialog): |
class About(wxDialog): |
22 |
|
|
29 |
| wxRESIZE_BORDER, |
| wxRESIZE_BORDER, |
30 |
size = (400, 250)) |
size = (400, 250)) |
31 |
|
|
32 |
|
# Note: The source code is in ASCII, so we escape some |
33 |
|
# characters to get byte strings in latin1. |
34 |
lead_developer = 'Bernhard Herzog' |
lead_developer = 'Bernhard Herzog' |
35 |
developers = [ 'Jonathan Coles', 'Frank Koormann', |
developers = [ 'Jonathan Coles', 'Frank Koormann', |
36 |
'Martin M�ller', 'Jan-Oliver Wagner' ] |
'Martin M\xfcller', 'Jan-Oliver Wagner' ] |
37 |
translators = [ ( _('French'), 'Daniel Calvelo Aros' ), |
translators = [ ( _('French'), 'Daniel Calvelo Aros' ), |
38 |
( _('German'), 'Bj�rn Broscheit'), |
( _('German'), 'Bj\xf6rn Broscheit'), |
39 |
( _('Italian'), 'Maurizio Napolitano'), |
( _('Italian'), 'Maurizio Napolitano'), |
40 |
|
( _('Portuguese (Brazilian)'), 'Eduardo Patto Kanegae'), |
41 |
( _('Russian'), 'Alex Shevlakov'), |
( _('Russian'), 'Alex Shevlakov'), |
42 |
( _('Spanish'), 'Daniel Calvelo Aros') ] |
( _('Spanish'), 'Daniel Calvelo Aros') ] |
43 |
other_contributors = [ 'Jonathan Byron', 'Silke Reimer', |
other_contributors = [ 'Jonathan Byron', 'Silke Reimer', |
46 |
('Python', versions['python']), |
('Python', versions['python']), |
47 |
('PySQLite', versions['pysqlite']), |
('PySQLite', versions['pysqlite']), |
48 |
('SQLite', versions['sqlite']), |
('SQLite', versions['sqlite']), |
49 |
('GDAL', versions.get('gdal',_('- not available')))] |
('GDAL', versions.get('gdal', _('- not available'))), |
50 |
|
('psycopg', versions.get('psycopg', |
51 |
|
_('- not available')))] |
52 |
direct_modules = [ \ |
direct_modules = [ \ |
53 |
('GTK', versions.get('gtk', _('- not available'))), |
('GTK', versions.get('gtk', _('- not available'))), |
54 |
('proj', versions['proj']) ] |
('proj', versions['proj']) ] |
61 |
text+= '\t%s %s\n' % (name, version) |
text+= '\t%s %s\n' % (name, version) |
62 |
text += '\n' |
text += '\n' |
63 |
|
|
64 |
|
if gdal_support_status: |
65 |
|
text += gdal_support_status + "\n\n" |
66 |
|
|
67 |
text += _('Compiled for:\n') |
text += _('Compiled for:\n') |
68 |
|
|
69 |
for name, version in direct_modules: |
for name, version in direct_modules: |
90 |
|
|
91 |
text += \ |
text += \ |
92 |
_("Questions and comments can be sent to the following addresses:\n" |
_("Questions and comments can be sent to the following addresses:\n" |
93 |
"\tThuban developers:\n\t\t<[email protected]>\n" |
"\tGeneral list (public):\n\t\t<[email protected]>\n" |
94 |
"\tThuban mailing list:\n\t\t<[email protected]>") |
"\tDevelopers list (public):\n\t\t<[email protected]>\n" |
95 |
|
"\tThuban team at Intevation:\n\t\t<[email protected]>\n" |
96 |
|
) |
97 |
|
|
98 |
self.text = text |
self.text = text |
99 |
|
|
100 |
text_title = wxStaticText(self, -1, |
text_title = wxStaticText(self, -1, |
101 |
_("Thuban is a program for exploring geographic data.\n\n") + |
_("Thuban is a program for exploring geographic data.\n\n") + |
102 |
"Copyright 2001-2003 Intevation GmbH.\n" + |
"Copyright 2001-2004 Intevation GmbH.\n" + |
103 |
_("Thuban is licensed under the GNU GPL"), |
_("Thuban is licensed under the GNU GPL"), |
104 |
style=wxST_NO_AUTORESIZE|wxALIGN_CENTRE) |
style=wxST_NO_AUTORESIZE|wxALIGN_CENTRE) |
105 |
|
|