mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
re-checkin with "ISO-8859 translation" turned on.
This commit is contained in:
parent
b8bf163dde
commit
edab93939e
12 changed files with 58 additions and 58 deletions
|
@ -14,9 +14,9 @@ class _modulebrowser:
|
|||
|
||||
#self.window.bevelbox = W.BevelBox((0, 0, 0, 56))
|
||||
self.window.openbutton = W.Button((10, 8, 80, 16), "Open", self.openbuttonhit)
|
||||
self.window.browsebutton = W.Button((100, 8, 80, 16), "BrowseÉ", self.browsebuttonhit)
|
||||
self.window.browsebutton = W.Button((100, 8, 80, 16), "BrowseŠ", self.browsebuttonhit)
|
||||
self.window.reloadbutton = W.Button((10, 32, 80, 16), "Reload", self.reloadbuttonhit)
|
||||
self.window.openotherbutton = W.Button((100, 32, 80, 16), "Open otherÉ", self.openother)
|
||||
self.window.openotherbutton = W.Button((100, 32, 80, 16), "Open otherŠ", self.openother)
|
||||
|
||||
self.window.openbutton.enable(0)
|
||||
self.window.reloadbutton.enable(0)
|
||||
|
@ -81,7 +81,7 @@ class _modulebrowser:
|
|||
file, path, description = imp.find_module(modname)
|
||||
except ImportError:
|
||||
W.SetCursor("arrow")
|
||||
W.Message("CanÕt find file for module Ò%sÓ."
|
||||
W.Message("Can¹t find file for module ³%s²."
|
||||
% modname)
|
||||
else:
|
||||
self.openscript(path, modname)
|
||||
|
@ -93,7 +93,7 @@ class _modulebrowser:
|
|||
elif path[-4:] in ['.pyc', '.pyo']:
|
||||
W.getapplication().openscript(path[:-1], modname=modname)
|
||||
else:
|
||||
W.Message("CanÕt edit Ò%sÓ; it might be a shared library or a .pyc file."
|
||||
W.Message("Can¹t edit ³%s²; it might be a shared library or a .pyc file."
|
||||
% modname)
|
||||
|
||||
def openother(self):
|
||||
|
@ -106,9 +106,9 @@ class _modulebrowser:
|
|||
file, path, description = imp.find_module(modname)
|
||||
except ImportError:
|
||||
if modname in sys.builtin_module_names:
|
||||
alerttext = "Ò%sÓ is a builtin module, which you canÕt edit." % modname
|
||||
alerttext = "³%s² is a builtin module, which you can¹t edit." % modname
|
||||
else:
|
||||
alerttext = "No module named Ò%sÓ." % modname
|
||||
alerttext = "No module named ³%s²." % modname
|
||||
raise W.AlertError, alerttext
|
||||
self.openscript(path, modname)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue