2019-06-16 23:34:47 +00:00
<!--
Copyright 2019 faddenSoft
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
2019-07-13 18:29:05 +00:00
<!-- Global string table. The goal is to have all English text in XAML. Strings used by C#
should either be here or in a Window-specific resource dictionary. -->
2019-06-16 23:34:47 +00:00
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2019-05-02 22:45:40 +00:00
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=mscorlib"
2019-07-20 20:28:10 +00:00
xmlns:local="clr-namespace:SourceGen.Res">
2019-05-02 22:45:40 +00:00
2019-07-05 21:53:45 +00:00
<system:String x:Key="str_AbbrevAddress">Addr</system:String>
<system:String x:Key="str_AbbrevConstant">Const</system:String>
Allow explicit widths in project/platform symbols, part 1
The ability to give explicit widths to local variables worked out
pretty well, so we're going to try adding the same thing to project
and platform symbols.
The first step is to allow widths to be specified in platform files,
and set with the project symbol editor. The DefSymbol editor is
also used for local variables, so a bit of dancing is required.
For platform/project symbols the width is optional, and is totally
ignored for constants. (For variables, constants are used for the
StackRel args, so the width is meaningful and required.)
We also now show the symbol's type (address or constant) and width
in the listing. This gets really distracting when overused, so we
only show it when the width is explicitly set. The default width
is 1, which most things will be, so users can make an aesthetic
choice there. (The place where widths make very little sense is when
the symbol represents a code entry point, rather than a data item.)
The maximum width of a local variable is now 256, but it's not
allowed to overlap with other variables or run of the end of the
direct page. The maximum width of a platform/project symbol is
65536, with bank-wrap behavior TBD.
The local variable table editor now refers to stack-relative
constants as such, rather than simply "constant", to make it clear
that it's not just defining an 8-bit constant.
Widths have been added to a handful of Apple II platform defs.
2019-10-01 21:58:24 +00:00
<system:String x:Key="str_AbbrevStackRelative">StkRl</system:String>
2019-06-24 00:24:51 +00:00
<system:String x:Key="str_AsmLatestVersion">[latest version]</system:String>
2019-06-24 21:41:08 +00:00
<system:String x:Key="str_AsmMatchFailure">output DOES NOT match data file</system:String>
<system:String x:Key="str_AsmMatchSuccess">output matches data file</system:String>
<system:String x:Key="str_AsmMismatchCaption">Output Mismatch</system:String>
<system:String x:Key="str_AsmMismatchDataFmt">Assembled output does not match: offset +{0:x6} has value ${1:x2}, expected ${2:x2}.</system:String>
<system:String x:Key="str_AsmMismatchLengthFmt">Assembled output does not match: length is {0}, expected {1}.</system:String>
<system:String x:Key="str_AsmOutputNotFound">Expected output file wasn't created</system:String>
2019-09-12 20:57:52 +00:00
<system:String x:Key="str_ClipformatAllColumns">All Columns</system:String>
2019-06-28 22:39:35 +00:00
<system:String x:Key="str_ClipformatAssemblerSource">Assembler Source</system:String>
<system:String x:Key="str_ClipformatDisassembly">Disassembly</system:String>
2019-07-16 21:36:09 +00:00
<system:String x:Key="str_DefaultHeaderCommentFmt">6502bench SourceGen v{0}</system:String>
2019-08-12 00:59:20 +00:00
<system:String x:Key="str_DefaultAsciiDelimPat">‘#’</system:String>
<system:String x:Key="str_DefaultHighAsciiDelimPat">“#”</system:String>
<system:String x:Key="str_DefaultC64PetsciiDelimPat">pet:“#”</system:String>
<system:String x:Key="str_DefaultC64ScreenCodeDelimPat">scr:“#”</system:String>
Allow explicit widths in project/platform symbols, part 1
The ability to give explicit widths to local variables worked out
pretty well, so we're going to try adding the same thing to project
and platform symbols.
The first step is to allow widths to be specified in platform files,
and set with the project symbol editor. The DefSymbol editor is
also used for local variables, so a bit of dancing is required.
For platform/project symbols the width is optional, and is totally
ignored for constants. (For variables, constants are used for the
StackRel args, so the width is meaningful and required.)
We also now show the symbol's type (address or constant) and width
in the listing. This gets really distracting when overused, so we
only show it when the width is explicitly set. The default width
is 1, which most things will be, so users can make an aesthetic
choice there. (The place where widths make very little sense is when
the symbol represents a code entry point, rather than a data item.)
The maximum width of a local variable is now 256, but it's not
allowed to overlap with other variables or run of the end of the
direct page. The maximum width of a platform/project symbol is
65536, with bank-wrap behavior TBD.
The local variable table editor now refers to stack-relative
constants as such, rather than simply "constant", to make it clear
that it's not just defining an 8-bit constant.
Widths have been added to a handful of Apple II platform defs.
2019-10-01 21:58:24 +00:00
<system:String x:Key="str_EquAddress">addr</system:String>
<system:String x:Key="str_EquConstant">const</system:String>
<system:String x:Key="str_EquStackRelative">stkrl</system:String>
2019-10-15 23:37:14 +00:00
<system:String x:Key="str_ErrBadDefSymbolDir">Unknown I/O direction in symbol</system:String>
2019-07-13 18:29:05 +00:00
<system:String x:Key="str_ErrBadFdFmt">Bad format descriptor at +{0:x6}.</system:String>
2019-05-09 01:00:17 +00:00
<system:String x:Key="str_ErrBadFdFormat">Bad format descriptor type</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_ErrBadFileLength">Bad file length</system:String>
<system:String x:Key="str_ErrBadIdent">Invalid file identifier</system:String>
Allow explicit widths in project/platform symbols, part 1
The ability to give explicit widths to local variables worked out
pretty well, so we're going to try adding the same thing to project
and platform symbols.
The first step is to allow widths to be specified in platform files,
and set with the project symbol editor. The DefSymbol editor is
also used for local variables, so a bit of dancing is required.
For platform/project symbols the width is optional, and is totally
ignored for constants. (For variables, constants are used for the
StackRel args, so the width is meaningful and required.)
We also now show the symbol's type (address or constant) and width
in the listing. This gets really distracting when overused, so we
only show it when the width is explicitly set. The default width
is 1, which most things will be, so users can make an aesthetic
choice there. (The place where widths make very little sense is when
the symbol represents a code entry point, rather than a data item.)
The maximum width of a local variable is now 256, but it's not
allowed to overlap with other variables or run of the end of the
direct page. The maximum width of a platform/project symbol is
65536, with bank-wrap behavior TBD.
The local variable table editor now refers to stack-relative
constants as such, rather than simply "constant", to make it clear
that it's not just defining an 8-bit constant.
Widths have been added to a handful of Apple II platform defs.
2019-10-01 21:58:24 +00:00
<system:String x:Key="str_ErrBadLocalVariableFmt">Bad local variable {0}</system:String>
2019-08-26 23:58:53 +00:00
<system:String x:Key="str_ErrBadLvTableFmt">Invalid local variable table at +{0:x6}</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_ErrBadRange">Bad range</system:String>
2019-11-16 04:40:14 +00:00
<system:String x:Key="str_ErrBadSymbolLabel">Malformed label in symbol</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_ErrBadSymbolSt">Unknown Source or Type in symbol</system:String>
<system:String x:Key="str_ErrBadSymrefPart">Bad symbol reference part</system:String>
<system:String x:Key="str_ErrBadTypeHint">Type hint not recognized</system:String>
2019-12-03 00:38:32 +00:00
<system:String x:Key="str_ErrBadVisualizationFmt">Invalid visualization item: {0}</system:String>
<system:String x:Key="str_ErrBadVisualizationSetFmt">Invalid visualization set at +{0:x6}</system:String>
2019-12-14 00:52:50 +00:00
<system:String x:Key="str_ErrDirCreateFailedFmt">Unable to create directory {0}: {1}</system:String>
2019-10-26 20:07:31 +00:00
<system:String x:Key="str_ErrDuplicateLabelFmt">Removed duplicate label '{0}' (offset +{1:x6})</system:String>
2019-09-14 00:09:06 +00:00
<system:String x:Key="str_ErrFileCopyFailedFmt">Failed copying {0} to {1}: {2}.</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_ErrFileExistsNotDirFmt">The file {0} exists, but is not a directory.</system:String>
2019-05-05 23:50:28 +00:00
<system:String x:Key="str_ErrFileGenericCaption">File Error</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_ErrFileNotFoundFmt">File not found: {0}</system:String>
2019-09-14 00:09:06 +00:00
<system:String x:Key="str_ErrFileReadFailedFmt">Failed reading {0}: {1}.</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_ErrFileReadOnlyFmt">Cannot write to read-only file {0}.</system:String>
2019-10-17 00:32:30 +00:00
<system:String x:Key="str_ErrInvalidAddressMask">Invalid MULTI_MASK AddressMask</system:String>
<system:String x:Key="str_ErrInvalidCmpAddrOverlap">MULTI_MASK CompareMask and AddressMask overlap</system:String>
<system:String x:Key="str_ErrInvalidCmpExtraBits">MULTI_MASK CompareValue has bits not in CompareMask</system:String>
<system:String x:Key="str_ErrInvalidCompareMask">Invalid MULTI_MASK CompareMask</system:String>
<system:String x:Key="str_ErrInvalidCompareValue">Invalid MULTI_MASK CompareValue</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_ErrInvalidIntValue">Could not convert value to integer</system:String>
<system:String x:Key="str_ErrInvalidKeyValue">Key value is out of range</system:String>
2019-10-17 00:32:30 +00:00
<system:String x:Key="str_ErrInvalidMultiMask">Invalid MULTI_MASK line</system:String>
2019-10-15 23:37:14 +00:00
<system:String x:Key="str_ErrInvalidWidth">Invalid width value</system:String>
2019-06-23 00:38:07 +00:00
<system:String x:Key="str_ErrInvalidSysdef" xml:space="preserve"> - INVALID DEFINITION</system:String>
<system:String x:Key="str_ErrLoadConfigFile">Unable to load config file</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_ErrNotProjectFile">This does not appear to be a valid .dis65 project file</system:String>
<system:String x:Key="str_ErrProjectFileCorrupt">Project file may be corrupt</system:String>
<system:String x:Key="str_ErrProjectLoadFail">Unable to load project file</system:String>
2019-05-05 23:50:28 +00:00
<system:String x:Key="str_ErrProjectSaveFail">Unable to save project file</system:String>
2019-06-24 00:24:51 +00:00
<system:String x:Key="str_ErrTooLargeForPreview">[File was too large for preview window]</system:String>
2019-10-17 00:32:30 +00:00
<system:String x:Key="str_ErrValueIncompatibleWithMask">Symbol value is incompatible with current multi-mask</system:String>
2019-07-05 23:20:31 +00:00
<system:String x:Key="str_ExternalFileBadDirFmt" xml:space="preserve">Symbol files and extension scripts must live in the application runtime directory ({0}) or project directory ({1}).

