[Core] Add better translation command
All checks were successful
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

View File

@@ -51,6 +51,7 @@
\item \verb|\startDocument| Initialize the document. Has to be called after \verb|\begin{document}|
\item \verb|\translate|\{\textit{string}\}\{\textit{string}\} First \textit{string} is English, second \textit{string} is German. Switches automatically based on language selected
\item \verb|\tr|\{\textit{string}\}\{\textit{string}\} Shorthand for \verb|\translate|
\item \verb|\safetr|\{\textit{string}\}\{\textit{string}\} Shorthand for \verb|\translate|, safe to use in section titles
\item \verb|\numberingOn| Turn on the numbering (if previously turned off using \verb|\numberingOff| or set in the config)
\item \verb|\numberingOff| Turn off the numbering (useful to temporarily turn off numbering)
\end{itemize}