mirror of
https://github.com/peterdell/wudsn-ide.git
synced 2025-01-10 11:30:17 +00:00
Make "assembler/compiler" a variable in messages
This commit is contained in:
parent
12ae9048dc
commit
c020755f22
@ -89,7 +89,7 @@ PREFERENCES_ITALIC_LABEL=&Italic
|
||||
PREFERENCES_DOWNLOAD_LINK=Download
|
||||
PREFERENCES_DOWNLOAD_LINK_TOOL_TIP=Open download page {0}
|
||||
|
||||
PREFERENCES_COMPILER_TARGET_LABEL=&TOC_COMPILER_SUPPORTED_TARGETS_LABELt
|
||||
PREFERENCES_COMPILER_TARGET_LABEL=&Target
|
||||
PREFERENCES_COMPILER_EXECUTABLE_PATH_LABEL=Path to &Compiler
|
||||
PREFERENCES_COMPILER_HARDWARE_ACTIVE_LABEL=Use for {0}
|
||||
PREFERENCES_COMPILER_DEFAULT_PARAMETERS_LABEL=&Default Parameters
|
||||
@ -165,10 +165,10 @@ TOC_TARGET_NAME_LABEL=Target
|
||||
TOC_TARGET_LANGUAGE_LABEL=Language
|
||||
TOC_TARGET_OPCODE_LABEL=Opcode
|
||||
|
||||
MESSAGE_E100=Path to '{0}' {1} executable is not set in the '{2}' preferences.
|
||||
MESSAGE_E100=Path to {0} '{1}' executable is not set in the '{2}' preferences.
|
||||
MESSAGE_E101=The {0} '{1}' does not specify default parameters.
|
||||
MESSAGE_E102=The {0} '{1}' does not specify help documents.
|
||||
MESSAGE_E103=Path to '{0}' {1} executable in the '{2}' preferences points to non-existing file '{3}'.
|
||||
MESSAGE_E103=Path to {0} '{1}' executable in the '{2}' preferences points to non-existing file '{3}'.
|
||||
MESSAGE_E104=Output file extension must be set in the preferences of {0} '{1}' or via the annotation '{2}'.
|
||||
MESSAGE_E105=Cannot execute {0} process '{1}' in working directory '{2}'. System error: {3}
|
||||
MESSAGE_E106=Output file '{0}' cannot be opened for writing. End all applications which may keep the file open.
|
||||
|
@ -163,10 +163,10 @@ TOC_TARGET_NAME_LABEL=Ziel
|
||||
TOC_TARGET_LANGUAGE_LABEL=Sprache
|
||||
TOC_TARGET_OPCODE_LABEL=Opcode
|
||||
|
||||
MESSAGE_E100=Pfad zur ausführbaren Datei des Kompilers '{0}' ist in den '{1}' Voreinstellungen nicht angegeben.
|
||||
MESSAGE_E100=Pfad zur ausführbaren Datei des {0}s '{1}' ist in den '{2}' Voreinstellungen nicht angegeben.
|
||||
MESSAGE_E101=Der {0} '{1}' definiert keine Standardparameter.
|
||||
MESSAGE_E102=Der {0} '{1}' definiert keine Hilfedokumentes.
|
||||
MESSAGE_E103=Pfad zur ausführbaren Datei des Kompilers '{0}' in den Voreinstellungen verweist auf die nicht existierende Datei '{1}'.
|
||||
MESSAGE_E103=Pfad zur ausführbaren Datei des {0}s '{1}' in den Voreinstellungen verweist auf die nicht existierende Datei '{2}'.
|
||||
MESSAGE_E104=Ausgabe-Dateierweiterung muss in den Voreinstellungen des Kompilers '{0}' oder mit der Annotation '{1}' angegeben werden.
|
||||
MESSAGE_E105=Kompilerprozess '{0}' kann im Arbeitsverzeichnis '{1}' nicht ausgeführt werden. Systemfehler: {2}
|
||||
MESSAGE_E106=Ausgabe-Datei '{0}' kann nicht zum Schreiben geöffnet werden. Beenden Sie alle Anwendungen welche die Datei geöffnet haben könnten.
|
||||
|
@ -89,7 +89,7 @@ PREFERENCES_ITALIC_LABEL=&Italic
|
||||
PREFERENCES_DOWNLOAD_LINK=Download
|
||||
PREFERENCES_DOWNLOAD_LINK_TOOL_TIP=Open download page {0}
|
||||
|
||||
PREFERENCES_COMPILER_TARGET_LABEL=&TOC_COMPILER_SUPPORTED_TARGETS_LABELt
|
||||
PREFERENCES_COMPILER_TARGET_LABEL=&Target
|
||||
PREFERENCES_COMPILER_EXECUTABLE_PATH_LABEL=Path to &Compiler
|
||||
PREFERENCES_COMPILER_HARDWARE_ACTIVE_LABEL=Use for {0}
|
||||
PREFERENCES_COMPILER_DEFAULT_PARAMETERS_LABEL=&Default Parameters
|
||||
@ -166,10 +166,10 @@ TOC_TARGET_NAME_LABEL=Cel
|
||||
TOC_TARGET_LANGUAGE_LABEL=J\u0119zyk
|
||||
TOC_TARGET_OPCODE_LABEL=Kod operacji
|
||||
|
||||
MESSAGE_E100=Path to '{0}' {1} executable is not set in the '{2}' preferences.
|
||||
MESSAGE_E100=Path to {0} '{1}' executable is not set in the '{2}' preferences.
|
||||
MESSAGE_E101=The {0} '{1}' does not specify default parameters.
|
||||
MESSAGE_E102=The {0} '{1}' does not specify help documents.
|
||||
MESSAGE_E103=Path to '{0}' {1} executable in the '{2}' preferences points to non-existing file '{3}'.
|
||||
MESSAGE_E103=Path to {0} '{1}' executable in the '{2}' preferences points to non-existing file '{3}'.
|
||||
MESSAGE_E104=Output file extension must be set in the preferences of {0} '{1}' or via the annotation '{2}'.
|
||||
MESSAGE_E105=Cannot execute {0} process '{1}' in working directory '{2}'. System error: {3}
|
||||
MESSAGE_E106=Output file '{0}' cannot be opened for writing. End all applications which may keep the file open.
|
||||
|
@ -252,14 +252,14 @@ final class LanguageEditorCompileCommand {
|
||||
|
||||
String compilerExecutablePath = languageEditor.getCompilerPreferences().getCompilerExecutablePathOrDefault();
|
||||
if (StringUtility.isEmpty(compilerExecutablePath)) {
|
||||
// ERROR: Path to '{0}' {1} executable is not set in the '{2}' preferences.
|
||||
// ERROR: Path to {0} '{1}' executable is not set in the '{2}' preferences.
|
||||
createMainSourceFileMessage(files, IMarker.SEVERITY_ERROR, Texts.MESSAGE_E100, compilerDefinitionText,
|
||||
compilerDefinition.getName(), compilerPreferencesText);
|
||||
return false;
|
||||
}
|
||||
File compilerExecutableFile = new File(compilerExecutablePath);
|
||||
if (!compilerExecutableFile.exists()) {
|
||||
// ERROR: Path to '{0}' {1} executable in the {2} preferences points to
|
||||
// ERROR: Path to {0} '{1}' executable in the '{2}' preferences points to
|
||||
// non-existing file '{3}'.
|
||||
createMainSourceFileMessage(files, IMarker.SEVERITY_ERROR, Texts.MESSAGE_E103, compilerDefinitionText,
|
||||
compilerDefinition.getName(), compilerPreferencesText, compilerExecutablePath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user