File {2} lives elsewhere.</system:String>
<system:String x:Key="str_ExternalFileBadDirCaption">File Not In Runtime Directory</system:String>
2019-05-05 23:50:28 +00:00
<system:String x:Key="str_FileFilterAll">All files (*.*)|*.*</system:String>
2019-09-12 20:57:52 +00:00
<system:String x:Key="str_FileFilterCs">C# Source Files (*.cs)|*.cs</system:String>
<system:String x:Key="str_FileFilterCsv">CSV files (*.csv)|*.csv</system:String>
<system:String x:Key="str_FileFilterDis65">SourceGen projects (*.dis65)|*.dis65</system:String>
<system:String x:Key="str_FileFilterHtml">HTML files (*.html)|*.html</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_FileFilterSym65">SourceGen symbols (*.sym65)|*.sym65</system:String>
2019-09-12 20:57:52 +00:00
<system:String x:Key="str_FileFilterText">Text files (*.txt)|*.txt</system:String>
2019-06-23 00:38:07 +00:00
<system:String x:Key="str_FileInfoFmt">File is {0:N1} KB of raw data.</system:String>
2019-07-07 20:28:45 +00:00
<system:String x:Key="str_FindReachedStart">Find reached the starting point of the search.</system:String>
<system:String x:Key="str_FindReachedStartCaption">Find...</system:String>
2019-06-27 00:11:58 +00:00
<system:String x:Key="str_FontDescriptorFmt">{0}-point {1}</system:String>
2019-05-28 01:46:09 +00:00
<system:String x:Key="str_GeneratedForVersion">Target assembler: {0} v{1} [{2}]</system:String>
2019-06-27 00:11:58 +00:00
<system:String x:Key="str_HideCol">Hide</system:String>
2019-10-23 04:27:49 +00:00
<system:String x:Key="str_InfoAutoFormat">Format (auto):</system:String>
<system:String x:Key="str_InfoCustomFormat">Format:</system:String>
<system:String x:Key="str_InfoDefaultFormat">Format: default</system:String>
Label rework, part 6
Correct handling of local variables. We now correctly uniquify them
with regard to non-unique labels. Because local vars can effectively
have global scope we mostly want to treat them as global, but they're
uniquified relative to other globals very late in the process, so we
can't just throw them in the symbol table and be done. Fortunately
local variables exist in a separate namespace, so we just need to
uniquify the variables relative to the post-localization symbol table.
In other words, we take the symbol table, apply the label map, and
rename any variable that clashes.
This also fixes an older problem where we weren't masking the
leading '_' on variable labels when generating 64tass output.
The code list now makes non-unique labels obvious, but you can't tell
the difference between unique global and unique local. What's more,
the default type value in Edit Label is now adjusted to Global for
unique locals that were auto-generated. To make it a bit easier to
figure out what's what, the Info panel now has a "label type" line
that reports the type.
The 2023-non-unique-labels test had some additional tests added to
exercise conflicts with local variables. The 2019-local-variables
test output changed slightly because the de-duplicated variable
naming convention was simplified.
2019-11-18 21:26:03 +00:00
<system:String x:Key="str_InfoLabelDescrFmt">Label type: {0}</system:String>
2019-06-09 21:24:46 +00:00
<system:String x:Key="str_InfoLineSumNonFmt">Line {0}: {1}</system:String>
<system:String x:Key="str_InfoLineSumPluralFmt">Line {0}: {1} bytes of {2}</system:String>
<system:String x:Key="str_InfoLineSumSingularFmt">Line {0}: {1} byte of {2}</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_InitialExtensionScripts">Extension scripts:</system:String>
<system:String x:Key="str_InitialParameters">Default settings:</system:String>
<system:String x:Key="str_InitialSymbolFiles">Symbol files:</system:String>
2019-07-13 22:50:11 +00:00
<system:String x:Key="str_InvalidAddress">(unknown address)</system:String>
2019-07-14 20:50:15 +00:00
<system:String x:Key="str_InvalidFormatWordSelCaption">Invalid Selection</system:String>
<system:String x:Key="str_InvalidFormatWordSelNon1" xml:space="preserve">Unable to format as word: selection must be an even number of bytes that have not previously been formatted as multi-byte values.

