mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the same macroman characters.
This commit is contained in:
parent
dfebe90c4c
commit
6f84ed5afc
48 changed files with 234 additions and 232 deletions
|
@ -212,7 +212,7 @@ class folder(aetools.ComponentItem):
|
|||
folders = folder
|
||||
|
||||
class desktop_2d_object(aetools.ComponentItem):
|
||||
"""desktop-object - Desktop-object is the class of the ³desktop² object """
|
||||
"""desktop-object - Desktop-object is the class of the –desktop” object """
|
||||
want = 'cdsk'
|
||||
class startup_disk(aetools.NProperty):
|
||||
"""startup disk - the startup disk """
|
||||
|
@ -242,7 +242,7 @@ class trash(aetools.NProperty):
|
|||
# element 'dsut' as ['indx', 'name']
|
||||
|
||||
class trash_2d_object(aetools.ComponentItem):
|
||||
"""trash-object - Trash-object is the class of the ³trash² object """
|
||||
"""trash-object - Trash-object is the class of the –trash” object """
|
||||
want = 'ctrs'
|
||||
class warns_before_emptying(aetools.NProperty):
|
||||
"""warns before emptying - Display a dialog when emptying the trash? """
|
||||
|
|
|
@ -24,7 +24,7 @@ class properties(aetools.NProperty):
|
|||
which = 'qpro'
|
||||
want = 'reco'
|
||||
class clipboard(aetools.NProperty):
|
||||
"""clipboard - the Finder¹s clipboard window """
|
||||
"""clipboard - the FinderÕs clipboard window """
|
||||
which = 'pcli'
|
||||
want = 'obj '
|
||||
class largest_free_block(aetools.NProperty):
|
||||
|
@ -32,11 +32,11 @@ class largest_free_block(aetools.NProperty):
|
|||
which = 'mfre'
|
||||
want = 'long'
|
||||
class name(aetools.NProperty):
|
||||
"""name - the Finder¹s name """
|
||||
"""name - the FinderÕs name """
|
||||
which = 'pnam'
|
||||
want = 'itxt'
|
||||
class visible(aetools.NProperty):
|
||||
"""visible - Is the Finder¹s layer visible? """
|
||||
"""visible - Is the FinderÕs layer visible? """
|
||||
which = 'pvis'
|
||||
want = 'bool'
|
||||
class frontmost(aetools.NProperty):
|
||||
|
@ -48,7 +48,7 @@ class selection(aetools.NProperty):
|
|||
which = 'sele'
|
||||
want = 'obj '
|
||||
class insertion_location(aetools.NProperty):
|
||||
"""insertion location - the container in which a new folder would appear if ³New Folder² was selected """
|
||||
"""insertion location - the container in which a new folder would appear if –New Folder” was selected """
|
||||
which = 'pins'
|
||||
want = 'obj '
|
||||
class file_sharing(aetools.NProperty):
|
||||
|
@ -68,7 +68,7 @@ class version(aetools.NProperty):
|
|||
which = 'vers'
|
||||
want = 'itxt'
|
||||
class about_this_computer(aetools.NProperty):
|
||||
"""about this computer - the ³About this Computer² dialog and the list of running processes displayed in it """
|
||||
"""about this computer - the –About this Computer” dialog and the list of running processes displayed in it """
|
||||
which = 'abbx'
|
||||
want = 'obj '
|
||||
class desktop(aetools.NProperty):
|
||||
|
@ -195,7 +195,7 @@ class internet_location(aetools.ComponentItem):
|
|||
internet_locations = internet_location
|
||||
|
||||
class information_window(aetools.ComponentItem):
|
||||
"""information window - An information window (opened by ³Get Info²) """
|
||||
"""information window - An information window (opened by –Get Info”) """
|
||||
want = 'iwnd'
|
||||
class comment(aetools.NProperty):
|
||||
"""comment - the comment """
|
||||
|
@ -359,7 +359,7 @@ class protected(aetools.NProperty):
|
|||
want = 'bool'
|
||||
|
||||
class trash_2d_object(aetools.ComponentItem):
|
||||
"""trash-object - Trash-object is the class of the ³trash² object """
|
||||
"""trash-object - Trash-object is the class of the –trash” object """
|
||||
want = 'ctrs'
|
||||
|
||||
class preferences(aetools.ComponentItem):
|
||||
|
|
|
@ -39,18 +39,18 @@ class stationery(aetools.NProperty):
|
|||
which = 'pspd'
|
||||
want = 'bool'
|
||||
class product_version(aetools.NProperty):
|
||||
"""product version - the version of the product (visible at the top of the ³Get Info² window) """
|
||||
"""product version - the version of the product (visible at the top of the –Get Info” window) """
|
||||
which = 'ver2'
|
||||
want = 'itxt'
|
||||
class version(aetools.NProperty):
|
||||
"""version - the version of the file (visible at the bottom of the ³Get Info² window) """
|
||||
"""version - the version of the file (visible at the bottom of the –Get Info” window) """
|
||||
which = 'vers'
|
||||
want = 'itxt'
|
||||
|
||||
files = file
|
||||
|
||||
class alias_file(aetools.ComponentItem):
|
||||
"""alias file - An alias file (created with ³Make Alias²) """
|
||||
"""alias file - An alias file (created with –Make Alias”) """
|
||||
want = 'alia'
|
||||
class original_item(aetools.NProperty):
|
||||
"""original item - the original item pointed to by the alias """
|
||||
|
|
|
@ -145,7 +145,7 @@ class application(aetools.ComponentItem):
|
|||
"""application - The Finder """
|
||||
want = 'capp'
|
||||
class clipboard(aetools.NProperty):
|
||||
"""clipboard - the Finder¹s clipboard window """
|
||||
"""clipboard - the FinderÕs clipboard window """
|
||||
which = 'pcli'
|
||||
want = 'obj '
|
||||
class largest_free_block(aetools.NProperty):
|
||||
|
@ -153,11 +153,11 @@ class largest_free_block(aetools.NProperty):
|
|||
which = 'mfre'
|
||||
want = 'long'
|
||||
class name(aetools.NProperty):
|
||||
"""name - the Finder¹s name """
|
||||
"""name - the FinderÕs name """
|
||||
which = 'pnam'
|
||||
want = 'itxt'
|
||||
class visible(aetools.NProperty):
|
||||
"""visible - Is the Finder¹s layer visible? """
|
||||
"""visible - Is the FinderÕs layer visible? """
|
||||
which = 'pvis'
|
||||
want = 'bool'
|
||||
class frontmost(aetools.NProperty):
|
||||
|
@ -169,7 +169,7 @@ class selection(aetools.NProperty):
|
|||
which = 'sele'
|
||||
want = 'obj '
|
||||
class insertion_location(aetools.NProperty):
|
||||
"""insertion location - the container in which a new folder would appear if ³New Folder² was selected """
|
||||
"""insertion location - the container in which a new folder would appear if –New Folder” was selected """
|
||||
which = 'pins'
|
||||
want = 'obj '
|
||||
class file_sharing(aetools.NProperty):
|
||||
|
@ -189,7 +189,7 @@ class version(aetools.NProperty):
|
|||
which = 'vers'
|
||||
want = 'itxt'
|
||||
class about_this_computer(aetools.NProperty):
|
||||
"""about this computer - the ³About this Computer² dialog and the list of running processes displayed in it """
|
||||
"""about this computer - the –About this Computer” dialog and the list of running processes displayed in it """
|
||||
which = 'abbx'
|
||||
want = 'obj '
|
||||
class desktop(aetools.NProperty):
|
||||
|
@ -235,35 +235,35 @@ class system_folder(aetools.NProperty):
|
|||
which = 'macs'
|
||||
want = 'obj '
|
||||
class apple_menu_items_folder(aetools.NProperty):
|
||||
"""apple menu items folder - the special folder named ³Apple Menu Items,² the contents of which appear in the Apple menu """
|
||||
"""apple menu items folder - the special folder named –Apple Menu Items,” the contents of which appear in the Apple menu """
|
||||
which = 'amnu'
|
||||
want = 'obj '
|
||||
class control_panels_folder(aetools.NProperty):
|
||||
"""control panels folder - the special folder named ³Control Panels² """
|
||||
"""control panels folder - the special folder named –Control Panels” """
|
||||
which = 'ctrl'
|
||||
want = 'obj '
|
||||
class extensions_folder(aetools.NProperty):
|
||||
"""extensions folder - the special folder named ³Extensions² """
|
||||
"""extensions folder - the special folder named –Extensions” """
|
||||
which = 'extn'
|
||||
want = 'obj '
|
||||
class fonts_folder(aetools.NProperty):
|
||||
"""fonts folder - the special folder named ³Fonts² """
|
||||
"""fonts folder - the special folder named –Fonts” """
|
||||
which = 'font'
|
||||
want = 'obj '
|
||||
class preferences_folder(aetools.NProperty):
|
||||
"""preferences folder - the special folder named ³Preferences² """
|
||||
"""preferences folder - the special folder named –Preferences” """
|
||||
which = 'pref'
|
||||
want = 'obj '
|
||||
class shutdown_items_folder(aetools.NProperty):
|
||||
"""shutdown items folder - the special folder named ³Shutdown Items² """
|
||||
"""shutdown items folder - the special folder named –Shutdown Items” """
|
||||
which = 'shdf'
|
||||
want = 'obj '
|
||||
class startup_items_folder(aetools.NProperty):
|
||||
"""startup items folder - the special folder named ³Startup Items² """
|
||||
"""startup items folder - the special folder named –Startup Items” """
|
||||
which = 'strt'
|
||||
want = 'obj '
|
||||
class temporary_items_folder(aetools.NProperty):
|
||||
"""temporary items folder - the special folder named ³Temporary Items² (invisible) """
|
||||
"""temporary items folder - the special folder named –Temporary Items” (invisible) """
|
||||
which = 'temp'
|
||||
want = 'obj '
|
||||
import Earlier_terms
|
||||
|
|
|
@ -79,7 +79,7 @@ class Finder_items_Events:
|
|||
|
||||
def empty(self, _object=None, _attributes={}, **_arguments):
|
||||
"""empty: Empty the trash
|
||||
Required argument: ³empty² and ³empty trash² both do the same thing
|
||||
Required argument: –empty” and –empty trash” both do the same thing
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'fndr'
|
||||
|
@ -227,7 +227,7 @@ class description(aetools.NProperty):
|
|||
which = 'dscr'
|
||||
want = 'itxt'
|
||||
class comment(aetools.NProperty):
|
||||
"""comment - the comment of the item, displayed in the ³Get Info² window """
|
||||
"""comment - the comment of the item, displayed in the –Get Info” window """
|
||||
which = 'comt'
|
||||
want = 'itxt'
|
||||
class size(aetools.NProperty):
|
||||
|
|
|
@ -59,7 +59,7 @@ class locked_obsolete(aetools.NProperty):
|
|||
want = 'bool'
|
||||
|
||||
class information_window(aetools.ComponentItem):
|
||||
"""information window - An information window (opened by ³Get Info²) """
|
||||
"""information window - An information window (opened by –Get Info”) """
|
||||
want = 'iwnd'
|
||||
class creation_date_obsolete(aetools.NProperty):
|
||||
"""creation date obsolete - the date on which the item was created (DEPRECATED - for use with scripts compiled before Finder 8.0. Will be removed in the next release) """
|
||||
|
@ -87,7 +87,7 @@ class sharing_window(aetools.NProperty):
|
|||
want = 'obj '
|
||||
|
||||
class sharing_window(aetools.ComponentItem):
|
||||
"""sharing window - A sharing window (opened by ³Sharingв) """
|
||||
"""sharing window - A sharing window (opened by –Sharingƒ”) """
|
||||
want = 'swnd'
|
||||
class sharable_container(aetools.NProperty):
|
||||
"""sharable container - the sharable container from which the window was opened """
|
||||
|
|
|
@ -163,7 +163,7 @@ class small_4_bit_icon(aetools.NProperty):
|
|||
want = 'ics4'
|
||||
|
||||
class alias_list(aetools.ComponentItem):
|
||||
"""alias list - A list of aliases. Use Œas alias list¹ when a list of aliases is needed (instead of a list of file system item references). """
|
||||
"""alias list - A list of aliases. Use •as alias listÕ when a list of aliases is needed (instead of a list of file system item references). """
|
||||
want = 'alst'
|
||||
preferences._propdict = {
|
||||
'window' : window,
|
||||
|
|
|
@ -162,7 +162,7 @@ class uses_relative_dates(aetools.NProperty):
|
|||
container_windows = container_window
|
||||
|
||||
class information_window(aetools.ComponentItem):
|
||||
"""information window - An information window (opened by ³Get Info²) """
|
||||
"""information window - An information window (opened by –Get Info”) """
|
||||
want = 'iwnd'
|
||||
class current_panel(aetools.NProperty):
|
||||
"""current panel - the current panel in the information window """
|
||||
|
@ -217,11 +217,11 @@ class warns_before_emptying(aetools.NProperty):
|
|||
which = 'warn'
|
||||
want = 'bool'
|
||||
class product_version(aetools.NProperty):
|
||||
"""product version - the version of the product (visible at the top of the ³Get Info² window) """
|
||||
"""product version - the version of the product (visible at the top of the –Get Info” window) """
|
||||
which = 'ver2'
|
||||
want = 'itxt'
|
||||
class version(aetools.NProperty):
|
||||
"""version - the version of the file (visible at the bottom of the ³Get Info² window) """
|
||||
"""version - the version of the file (visible at the bottom of the –Get Info” window) """
|
||||
which = 'vers'
|
||||
want = 'itxt'
|
||||
|
||||
|
@ -238,7 +238,7 @@ class clipping_window(aetools.ComponentItem):
|
|||
clipping_windows = clipping_window
|
||||
|
||||
class content_space(aetools.ComponentItem):
|
||||
"""content space - All windows, including the desktop window (³Window² does not include the desktop window) """
|
||||
"""content space - All windows, including the desktop window (–Window” does not include the desktop window) """
|
||||
want = 'dwnd'
|
||||
|
||||
content_spaces = content_space
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue