summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/translations
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-01-17 03:02:33 +0000
committerNorbert Preining <norbert@preining.info>2021-01-17 03:02:33 +0000
commit8591b56496b93eed20f638ee1ce46b11c3f7be58 (patch)
treeb2afe58ae1a4b7b138a752410d3d7232485a4f9d /macros/latex/contrib/translations
parent07a2495c5aecc2f871625ae63d25ee1cc18b2ca5 (diff)
CTAN sync 202101170302
Diffstat (limited to 'macros/latex/contrib/translations')
-rw-r--r--macros/latex/contrib/translations/README4
-rw-r--r--macros/latex/contrib/translations/dicts/translations-basic-dictionary-brazil.trsl11
-rw-r--r--macros/latex/contrib/translations/dicts/translations-basic-dictionary-catalan.trsl17
-rw-r--r--macros/latex/contrib/translations/dicts/translations-basic-dictionary-dutch.trsl11
-rw-r--r--macros/latex/contrib/translations/dicts/translations-basic-dictionary-english.trsl11
-rw-r--r--macros/latex/contrib/translations/dicts/translations-basic-dictionary-french.trsl11
-rw-r--r--macros/latex/contrib/translations/dicts/translations-basic-dictionary-german.trsl11
-rw-r--r--macros/latex/contrib/translations/dicts/translations-basic-dictionary-spanish.trsl11
-rw-r--r--macros/latex/contrib/translations/translations.sty22
-rw-r--r--macros/latex/contrib/translations/translations_en.pdfbin497802 -> 496825 bytes
-rw-r--r--macros/latex/contrib/translations/translations_en.tex19
11 files changed, 48 insertions, 80 deletions
diff --git a/macros/latex/contrib/translations/README b/macros/latex/contrib/translations/README
index e9a9f012f8..9af62b294d 100644
--- a/macros/latex/contrib/translations/README
+++ b/macros/latex/contrib/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/macros/latex/contrib/translations/dicts/translations-basic-dictionary-brazil.trsl b/macros/latex/contrib/translations/dicts/translations-basic-dictionary-brazil.trsl
index 9d0c440480..b2d495e261 100644
--- a/macros/latex/contrib/translations/dicts/translations-basic-dictionary-brazil.trsl
+++ b/macros/latex/contrib/translations/dicts/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/macros/latex/contrib/translations/dicts/translations-basic-dictionary-catalan.trsl b/macros/latex/contrib/translations/dicts/translations-basic-dictionary-catalan.trsl
index dd9fe5409b..1be12223d7 100644
--- a/macros/latex/contrib/translations/dicts/translations-basic-dictionary-catalan.trsl
+++ b/macros/latex/contrib/translations/dicts/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/macros/latex/contrib/translations/dicts/translations-basic-dictionary-dutch.trsl b/macros/latex/contrib/translations/dicts/translations-basic-dictionary-dutch.trsl
index 5d70d9dfb9..5a0f4f2fcc 100644
--- a/macros/latex/contrib/translations/dicts/translations-basic-dictionary-dutch.trsl
+++ b/macros/latex/contrib/translations/dicts/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/macros/latex/contrib/translations/dicts/translations-basic-dictionary-english.trsl b/macros/latex/contrib/translations/dicts/translations-basic-dictionary-english.trsl
index 13c12392b8..ad659328b3 100644
--- a/macros/latex/contrib/translations/dicts/translations-basic-dictionary-english.trsl
+++ b/macros/latex/contrib/translations/dicts/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/macros/latex/contrib/translations/dicts/translations-basic-dictionary-french.trsl b/macros/latex/contrib/translations/dicts/translations-basic-dictionary-french.trsl
index ed0a99cd66..4f3818cc24 100644
--- a/macros/latex/contrib/translations/dicts/translations-basic-dictionary-french.trsl
+++ b/macros/latex/contrib/translations/dicts/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/macros/latex/contrib/translations/dicts/translations-basic-dictionary-german.trsl b/macros/latex/contrib/translations/dicts/translations-basic-dictionary-german.trsl
index 1bda332224..4c192b3dac 100644
--- a/macros/latex/contrib/translations/dicts/translations-basic-dictionary-german.trsl
+++ b/macros/latex/contrib/translations/dicts/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/macros/latex/contrib/translations/dicts/translations-basic-dictionary-spanish.trsl b/macros/latex/contrib/translations/dicts/translations-basic-dictionary-spanish.trsl
index 38d4dcf827..9d281f509d 100644
--- a/macros/latex/contrib/translations/dicts/translations-basic-dictionary-spanish.trsl
+++ b/macros/latex/contrib/translations/dicts/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/macros/latex/contrib/translations/translations.sty b/macros/latex/contrib/translations/translations.sty
index 49418ecc85..85ca86120d 100644
--- a/macros/latex/contrib/translations/translations.sty
+++ b/macros/latex/contrib/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
diff --git a/macros/latex/contrib/translations/translations_en.pdf b/macros/latex/contrib/translations/translations_en.pdf
index fea9e5ce3f..e0eaca60ed 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 7118e67b3e..3d579860f3 100644
--- a/macros/latex/contrib/translations/translations_en.tex
+++ b/macros/latex/contrib/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