[Core] Add better translation command
Update docs / build_docs (push) Successful in 29s
Update helpers / build_helpers (push) Successful in 21s

This commit is contained in:
2026-03-01 15:52:53 +01:00
parent 96a8806ba1
commit 03ee657e1f
4 changed files with 295 additions and 286 deletions
+1
View File
@@ -5,6 +5,7 @@
\ifthenelse{\equal{\currentLanguage}{en}}{#1}{#2}%
}
\newcommand{\tr}[2]{\translate{#1}{#2}}
\newcommand{\safetr}[2]{\protecting{\translate{#1}{#2}}}
\newcommand{\namingTranslate}[1]{\translate{\printTranslationOptionEN{#1}}{\printTranslationOptionDE{#1}}}
\newcommand{\shortNamingTranslate}[1]{\translate{\printShortTranslationOptionEN{#1}}{\printShortTranslationOptionDE{#1}}}