diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-16 22:27:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-16 22:27:29 +0000 |
commit | 3ed15084bb84e1e7921a3e5a7a9fc11dbe5a2075 (patch) | |
tree | 869e86c1c783838bc3d77779c8eaf1c7efd081f7 | |
parent | 1eeae05f64972a7535b5ea7d86a5a7e3aa8d104d (diff) |
translations (16jan21)
git-svn-id: svn://tug.org/texlive/trunk@57446 c570f23f-e606-0410-a88d-b1316a301751
11 files changed, 48 insertions, 80 deletions
diff --git a/Master/texmf-dist/doc/latex/translations/README b/Master/texmf-dist/doc/latex/translations/README index e9a9f012f8b..9af62b294da 100644 --- a/Master/texmf-dist/doc/latex/translations/README +++ b/Master/texmf-dist/doc/latex/translations/README @@ -1,5 +1,5 @@ -------------------------------------------------------------------------- -the TRANSLATIONS package v1.9 - 2020/11/08 +the TRANSLATIONS package v1.10 - 2021/01/16 internationalization of LaTeX2e packages -------------------------------------------------------------------------- @@ -7,7 +7,7 @@ Clemens Niederberger Web: https://github.com/cgnieder/translations E-Mail: contact@mychemistry.eu -------------------------------------------------------------------------- -Copyright 2012--2020 Clemens Niederberger +Copyright 2012--2021 Clemens Niederberger This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c diff --git a/Master/texmf-dist/doc/latex/translations/translations_en.pdf b/Master/texmf-dist/doc/latex/translations/translations_en.pdf Binary files differindex fea9e5ce3fc..e0eaca60ed1 100644 --- a/Master/texmf-dist/doc/latex/translations/translations_en.pdf +++ b/Master/texmf-dist/doc/latex/translations/translations_en.pdf diff --git a/Master/texmf-dist/doc/latex/translations/translations_en.tex b/Master/texmf-dist/doc/latex/translations/translations_en.tex index 7118e67b3e6..3d579860f31 100644 --- a/Master/texmf-dist/doc/latex/translations/translations_en.tex +++ b/Master/texmf-dist/doc/latex/translations/translations_en.tex @@ -12,23 +12,18 @@ % Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2012--2020 Clemens Niederberger +% Copyright 2012--2021 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. -% -% This work has the LPPL maintenance status `maintained'. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -% If you have any ideas, questions, suggestions or bugs to report, please -% feel free to contact me. -% -------------------------------------------------------------------------- \documentclass[load-preamble]{cnltx-doc} \usepackage[french,brazil,spanish,ngerman,english]{babel} % ---------------------------------------------------------------------------- @@ -143,13 +138,9 @@ package available I began using it in various of my other packages so it got extended to the needs I faced there. -\section{License and Requirements}\label{sec:license} +\section{License}\label{sec:license} \license -\translations\ requires the packages \pkg{etoolbox}~\cite{pkg:etoolbox} and -\pkg{scrlfile} (part of the \KOMAScript\ bundle~\cite{bnd:koma-script}). - - \section{Usage} \subsection{Background} The \translations\ package enables the author of a package or a class (or a diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-brazil.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-brazil.trsl index 9d0c440480a..b2d495e2619 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-brazil.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-brazil.trsl @@ -8,23 +8,20 @@ % Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2012--2020 Clemens Niederberger +% Copyright 2012--2021 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -% If you have any ideas, questions, suggestions or bugs to report, please -% feel free to contact me. -% -------------------------------------------------------------------------- \ProvideDictionaryFor{Brazil}{translations-basic-dictionary} \ProvideDictTranslation{Abstract}{Resumo} diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-catalan.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-catalan.trsl index dd9fe5409b0..1be12223d75 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-catalan.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-catalan.trsl @@ -1,32 +1,27 @@ % -------------------------------------------------------------------------- % the TRANSLATIONS package % -% internationalizations of LaTeX2e packages -% +% internationalization of LaTeX2e packages +% % -------------------------------------------------------------------------- % Clemens Niederberger % Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2012--2020 Clemens Niederberger +% Copyright 2012--2021 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % % 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. -% -------------------------------------------------------------------------- \ProvideDictionaryFor{Spanish}{translations-basic-dictionary} \ProvideDictTranslation{Abstract}{Resum} diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-dutch.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-dutch.trsl index 5d70d9dfb95..5a0f4f2fcc7 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-dutch.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-dutch.trsl @@ -8,23 +8,20 @@ % Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2012--2020 Clemens Niederberger +% Copyright 2012--2021 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -% If you have any ideas, questions, suggestions or bugs to report, please -% feel free to contact me. -% -------------------------------------------------------------------------- \ProvideDictionaryFor{Dutch}{translations-basic-dictionary} \ProvideDictTranslation{Abstract}{Samenvatting} diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-english.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-english.trsl index 13c12392b8e..ad659328b30 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-english.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-english.trsl @@ -8,23 +8,20 @@ % Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2012--2020 Clemens Niederberger +% Copyright 2012--2021 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -% If you have any ideas, questions, suggestions or bugs to report, please -% feel free to contact me. -% -------------------------------------------------------------------------- \ProvideDictionaryFor{English}{translations-basic-dictionary} \ProvideDictTranslation{Abstract}{Abstract} diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-french.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-french.trsl index ed0a99cd668..4f3818cc24f 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-french.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-french.trsl @@ -8,23 +8,20 @@ % Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2012--2020 Clemens Niederberger +% Copyright 2012--2021 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -% If you have any ideas, questions, suggestions or bugs to report, please -% feel free to contact me. -% -------------------------------------------------------------------------- \ProvideDictionaryFor{French}{translations-basic-dictionary} \ProvideDictTranslation{Abstract}{R\'{e}sum\'{e}} diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-german.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-german.trsl index 1bda332224f..4c192b3dacb 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-german.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-german.trsl @@ -8,23 +8,20 @@ % Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2012--2020 Clemens Niederberger +% Copyright 2012--2021 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -% If you have any ideas, questions, suggestions or bugs to report, please -% feel free to contact me. -% -------------------------------------------------------------------------- \ProvideDictionaryFor{German}{translations-basic-dictionary} \ProvideDictTranslation{Abstract}{Zusammenfassung} diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-spanish.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-spanish.trsl index 38d4dcf8276..9d281f509d0 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-spanish.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-spanish.trsl @@ -8,23 +8,20 @@ % Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2012--2020 Clemens Niederberger +% Copyright 2012--2021 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -% If you have any ideas, questions, suggestions or bugs to report, please -% feel free to contact me. -% -------------------------------------------------------------------------- \ProvideDictionaryFor{Spanish}{translations-basic-dictionary} \ProvideDictTranslation{Abstract}{Resumen} diff --git a/Master/texmf-dist/tex/latex/translations/translations.sty b/Master/texmf-dist/tex/latex/translations/translations.sty index 49418ecc85a..85ca86120d5 100644 --- a/Master/texmf-dist/tex/latex/translations/translations.sty +++ b/Master/texmf-dist/tex/latex/translations/translations.sty @@ -8,15 +8,15 @@ % Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- -% Copyright 2012--2020 Clemens Niederberger +% Copyright 2012--2021 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % @@ -25,15 +25,15 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % -------------------------------------------------------------------------- -\newcommand*\@trnslt@date{2020/11/08} -\newcommand*\@trnslt@version{v1.9} +\newcommand*\@trnslt@date{2021/01/16} +\newcommand*\@trnslt@version{v1.10} \newcommand*\@trnslt@packageinfo{internationalization of LaTeX2e packages} \ProvidesPackage{translations}[% \@trnslt@date\space \@trnslt@version\space \@trnslt@packageinfo\space (CN)] -\RequirePackage{scrlfile,etoolbox,pdftexcmds} +\RequirePackage{etoolbox,pdftexcmds} % -------------------------------------------------------------------------- % message handling @@ -70,7 +70,7 @@ % -------------------------------------------------------------------------- % check if babel or polyglossia is used -\AtEndPreamble{ +\AddToHook{begindocument/before}{ \@ifpackageloaded{babel}{}{ \@ifpackageloaded{polyglossia}{} {\@trnslt@info{No language package found. I am going to use `english' @@ -579,7 +579,7 @@ % load dictionaries and check for existing ones: % \LoadDictionary and \LoadDictionaryFor \newrobustcmd*\LoadDictionary[1]{% - \AtEndPreamble{% + \AddToHook{begindocument/before}{% \@trnslt@load@dictionary@for{#1}{\@trnslt@current@language}% }% } @@ -632,7 +632,7 @@ % #1: name % #2: lang \newrobustcmd*\@trnslt@check@dictionary[2]{% - \AfterFile{#1-\@trnslt@language{#2}.trsl} + \AddToHook{file/#1-\@trnslt@language{#2}.trsl/after} {% \edef\@trnslt@tmpa{\@trnslt@language{#2}}% \ifcsdef{@trnslt@dictionary@#1@\@trnslt@tmpa} @@ -1233,4 +1233,4 @@ 2020/11/08 v1.9 - add \ifcurrentlang{<lang>} ... \else ... \fi - add \ifcurrentbaselang{<lang>} ... \else ... \fi - add Brazilian basic dictionary - +2021/01/16 v1.10 - remove scrlfile dependency |