diff --git a/OMCompiler/Compiler/Util/Error.mo b/OMCompiler/Compiler/Util/Error.mo index 1d0b2dae447..bb8824ded48 100644 --- a/OMCompiler/Compiler/Util/Error.mo +++ b/OMCompiler/Compiler/Util/Error.mo @@ -1112,7 +1112,7 @@ public constant ErrorTypes.Message NOTIFY_INITIALIZING_USER_LIBRARIES = ErrorTyp public constant ErrorTypes.Message NOTIFY_PKG_ALREADY_INSTALLED = ErrorTypes.MESSAGE(617, ErrorTypes.TRANSLATION(), ErrorTypes.NOTIFICATION(), Gettext.gettext("%s %s is already installed, skipping.")); public constant ErrorTypes.Message REINIT_IN_ALGORITHM = ErrorTypes.MESSAGE(618, ErrorTypes.TRANSLATION(), ErrorTypes.ERROR(), - Gettext.gettext("Operator reinit may not be used in an algorithm section (use flag --allowNonStandardModelica=reinitInAlgorithms to ignore).")); + Gettext.gettext("Operator reinit may not be used in an algorithm section (use translation flag --allowNonStandardModelica=reinitInAlgorithms to ignore).")); public constant ErrorTypes.Message MATCH_SHADOWING = ErrorTypes.MESSAGE(5001, ErrorTypes.TRANSLATION(), ErrorTypes.ERROR(), Gettext.gettext("Local variable '%s' shadows another variable.")); diff --git a/testsuite/flattening/modelica/scodeinst/ReinitInvalid7.mo b/testsuite/flattening/modelica/scodeinst/ReinitInvalid7.mo index 10002130ebb..53edb457134 100644 --- a/testsuite/flattening/modelica/scodeinst/ReinitInvalid7.mo +++ b/testsuite/flattening/modelica/scodeinst/ReinitInvalid7.mo @@ -14,7 +14,7 @@ end ReinitInvalid7; // Result: // Error processing file: ReinitInvalid7.mo -// [flattening/modelica/scodeinst/ReinitInvalid7.mo:11:5-11:19:writable] Error: Operator reinit may not be used in an algorithm section (use flag --allowNonStandardModelica=reinitInAlgorithms to ignore). +// [flattening/modelica/scodeinst/ReinitInvalid7.mo:11:5-11:19:writable] Error: Operator reinit may not be used in an algorithm section (use translation flag --allowNonStandardModelica=reinitInAlgorithms to ignore). // // # Error encountered! Exiting... // # Please check the error message and the flags.