/[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 2525 by bernhard, Thu Jan 20 10:00:34 2005 UTC revision 2582 by jan, Thu Mar 10 22:47:14 2005 UTC
# Line 1  Line 1 
1  # Copyright (c) 2001, 2002, 2003, 2004 by Intevation GmbH  # Copyright (c) 2001-2005 by Intevation GmbH
2  # Authors:  # Authors:
3  # Jonathan Coles <[email protected]>  # Jonathan Coles <[email protected]>
4  # Bernhard Reiter <[email protected]>  # Bernhard Reiter <[email protected]>
# Line 125  class About(wxDialog): Line 125  class About(wxDialog):
125                  for author in ext.authors:                  for author in ext.authors:
126                      text+= '\t%s\n' % author                      text+= '\t%s\n' % author
127                  text += ext.desc                  text += ext.desc
128                    text += '\n'
129                    text += 'Status: %s' % ext.status
130                  text += '\n\n'                  text += '\n\n'
131          else:          else:
132              text += _('\tNone registered.\n')              text += _('\tNone registered.\n')
# Line 171  def unicodeToLocale(unicodeStr): Line 173  def unicodeToLocale(unicodeStr):
173      # instead.      # instead.
174      locale=getdefaultlocale()[1]      locale=getdefaultlocale()[1]
175      if locale is None:      if locale is None:
176          locale = 'iso-8859-15'          locale = 'ascii'
177      return unicodeStr.encode(locale)      return unicodeStr.encode(locale,'replace')

Legend:
Removed from v.2525  
changed lines
  Added in v.2582

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26