texlive[54929] Master/texmf-dist: translations (28apr20)

commits+karl at tug.org commits+karl at tug.org
Tue Apr 28 23:11:54 CEST 2020


Revision: 54929
          http://tug.org/svn/texlive?view=revision&revision=54929
Author:   karl
Date:     2020-04-28 23:11:54 +0200 (Tue, 28 Apr 2020)
Log Message:
-----------
translations (28apr20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/translations/README
    trunk/Master/texmf-dist/doc/latex/translations/translations_en.pdf
    trunk/Master/texmf-dist/doc/latex/translations/translations_en.tex
    trunk/Master/texmf-dist/tex/latex/translations/translations.sty

Modified: trunk/Master/texmf-dist/doc/latex/translations/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/translations/README	2020-04-28 21:11:42 UTC (rev 54928)
+++ trunk/Master/texmf-dist/doc/latex/translations/README	2020-04-28 21:11:54 UTC (rev 54929)
@@ -1,5 +1,5 @@
 --------------------------------------------------------------------------
-the TRANSLATIONS package v1.8a - 2020/04/26
+the TRANSLATIONS package v1.8b - 2020/04/28
   internationalization of LaTeX2e packages
 
 --------------------------------------------------------------------------

Modified: trunk/Master/texmf-dist/doc/latex/translations/translations_en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/translations/translations_en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/translations/translations_en.tex	2020-04-28 21:11:42 UTC (rev 54928)
+++ trunk/Master/texmf-dist/doc/latex/translations/translations_en.tex	2020-04-28 21:11:54 UTC (rev 54929)
@@ -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.
 % --------------------------------------------------------------------------

Modified: trunk/Master/texmf-dist/tex/latex/translations/translations.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/translations/translations.sty	2020-04-28 21:11:42 UTC (rev 54928)
+++ trunk/Master/texmf-dist/tex/latex/translations/translations.sty	2020-04-28 21:11:54 UTC (rev 54929)
@@ -25,8 +25,8 @@
 % If you have any ideas, questions, suggestions or bugs to report, please
 % feel free to contact me.
 % --------------------------------------------------------------------------
-\newcommand*\@trnslt at date{2020/04/26}
-\newcommand*\@trnslt at version{v1.8a}
+\newcommand*\@trnslt at date{2020/04/28}
+\newcommand*\@trnslt at version{v1.8b}
 \newcommand*\@trnslt at 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 at load@dictionary at for{#1}{\@trnslt at current@language}}
+  \AtEndPreamble{%
+    \@trnslt at load@dictionary at for{#1}{\@trnslt at current@language}%
+  }%
+}
 \@onlypreamble\LoadDictionary
 
 \newrobustcmd*\LoadDictionaryFor[2]{%
@@ -557,6 +560,8 @@
   \@trnslt at load@dictionary at for@dialect{#2}{#1}}
 \@onlypreamble\LoadDictionaryFor
 
+\newcommand*\@trnslt at basic@dictionary{translations-basic-dictionary}
+
 \newcommand*\@trnslt at dictionaries{}
 
 \edef\@trnslt at catcodes{%
@@ -614,9 +619,19 @@
         {%
           \InputIfFileExists{#1-\baselanguage{#2}.trsl}
             {\@trnslt at check@dictionary{#1}{#2}}
-            {\@trnslt at info{no dictionary file `#1-\baselanguage{#2}.trsl' found.}}
+            {%
+              \ifdefstring\@trnslt at basic@dictionary{#1}
+                {\@trnslt at info}
+                {\@trnslt at warning}
+              {no dictionary file `#1-\baselanguage{#2}.trsl' found.}%
+            }%
         }%
-        {\@trnslt at info{no dictionary file `#1-#2.trsl' found.}}
+        {%
+          \ifdefstring\@trnslt at basic@dictionary{#1}
+            {\@trnslt at info}
+            {\@trnslt at warning}
+          {no dictionary file `#1-#2.trsl' found.}%
+        }%
     }%
 }
 
@@ -1078,7 +1093,7 @@
   \fi
   \expanded{%
     \noexpand\forcsvlist
-    {\noexpand\@trnslt at load@dictionary at for{translations-basic-dictionary}}
+    {\noexpand\@trnslt at load@dictionary at for{\@trnslt at basic@dictionary}}
     {\expandonce\@trnslt at loaded@languages}%
   }%
   \def\do#1{\@trnslt at input@dictionary#1\q at stop}



More information about the tex-live-commits mailing list.