summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/translations
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-04-29 03:03:01 +0000
committerNorbert Preining <norbert@preining.info>2020-04-29 03:03:01 +0000
commit817ecb96eab4ed6494ddb6b8d0f17c2947a91196 (patch)
treee224845d8908ce3e353eee67b768525a2f65097a /macros/latex/contrib/translations
parent7f8fffa1c8b5b30f8e2a9fd4b76778147dbb9128 (diff)
CTAN sync 202004290303
Diffstat (limited to 'macros/latex/contrib/translations')
-rw-r--r--macros/latex/contrib/translations/README2
-rw-r--r--macros/latex/contrib/translations/translations.sty27
-rw-r--r--macros/latex/contrib/translations/translations_en.pdfbin500141 -> 500132 bytes
-rw-r--r--macros/latex/contrib/translations/translations_en.tex2
4 files changed, 22 insertions, 9 deletions
diff --git a/macros/latex/contrib/translations/README b/macros/latex/contrib/translations/README
index d403194378..4f93dfa1da 100644
--- a/macros/latex/contrib/translations/README
+++ b/macros/latex/contrib/translations/README
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------
-the TRANSLATIONS package v1.8a - 2020/04/26
+the TRANSLATIONS package v1.8b - 2020/04/28
internationalization of LaTeX2e packages
--------------------------------------------------------------------------
diff --git a/macros/latex/contrib/translations/translations.sty b/macros/latex/contrib/translations/translations.sty
index d013842825..1749329c9b 100644
--- a/macros/latex/contrib/translations/translations.sty
+++ b/macros/latex/contrib/translations/translations.sty
@@ -25,8 +25,8 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% --------------------------------------------------------------------------
-\newcommand*\@trnslt@date{2020/04/26}
-\newcommand*\@trnslt@version{v1.8a}
+\newcommand*\@trnslt@date{2020/04/28}
+\newcommand*\@trnslt@version{v1.8b}
\newcommand*\@trnslt@packageinfo{internationalization of LaTeX2e packages}
\ProvidesPackage{translations}[%
@@ -546,7 +546,10 @@
% load dictionaries and check for existing ones:
% \LoadDictionary and \LoadDictionaryFor
\newrobustcmd*\LoadDictionary[1]{%
- \@trnslt@load@dictionary@for{#1}{\@trnslt@current@language}}
+ \AtEndPreamble{%
+ \@trnslt@load@dictionary@for{#1}{\@trnslt@current@language}%
+ }%
+}
\@onlypreamble\LoadDictionary
\newrobustcmd*\LoadDictionaryFor[2]{%
@@ -557,6 +560,8 @@
\@trnslt@load@dictionary@for@dialect{#2}{#1}}
\@onlypreamble\LoadDictionaryFor
+\newcommand*\@trnslt@basic@dictionary{translations-basic-dictionary}
+
\newcommand*\@trnslt@dictionaries{}
\edef\@trnslt@catcodes{%
@@ -614,9 +619,19 @@
{%
\InputIfFileExists{#1-\baselanguage{#2}.trsl}
{\@trnslt@check@dictionary{#1}{#2}}
- {\@trnslt@info{no dictionary file `#1-\baselanguage{#2}.trsl' found.}}
+ {%
+ \ifdefstring\@trnslt@basic@dictionary{#1}
+ {\@trnslt@info}
+ {\@trnslt@warning}
+ {no dictionary file `#1-\baselanguage{#2}.trsl' found.}%
+ }%
+ }%
+ {%
+ \ifdefstring\@trnslt@basic@dictionary{#1}
+ {\@trnslt@info}
+ {\@trnslt@warning}
+ {no dictionary file `#1-#2.trsl' found.}%
}%
- {\@trnslt@info{no dictionary file `#1-#2.trsl' found.}}
}%
}
@@ -1078,7 +1093,7 @@
\fi
\expanded{%
\noexpand\forcsvlist
- {\noexpand\@trnslt@load@dictionary@for{translations-basic-dictionary}}
+ {\noexpand\@trnslt@load@dictionary@for{\@trnslt@basic@dictionary}}
{\expandonce\@trnslt@loaded@languages}%
}%
\def\do#1{\@trnslt@input@dictionary#1\q@stop}
diff --git a/macros/latex/contrib/translations/translations_en.pdf b/macros/latex/contrib/translations/translations_en.pdf
index 27d71b446a..427707ca89 100644
--- a/macros/latex/contrib/translations/translations_en.pdf
+++ b/macros/latex/contrib/translations/translations_en.pdf
Binary files differ
diff --git a/macros/latex/contrib/translations/translations_en.tex b/macros/latex/contrib/translations/translations_en.tex
index 2b04600d0d..340eaafac8 100644
--- a/macros/latex/contrib/translations/translations_en.tex
+++ b/macros/latex/contrib/translations/translations_en.tex
@@ -26,8 +26,6 @@
%
% The Current Maintainer of this work is Clemens Niederberger.
% --------------------------------------------------------------------------
-% The translations package is part of the exsheets bundle
-% --------------------------------------------------------------------------
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% --------------------------------------------------------------------------