Skip to content

Commit

Permalink
Use bibliography for gettext reference
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed May 13, 2022
1 parent 11fe279 commit bd3439d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/packages.tex
Expand Up @@ -359,7 +359,7 @@ \section{Multilingual Descriptions}\label{multilingual-descriptions}
The pattern \filename{$\mathit{language}$} stands for the ISO 639-1 language code, e.g., \filename{de} or \filename{en}.
\end{enumerate}

The detailed format of these files is described in \href{https://www.gnu.org/software/gettext/manual/gettext.pdf}{GNU gettext}.
The detailed format of these files is described in \textcite{GettextManual}.
For Modelica translations, only the keywords \lstinline!msgctxt!, \lstinline!msgid! and \lstinline!msgstr! are used, meaning that a translation entry looks like this:
\begin{lstlisting}
#: $\mathit{filename}$:$\mathit{lineNumber}$
Expand Down
7 changes: 7 additions & 0 deletions mls.bib
Expand Up @@ -82,3 +82,10 @@ @Manual{Pouzet2006LucidSynchrone30
year = {2006},
url = {http://www.di.ens.fr/~pouzet/lucid-synchrone/},
}

@Manual{GettextManual,
author = {Drepper, Ulrich and Meyering, Jim and Pinard, François and Haible, Bruno and},
title = {GNU gettext tools, version 0.21},
year = {2020},
url = {https://www.gnu.org/software/gettext/manual/gettext.pdf},
}

0 comments on commit bd3439d

Please sign in to comment.