Skip to content

Commit

Permalink
Remove 'do not localize' comments
Browse files Browse the repository at this point in the history
These were only used when initially extracting strings to seed the
localization tables.

No binary changes.
  • Loading branch information
inexorabletash committed Jun 23, 2022
1 parent 1c66031 commit 749ff91
Show file tree
Hide file tree
Showing 16 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion desk.acc/calculator.s
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
20 changes: 10 additions & 10 deletions desk.acc/date.and.time.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion desk.acc/run.basic.here.s
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ path_length:
.byte 0

str_basic_system:
PASCAL_STRING "BASIC.SYSTEM" ; do not localize
PASCAL_STRING "BASIC.SYSTEM"
.endproc

;;; ============================================================
Expand Down
2 changes: 1 addition & 1 deletion desk.acc/sci.calc.s
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
16 changes: 8 additions & 8 deletions desk.acc/show.font.file.s
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion desk.acc/sort.directory.s
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ fail: sec
rts

str_system:
PASCAL_STRING ".SYSTEM" ; do not localize
PASCAL_STRING ".SYSTEM"
.endproc

;;; ============================================================
Expand Down
4 changes: 2 additions & 2 deletions desk.acc/this.apple.s
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ str_ace2000:
;;; ============================================================

str_prodos_version:
PASCAL_STRING "ProDOS #.#.#" ; do not localize
PASCAL_STRING "ProDOS #.#.#"
kVersionStrMajor = 8
kVersionStrMinor = 10
kVersionStrPatch = 12
Expand Down Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions desktop.system/desktop.system.s
Original file line number Diff line number Diff line change
Expand Up @@ -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)

;;; ============================================================

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion desktop/auxmem.s
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
16 changes: 8 additions & 8 deletions desktop/main.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
12 changes: 6 additions & 6 deletions desktop/res.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -763,7 +763,7 @@ window_path_addr_table:
;;; ============================================================

str_file_type:
PASCAL_STRING " $00" ; do not localize
PASCAL_STRING " $00"

;;; ============================================================

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions disk_copy/auxlc.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/file_dialog_res.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/invoker.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions selector/app.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions selector/ovl_file_copy.s
Original file line number Diff line number Diff line change
Expand Up @@ -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 " "

;;; ============================================================

Expand Down Expand Up @@ -1129,7 +1129,7 @@ nonzero_flag:
.endproc

str_count:
PASCAL_STRING " " ; do not localize
PASCAL_STRING " "

;;; ============================================================

Expand Down

0 comments on commit 749ff91

Please sign in to comment.