Skip to content

Commit

Permalink
Update chapters/packages.tex
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson authored Oct 12, 2022
1 parent 9d770e2 commit 93204ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/packages.tex
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ \section{Multilingual Descriptions}\label{multilingual-descriptions}
\begin{example}
Consider:
\begin{lstlisting}[language=modelica]
annotation($\ldots$, Text(string = "1st Frequency: %f1"),
annotation($\ldots$, Text(string = "1st Frequency: %f1"),
Text(string = "2nd Frequency: " + String(w2 / (2 * pi)), $\ldots$);
\end{lstlisting}
In this example only \lstinline!"1st Frequency is %f1."! can be translated; the second \lstinline!Text.string! doesn't consist entirely of concatenated string literals, and is hence completely excluded from translation.
Expand Down

0 comments on commit 93204ed

Please sign in to comment.