Use Toggle Data Scan (Ctrl+D) to turn off auto-detection of strings and memory fill.</system:String>
<system:String x:Key="str_InvalidFormatWordSelUnevenFmt">Unable to format as word: each selected region must have an even number of bytes ({0} region(s) are selected).</system:String>
2019-08-27 23:45:37 +00:00
<system:String x:Key="str_LocalVariableTableClear">• Clear variables</system:String>
<system:String x:Key="str_LocalVariableTableEmpty">• Empty variable table</system:String>
2019-11-05 21:29:51 +00:00
<system:String x:Key="str_MsgBankOverrun">Address bank overrun</system:String>
<system:String x:Key="str_MsgBankOverrunDetailFmt">Bank boundary crossed at offset {0}</system:String>
2019-10-20 21:40:32 +00:00
<system:String x:Key="str_MsgFormatDescriptorIgnored">Format ignored</system:String>
<system:String x:Key="str_MsgHiddenLabel">Hidden label</system:String>
2019-10-28 23:54:01 +00:00
<system:String x:Key="str_MsgHiddenLocalVariableTable">Hidden variable table</system:String>
2019-12-25 19:12:59 +00:00
<system:String x:Key="str_MsgHiddenVisualization">Hidden visualization</system:String>
2019-10-20 21:40:32 +00:00
<system:String x:Key="str_MsgInvalidDescriptor">Invalid format desc</system:String>
<system:String x:Key="str_MsgInvalidOffsetOrLength">Invalid offset or len</system:String>
<system:String x:Key="str_MsgLabelIgnored">Label ignored</system:String>
2019-10-28 23:54:01 +00:00
<system:String x:Key="str_MsgLocalVariableTableIgnored">LV table skipped over</system:String>
2019-10-20 21:40:32 +00:00
<system:String x:Key="str_MsgUnresolvedWeakRef">Ref'd symbol not found</system:String>
2019-12-25 19:12:59 +00:00
<system:String x:Key="str_MsgVisualizationIgnored">Visualization ignored</system:String>
2019-06-24 00:24:51 +00:00
<system:String x:Key="str_NoFilesAvailable">no files available</system:String>
2019-09-14 00:09:06 +00:00
<system:String x:Key="str_NoExportedSymbolsFound">No exported symbols found.</system:String>
2019-05-05 23:50:28 +00:00
<system:String x:Key="str_OpenDataDoesntExist">The file doesn't exist.</system:String>
<system:String x:Key="str_OpenDataEmpty">File is empty</system:String>
<system:String x:Key="str_OpenDataFailCaption">Unable to load data file</system:String>
<system:String x:Key="str_OpenDataFailMessage">Unable to load contents of data file</system:String>
<system:String x:Key="str_OpenDataLoadFailedFmt">The file could not be opened: {0}.</system:String>
<system:String x:Key="str_OpenDataPartialRead">Unable to read the entire file</system:String>
2019-07-13 00:46:37 +00:00
<system:String x:Key="str_OpenDataTooLargeFmt">File is too large ({0:N0} KiB, max is {1:N0} KiB).</system:String>
2019-05-05 23:50:28 +00:00
<system:String x:Key="str_OpenDataWrongLengthFmt">The file is {0:N0} bytes long, but the project expected {1:N0}.</system:String>
<system:String x:Key="str_OpenDataWrongCrcFmt">The file has CRC {0}, but the project expected {1}.</system:String>
<system:String x:Key="str_OperationFailed">Failed</system:String>
2019-06-27 22:15:45 +00:00
<system:String x:Key="str_ParentheticalNone">(none)</system:String>
2019-06-19 23:31:56 +00:00
<system:String x:Key="str_PluginDirFailFmt">Failed while preparing the plugin directory {0}</system:String>
<system:String x:Key="str_PluginDirFailCaption">Failed Preparing Plugin Directory</system:String>
2019-05-28 01:46:09 +00:00
<system:String x:Key="str_ProgressAssembling">Executing assembler...</system:String>
<system:String x:Key="str_ProgressGeneratingFmt">Generating {0}...</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_ProjectFieldComment">comment</system:String>
<system:String x:Key="str_ProjectFieldLongComment">long comment</system:String>
2019-08-26 23:58:53 +00:00
<system:String x:Key="str_ProjectFieldLvTable">local variable table</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_ProjectFieldNote">note</system:String>
<system:String x:Key="str_ProjectFieldOperandFormat">operand format</system:String>
<system:String x:Key="str_ProjectFieldStatusFlags">status flag override</system:String>
<system:String x:Key="str_ProjectFieldTypeHint">type hint</system:String>
<system:String x:Key="str_ProjectFieldUserLabel">user-defined label</system:String>
<system:String x:Key="str_ProjectFromNewerApp">This project was created by a newer version of SourceGen. It may contain data that will be lost if the project is edited.</system:String>
2019-06-22 21:41:09 +00:00
<!--<system:String x:Key="str_RecentProjectLinkFmt">#{0}: {1}</system:String>-->
2019-05-28 01:46:09 +00:00
<system:String x:Key="str_RuntimeDirNotFound">The RuntimeData directory was not found. It should be in the same directory as the executable.</system:String>
<system:String x:Key="str_RuntimeDirNotFoundCaption">RuntimeData Not Found</system:String>
2019-06-24 00:24:51 +00:00
<system:String x:Key="str_SaveBeforeAsm">Please save your project before assembling. The generated source code will be placed in the same directory as the project file.</system:String>
<system:String x:Key="str_SaveBeforeAsmCaption">Save Project First</system:String>
2019-08-16 00:53:12 +00:00
<system:String x:Key="str_ScanLowAscii">Plain ASCII</system:String>
<system:String x:Key="str_ScanLowHighAscii">Low or High ASCII</system:String>
<system:String x:Key="str_ScanC64Petscii">C64 PETSCII</system:String>
<system:String x:Key="str_ScanC64ScreenCode">C64 Screen Code</system:String>
2019-05-02 22:45:40 +00:00
<system:String x:Key="str_SetupSystemSummaryFmt">{1} CPU @ {2} MHz</system:String>
2019-06-27 00:11:58 +00:00
<system:String x:Key="str_ShowCol">Show</system:String>
2019-11-20 02:18:41 +00:00
<system:String x:Key="str_StatusByteCountFmt">{0:F1}% code, {1:F1}% data, {2:F1}% junk</system:String>
2019-07-19 18:41:18 +00:00
<system:String x:Key="str_StatusReady">Ready</system:String>
2019-10-07 00:07:07 +00:00
<system:String x:Key="str_StrVfyDciMixedData">DCI string has mixed data</system:String>
<system:String x:Key="str_StrVfyDciNotTerminated">DCI string not terminated</system:String>
<system:String x:Key="str_StrVfyDciShort">DCI string is too short</system:String>
<system:String x:Key="str_StrVfyL1LengthMismatch">length of string doesn't match length byte</system:String>
<system:String x:Key="str_StrVfyL2LengthMismatch">length of string doesn't match length word</system:String>
<system:String x:Key="str_StrVfyMissingNullTerm">null-terminated string doesn't end with null byte</system:String>
<system:String x:Key="str_StrVfyNullInsideNullTerm">found null byte in the middle of null-terminated string</system:String>
2019-07-05 21:53:45 +00:00
<system:String x:Key="str_SymbolImportCaption">Symbol Import</system:String>
<system:String x:Key="str_SymbolImportGoodFmt">Imported {0} global symbols.</system:String>
<system:String x:Key="str_SymbolImportNone">No global+export symbols were found.</system:String>
2019-07-16 21:36:09 +00:00
<system:String x:Key="str_TitleBase">6502bench SourceGen</system:String>
<system:String x:Key="str_TitleModified">(save needed)</system:String>
<system:String x:Key="str_TitleNewProject">[new project]</system:String>
2019-10-26 20:07:31 +00:00
<system:String x:Key="str_TitleReadOnly">*READ-ONLY*</system:String>
2019-07-05 23:20:31 +00:00
<system:String x:Key="str_Unset">[unset]</system:String>
2019-12-07 01:19:27 +00:00
<system:String x:Key="str_VisSetMultipleFmt">{1} (+{2} more)</system:String>
<system:String x:Key="str_VisSetSingleFmt">{1}</system:String>
2019-05-02 22:45:40 +00:00
</ResourceDictionary>