diff --git a/chapters/packages.tex b/chapters/packages.tex index db0ed22d1..245fa300b 100644 --- a/chapters/packages.tex +++ b/chapters/packages.tex @@ -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.