Skip to content

Commit

Permalink
Update chapters/packages.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Sep 9, 2022
1 parent f7bd418 commit 07e7f8c
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 @@ -352,7 +352,7 @@ \section{Multilingual Descriptions}\label{multilingual-descriptions}
Two kind of files in \textcite{GettextManual} format have to be provided:
\begin{enumerate}
\item Template file \filename{$\mathit{LibraryName}$.pot}, as the resource \filename{modelica://$\mathit{LibraryName}$/Resources/Language/$\mathit{LibraryName}$.pot}.
It contains all necessary information to translate all descriptions, but no translations.
It describes all translatable strings in the library, but does not contain any translations.
The pattern \filename{$\mathit{LibraryName}$} denotes the toplevel class name of the library.
\item One file for each supported language with the name \filename{$\mathit{LibraryName}$.$\mathit{language}$.po}, as the resource \filename{modelica://$\mathit{LibraryName}$/Resources/Language/$\mathit{LibraryName}$.$\mathit{language}$.po}.
This file is a copy of the associated template file, but extended with the translations in the specified language.
Expand Down

0 comments on commit 07e7f8c

Please sign in to comment.