From 749ff914bc4c7b3f503ea524570d032cc9115f50 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Wed, 22 Jun 2022 17:11:08 -0700 Subject: [PATCH] Remove 'do not localize' comments These were only used when initially extracting strings to seed the localization tables. No binary changes. --- desk.acc/calculator.s | 2 +- desk.acc/date.and.time.s | 20 ++++++++++---------- desk.acc/run.basic.here.s | 2 +- desk.acc/sci.calc.s | 2 +- desk.acc/show.font.file.s | 16 ++++++++-------- desk.acc/sort.directory.s | 2 +- desk.acc/this.apple.s | 4 ++-- desktop.system/desktop.system.s | 4 ++-- desktop/auxmem.s | 2 +- desktop/main.s | 16 ++++++++-------- desktop/res.s | 12 ++++++------ disk_copy/auxlc.s | 12 ++++++------ lib/file_dialog_res.s | 2 +- lib/invoker.s | 2 +- selector/app.s | 12 ++++++------ selector/ovl_file_copy.s | 6 +++--- 16 files changed, 58 insertions(+), 58 deletions(-) diff --git a/desk.acc/calculator.s b/desk.acc/calculator.s index 143aec2d..6485f651 100644 --- a/desk.acc/calculator.s +++ b/desk.acc/calculator.s @@ -371,7 +371,7 @@ text_buffer2: .res kTextBufferSize+2, 0 spaces_string: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " error_string: PASCAL_STRING res_string_error_string diff --git a/desk.acc/date.and.time.s b/desk.acc/date.and.time.s index 68279c66..1287c6a9 100644 --- a/desk.acc/date.and.time.s +++ b/desk.acc/date.and.time.s @@ -282,28 +282,28 @@ hour: .byte 0 minute: .byte 0 spaces_string: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " day_string: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " month_string: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " year_string: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " hour_string: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " minute_string: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " str_date_separator: - PASCAL_STRING "/" ; do not localize + PASCAL_STRING "/" str_time_separator: - PASCAL_STRING ":" ; do not localize + PASCAL_STRING ":" .params event_params kind: .byte 0 @@ -1091,9 +1091,9 @@ label_ok: label_cancel: PASCAL_STRING res_string_button_cancel ; button label label_uparrow: - PASCAL_STRING kGlyphUpArrow ; do not localize + PASCAL_STRING kGlyphUpArrow label_downarrow: - PASCAL_STRING kGlyphDownArrow ; do not localize + PASCAL_STRING kGlyphDownArrow ;;; ============================================================ ;;; Render the window contents diff --git a/desk.acc/run.basic.here.s b/desk.acc/run.basic.here.s index 144a63b0..77feab1b 100644 --- a/desk.acc/run.basic.here.s +++ b/desk.acc/run.basic.here.s @@ -163,7 +163,7 @@ path_length: .byte 0 str_basic_system: - PASCAL_STRING "BASIC.SYSTEM" ; do not localize + PASCAL_STRING "BASIC.SYSTEM" .endproc ;;; ============================================================ diff --git a/desk.acc/sci.calc.s b/desk.acc/sci.calc.s index 15171a49..cd55c173 100644 --- a/desk.acc/sci.calc.s +++ b/desk.acc/sci.calc.s @@ -468,7 +468,7 @@ text_buffer2: .res kTextBufferSize+2, 0 spaces_string: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " error_string: PASCAL_STRING res_string_error_string diff --git a/desk.acc/show.font.file.s b/desk.acc/show.font.file.s index ddeb8b75..96b165d2 100644 --- a/desk.acc/show.font.file.s +++ b/desk.acc/show.font.file.s @@ -392,14 +392,14 @@ char_label: .byte 0 ;;; ============================================================ -line1: PASCAL_STRING "\x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0A \x0B \x0C \x0D \x0E \x0F" ; do not localize -line2: PASCAL_STRING "\x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1A \x1B \x1C \x1D \x1E \x1F" ; do not localize -line3: PASCAL_STRING " ! \x22 # $ % & ' ( ) * + , - . /" ; do not localize -line4: PASCAL_STRING "0 1 2 3 4 5 6 7 8 9 : ; < = > ?" ; do not localize -line5: PASCAL_STRING "@ A B C D E F G H I J K L M N O" ; do not localize -line6: PASCAL_STRING "P Q R S T U V W X Y Z [ \x5C ] ^ _" ; do not localize -line7: PASCAL_STRING "` a b c d e f g h i j k l m n o" ; do not localize -line8: PASCAL_STRING "p q r s t u v w x y z { | } ~ \x7F" ; do not localize +line1: PASCAL_STRING "\x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0A \x0B \x0C \x0D \x0E \x0F" +line2: PASCAL_STRING "\x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1A \x1B \x1C \x1D \x1E \x1F" +line3: PASCAL_STRING " ! \x22 # $ % & ' ( ) * + , - . /" +line4: PASCAL_STRING "0 1 2 3 4 5 6 7 8 9 : ; < = > ?" +line5: PASCAL_STRING "@ A B C D E F G H I J K L M N O" +line6: PASCAL_STRING "P Q R S T U V W X Y Z [ \x5C ] ^ _" +line7: PASCAL_STRING "` a b c d e f g h i j k l m n o" +line8: PASCAL_STRING "p q r s t u v w x y z { | } ~ \x7F" kLineCount = 8 line_addrs: diff --git a/desk.acc/sort.directory.s b/desk.acc/sort.directory.s index baf06233..29b52760 100644 --- a/desk.acc/sort.directory.s +++ b/desk.acc/sort.directory.s @@ -764,7 +764,7 @@ fail: sec rts str_system: - PASCAL_STRING ".SYSTEM" ; do not localize + PASCAL_STRING ".SYSTEM" .endproc ;;; ============================================================ diff --git a/desk.acc/this.apple.s b/desk.acc/this.apple.s index 2763f41f..eaf5c973 100644 --- a/desk.acc/this.apple.s +++ b/desk.acc/this.apple.s @@ -491,7 +491,7 @@ str_ace2000: ;;; ============================================================ str_prodos_version: - PASCAL_STRING "ProDOS #.#.#" ; do not localize + PASCAL_STRING "ProDOS #.#.#" kVersionStrMajor = 8 kVersionStrMinor = 10 kVersionStrPatch = 12 @@ -1838,7 +1838,7 @@ status_code: .byte 3 ; Return Device Information Block (DIB) ;;; Output: str_from_int populated, with separator if needed str_from_int: - PASCAL_STRING "000,000" ; do not localize + PASCAL_STRING "000,000" .include "../lib/inttostring.s" diff --git a/desktop.system/desktop.system.s b/desktop.system/desktop.system.s index 4ef7f9c9..a4c603b3 100644 --- a/desktop.system/desktop.system.s +++ b/desktop.system/desktop.system.s @@ -909,7 +909,7 @@ filenum: DEFINE_WRITE_BLOCK_PARAMS write_block2_params, prodos_loader_blocks + BLOCK_SIZE, 1 str_slash_desktop: - PASCAL_STRING .concat("/", kFilenameRAMCardDir) ; do not localize + PASCAL_STRING .concat("/", kFilenameRAMCardDir) ;;; ============================================================ @@ -1478,7 +1478,7 @@ str_desktop2: DEFINE_OPEN_PARAMS open_params, str_desktop1_path, dst_io_buffer str_desktop1_path: - PASCAL_STRING .concat(kFilenameRAMCardDir, "/", kFilenameLauncher) ; do not localize + PASCAL_STRING .concat(kFilenameRAMCardDir, "/", kFilenameLauncher) DEFINE_WRITE_PARAMS write_params, dt1_addr, kWriteBackSize DEFINE_CLOSE_PARAMS close_params diff --git a/desktop/auxmem.s b/desktop/auxmem.s index 9f1ff5a6..556e3206 100644 --- a/desktop/auxmem.s +++ b/desktop/auxmem.s @@ -3437,7 +3437,7 @@ str_about5: PASCAL_STRING res_string_about_text_line5 str_about6: PASCAL_STRING res_string_about_text_line6 str_about7: PASCAL_STRING res_string_about_text_line7 str_about8: PASCAL_STRING kBuildDate -str_about9: PASCAL_STRING .sprintf(res_string_noprod_version_format_long,::kDeskTopVersionMajor,::kDeskTopVersionMinor,kDeskTopVersionSuffix) ; do not localize +str_about9: PASCAL_STRING .sprintf(res_string_noprod_version_format_long,::kDeskTopVersionMajor,::kDeskTopVersionMinor,kDeskTopVersionSuffix) ;; "Copy File" dialog strings str_copy_title: diff --git a/desktop/main.s b/desktop/main.s index 025ab21a..82a22280 100644 --- a/desktop/main.s +++ b/desktop/main.s @@ -1196,27 +1196,27 @@ nope: lda #$FF kBSOffset = 5 ; Offset of 'x' in BASIx.SYSTEM str_basix_system: - PASCAL_STRING "BASIx.SYSTEM" ; do not localize + PASCAL_STRING "BASIx.SYSTEM" str_unshrink: - PASCAL_STRING .concat(kFilenameExtrasDir, "/UnShrink") ; do not localize + PASCAL_STRING .concat(kFilenameExtrasDir, "/UnShrink") str_preview_fot: - PASCAL_STRING .concat(kFilenamePreviewDir, "/show.image.file") ; do not localize + PASCAL_STRING .concat(kFilenamePreviewDir, "/show.image.file") str_preview_fnt: - PASCAL_STRING .concat(kFilenamePreviewDir, "/show.font.file") ; do not localize + PASCAL_STRING .concat(kFilenamePreviewDir, "/show.font.file") str_preview_txt: - PASCAL_STRING .concat(kFilenamePreviewDir, "/show.text.file") ; do not localize + PASCAL_STRING .concat(kFilenamePreviewDir, "/show.text.file") str_preview_mus: - PASCAL_STRING .concat(kFilenamePreviewDir, "/show.duet.file") ; do not localize + PASCAL_STRING .concat(kFilenamePreviewDir, "/show.duet.file") ;;; ============================================================ str_empty: - PASCAL_STRING "" ; do not localize + PASCAL_STRING "" ;;; ============================================================ ;;; Aux $D000-$DFFF b2 holds FileRecord entries. These are stored @@ -1618,7 +1618,7 @@ MakeRamcardPrefixedPath := CmdSelectorItem::MakeRamcardPrefixedPath DEFINE_GET_PREFIX_PARAMS get_prefix_params, path str_desk_acc: - PASCAL_STRING .concat(kFilenameDADir, "/") ; do not localize + PASCAL_STRING .concat(kFilenameDADir, "/") start: jsr SetCursorWatch ; before loading DA diff --git a/desktop/res.s b/desktop/res.s index 512fb25a..3cb68ba6 100644 --- a/desktop/res.s +++ b/desktop/res.s @@ -489,7 +489,7 @@ str_files_suffix: PASCAL_STRING res_string_files_suffix str_file_count: ; populated with number of files - PASCAL_STRING " ##,### " ; do not localize + PASCAL_STRING " ##,### " str_kb_suffix: PASCAL_STRING res_string_kb_suffix ; suffix for kilobytes @@ -688,7 +688,7 @@ str_no_date: PASCAL_STRING res_string_no_date str_space: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " str_comma: PASCAL_STRING res_string_comma_infix str_at: @@ -763,7 +763,7 @@ window_path_addr_table: ;;; ============================================================ str_file_type: - PASCAL_STRING " $00" ; do not localize + PASCAL_STRING " $00" ;;; ============================================================ @@ -1081,7 +1081,7 @@ str_k_available: PASCAL_STRING res_string_window_header_k_available_suffix ; suffix for disk space available str_from_int: ; populated by IntToString - PASCAL_STRING "000,000" ; 6 digits plus thousands separator - do not localize + PASCAL_STRING "000,000" ; 6 digits plus thousands separator ;;; Computed during startup width_items_label_padded: @@ -1276,10 +1276,10 @@ checkerboard_pattern: DEFINE_POINT pos_clock, kScreenWidth - 11, 10 str_time: - PASCAL_STRING "00:00 XM" ; do not localize + PASCAL_STRING "00:00 XM" str_4_spaces: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " dow_strings: PASCAL_STRING res_string_weekday_abbrev_1, 3 diff --git a/disk_copy/auxlc.s b/disk_copy/auxlc.s index 5ab7ee7e..a75f87fd 100644 --- a/disk_copy/auxlc.s +++ b/disk_copy/auxlc.s @@ -117,7 +117,7 @@ menu_file: ASSERT_RECORD_TABLE_SIZE @items, 1, .sizeof(MGTK::MenuItem) label_apple: - PASCAL_STRING kGlyphSolidApple ; do not localize + PASCAL_STRING kGlyphSolidApple menu_facilities: DEFINE_MENU 2 @@ -134,7 +134,7 @@ label_desktop: PASCAL_STRING .sprintf(res_string_version_format_short, kDeskTopProductName, ::kDeskTopVersionMajor, ::kDeskTopVersionMinor) ; menu item label_blank: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " label_copyright1: PASCAL_STRING res_string_copyright_line1 ; menu item label_copyright2: @@ -351,8 +351,8 @@ block_count_table: source_drive_index: .byte 0 dest_drive_index: .byte 0 -str_d: PASCAL_STRING 0 ; do not localize -str_s: PASCAL_STRING 0 ; do not localize +str_d: PASCAL_STRING 0 +str_s: PASCAL_STRING 0 unit_num: .byte 0 ejectable_flag: .byte 0 @@ -397,8 +397,8 @@ LD44E: .byte 0 disk_copy_flag: ; mode: 0 = Disk Copy, 1 = Quick Copy .byte 0 -str_2_spaces: PASCAL_STRING " " ; do not localize -str_from_int: PASCAL_STRING "000,000" ; filled in by IntToString - do not localize +str_2_spaces: PASCAL_STRING " " +str_from_int: PASCAL_STRING "000,000" ; filled in by IntToString ;;; Label positions DEFINE_POINT point_blocks_read, 300, 125 diff --git a/lib/file_dialog_res.s b/lib/file_dialog_res.s index c17945e4..e01c47b2 100644 --- a/lib/file_dialog_res.s +++ b/lib/file_dialog_res.s @@ -30,7 +30,7 @@ filename_buf: DEFINE_POINT picker_entry_pos, 2, 0 str_folder: - PASCAL_STRING {kGlyphFolderLeft, kGlyphFolderRight} ; do not localize + PASCAL_STRING {kGlyphFolderLeft, kGlyphFolderRight} selected_index: ; $FF if none .byte 0 diff --git a/lib/invoker.s b/lib/invoker.s index b6eef5f2..51b353a3 100644 --- a/lib/invoker.s +++ b/lib/invoker.s @@ -33,7 +33,7 @@ interpreter_flag: kBSOffset = 5 ; Offset of 'C' in BASIC.SYSTEM str_basic_system: - PASCAL_STRING "BASIC.SYSTEM" ; do not localize + PASCAL_STRING "BASIC.SYSTEM" ;; $EE = extended call signature for IIgs/GS/OS variation. DEFINE_QUIT_PARAMS quit_params, $EE, INVOKER_FILENAME diff --git a/selector/app.s b/selector/app.s index cdf0291d..c4c30fa8 100644 --- a/selector/app.s +++ b/selector/app.s @@ -99,7 +99,7 @@ mi_x6: DEFINE_MENU_ITEM str_slot_x6, '0' mi_x7: DEFINE_MENU_ITEM str_slot_x7, '0' str_apple: - PASCAL_STRING kGlyphSolidApple ; do not localize + PASCAL_STRING kGlyphSolidApple str_file: PASCAL_STRING res_string_menu_bar_item_file ; menu bar item @@ -110,7 +110,7 @@ str_a2desktop: PASCAL_STRING .sprintf(res_string_version_format_short, kDeskTopProductName, ::kDeskTopVersionMajor, ::kDeskTopVersionMinor) str_blank: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " str_copyright1: PASCAL_STRING res_string_copyright_line1 ; menu item str_copyright2: @@ -380,13 +380,13 @@ lcm_eve_flag: ; high bit set if Le Chat Mauve Eve present DEFINE_POINT pos_clock, kScreenWidth - 11, 10 str_time: - PASCAL_STRING "00:00 XM" ; do not localize + PASCAL_STRING "00:00 XM" str_4_spaces: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " str_space: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " dow_strings: PASCAL_STRING res_string_weekday_abbrev_1, 3 @@ -2091,7 +2091,7 @@ check_path: kBSOffset = 5 ; Offset of 'x' in BASIx.SYSTEM str_basix_system: - PASCAL_STRING "BASIx.SYSTEM" ; do not localize + PASCAL_STRING "BASIx.SYSTEM" .proc CheckBasixSystemImpl launch_path := INVOKER_PREFIX diff --git a/selector/ovl_file_copy.s b/selector/ovl_file_copy.s index d1ccf049..b11c7477 100644 --- a/selector/ovl_file_copy.s +++ b/selector/ovl_file_copy.s @@ -895,9 +895,9 @@ str_files_to_copy: str_files_remaining: PASCAL_STRING res_string_label_files_remaining str_spaces: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " str_space: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " ;;; ============================================================ @@ -1129,7 +1129,7 @@ nonzero_flag: .endproc str_count: - PASCAL_STRING " " ; do not localize + PASCAL_STRING " " ;;; ============================================================