ml/fixme
This commit is contained in:
parent
25afbcdddc
commit
94397d484d
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,10 @@
|
||||||
|
|
||||||
\def\todo{TODO}
|
\def\todo{TODO}
|
||||||
|
|
||||||
|
% return text, according to variable mainlanguage
|
||||||
|
% 1: english text
|
||||||
|
% 2: french text
|
||||||
|
% FIXME english→\ENGLISH, french→\FRENCH
|
||||||
\newcommand{\ml}[2]{%
|
\newcommand{\ml}[2]{%
|
||||||
\ifstreq{\mainlanguage}{english}{\ifstrempty{#1}{\todo}{#1}}{%
|
\ifstreq{\mainlanguage}{english}{\ifstrempty{#1}{\todo}{#1}}{%
|
||||||
\ifstreq{\mainlanguage}{french}{\ifstrempty{#2}{\todo}{#2}}{%
|
\ifstreq{\mainlanguage}{french}{\ifstrempty{#2}{\todo}{#2}}{%
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue