summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/exsheets/translations.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/exsheets/translations.sty')
-rw-r--r--Master/texmf-dist/tex/latex/exsheets/translations.sty4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/exsheets/translations.sty b/Master/texmf-dist/tex/latex/exsheets/translations.sty
index 09338cc1452..143a1ab2688 100644
--- a/Master/texmf-dist/tex/latex/exsheets/translations.sty
+++ b/Master/texmf-dist/tex/latex/exsheets/translations.sty
@@ -244,9 +244,11 @@
\@onlypreamble\LoadDictionary
\newrobustcmd*\LoadDictionaryFor[2]{%
- \@trnslt@load@dictionary@for{#1}{#2}}
+ \@trnslt@load@dictionary@for{#2}{#1}}
\@onlypreamble\LoadDictionaryFor
+% #1: name
+% #2: lang
\def\@trnslt@load@dictionary@for#1#2{%
\AtBeginDocument{%
\InputIfFileExists{#1-\@trnslt@language{#2}.trsl}