Skip to content

Commit

Permalink
Update RationaleMCP/0035/SpecificationText.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Sep 9, 2022
1 parent babebaf commit 2e6bd12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RationaleMCP/0035/SpecificationText.md
Expand Up @@ -45,7 +45,7 @@ Only the keywords `msgctxt`, `msgid` and `msgstr` are used.

At first there can be an optional comment describing the location (file name and line number) of the text to translate. Multiple occurences of the same string can be listed here, separated by space.

Then, the `<context identifier>` behind the keyword `msgctxt` is the full name of the Modelica class (e.g. `Modelica.Blocks.Math.Sin` ) where the text appears in. Short class definitions do not appear here. Texts in such classes belong to the enclosing full class definition.
Then, the `<context identifier>` behind the keyword `msgctxt` is the full name of the Modelica class (e.g. `Modelica.Blocks.Math.Sin` ) where the text appears in. Short class definitions do not appear here. Texts in such classes (including their description string) belong to the enclosing full class definition.

After the `msgid` keyword the text string which shall be translated follows. It should contain the original string from the Modelica text representation.
Since in Modelica control sequences also start with a backslash and another backslash is used to use sequences literally or to hide double quotes, no change is required here.
Expand Down

0 comments on commit 2e6bd12

Please sign in to comment.