From 5df6c2aefebe3d2abcc939a88e294876d59f03ca Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 13:26:17 +0200 Subject: Adding upstream version 0.72. Signed-off-by: Daniel Baumann --- t/fmt/tex/basic.norm | 27 +++++++++ t/fmt/tex/basic.norm.stderr | 1 + t/fmt/tex/basic.po | 71 +++++++++++++++++++++++ t/fmt/tex/basic.pot | 66 +++++++++++++++++++++ t/fmt/tex/basic.tex | 28 +++++++++ t/fmt/tex/basic.trans | 27 +++++++++ t/fmt/tex/basic.trans.stderr | 1 + t/fmt/tex/input-in-verbatim.norm | 11 ++++ t/fmt/tex/input-in-verbatim.po | 27 +++++++++ t/fmt/tex/input-in-verbatim.pot | 25 ++++++++ t/fmt/tex/input-in-verbatim.stderr-without-ignore | 1 + t/fmt/tex/input-in-verbatim.tex | 9 +++ t/fmt/tex/input-in-verbatim.trans | 11 ++++ t/fmt/tex/theorem.norm | 9 +++ t/fmt/tex/theorem.po | 27 +++++++++ t/fmt/tex/theorem.pot | 27 +++++++++ t/fmt/tex/theorem.tex | 7 +++ t/fmt/tex/theorem.trans | 9 +++ 18 files changed, 384 insertions(+) create mode 100644 t/fmt/tex/basic.norm create mode 100644 t/fmt/tex/basic.norm.stderr create mode 100644 t/fmt/tex/basic.po create mode 100644 t/fmt/tex/basic.pot create mode 100644 t/fmt/tex/basic.tex create mode 100644 t/fmt/tex/basic.trans create mode 100644 t/fmt/tex/basic.trans.stderr create mode 100644 t/fmt/tex/input-in-verbatim.norm create mode 100644 t/fmt/tex/input-in-verbatim.po create mode 100644 t/fmt/tex/input-in-verbatim.pot create mode 100644 t/fmt/tex/input-in-verbatim.stderr-without-ignore create mode 100644 t/fmt/tex/input-in-verbatim.tex create mode 100644 t/fmt/tex/input-in-verbatim.trans create mode 100644 t/fmt/tex/theorem.norm create mode 100644 t/fmt/tex/theorem.po create mode 100644 t/fmt/tex/theorem.pot create mode 100644 t/fmt/tex/theorem.tex create mode 100644 t/fmt/tex/theorem.trans (limited to 't/fmt/tex') diff --git a/t/fmt/tex/basic.norm b/t/fmt/tex/basic.norm new file mode 100644 index 0000000..89c7ddc --- /dev/null +++ b/t/fmt/tex/basic.norm @@ -0,0 +1,27 @@ +% This file was generated with po4a. Translate the source file. +% +\documentclass[12pt]{article-wrong} +\begin{document} + +\section*{first section} + +first paragraph. + +\noindent second paragraph + +\section{second section} + +\begin{verbatim} +Verbatim + text + azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty +foo bar +\end{verbatim} + +\subsection{an empty subsection} + +\subsubsection{an empty subsubsection} +in fact...not so empty + + +\end{document} diff --git a/t/fmt/tex/basic.norm.stderr b/t/fmt/tex/basic.norm.stderr new file mode 100644 index 0000000..edb6c84 --- /dev/null +++ b/t/fmt/tex/basic.norm.stderr @@ -0,0 +1 @@ +po4a::tex: kpsewhich cannot find article-wrong.cls diff --git a/t/fmt/tex/basic.po b/t/fmt/tex/basic.po new file mode 100644 index 0000000..5c333d3 --- /dev/null +++ b/t/fmt/tex/basic.po @@ -0,0 +1,71 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2005-04-24 17:45+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: section{#2} +#: basic.tex:5 +msgid "first section" +msgstr "FIRST SECTION" + +#. type: document +#: basic.tex:7 +msgid "first paragraph." +msgstr "FIRST PARAGRAPH." + +#. comment +#. type: document +#: basic.tex:10 +msgid "\\noindent second paragraph" +msgstr "\\noindent SECOND PARAGRAPH" + +#. type: section{#2} +#: basic.tex:12 +msgid "second section" +msgstr "SECOND SECTION" + +#. type: verbatim +#: basic.tex:18 +#, no-wrap +msgid "" +"Verbatim\n" +" text\n" +"\tazerty azerty azerty azerty azerty azerty azerty azerty azerty azerty " +"azerty azerty azerty azerty azerty azerty azerty azerty azerty\n" +"foo bar" +msgstr "" +"VERBATIM\n" +" TEXT\n" +"\tAZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY " +"AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY\n" +"FOO BAR" + +#. type: subsection{#2} +#: basic.tex:21 +msgid "an empty subsection" +msgstr "AN EMPTY SUBSECTION" + +#. some comments +#. line continuation +#. type: subsubsection{#2} +#: basic.tex:26 +msgid "an empty subsubsection" +msgstr "AN EMPTY SUBSUBSECTION" + +#. type: document +#: basic.tex:26 +msgid "in fact...not so empty" +msgstr "IN FACT... NOT SO EMPTY" diff --git a/t/fmt/tex/basic.pot b/t/fmt/tex/basic.pot new file mode 100644 index 0000000..4d15156 --- /dev/null +++ b/t/fmt/tex/basic.pot @@ -0,0 +1,66 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2005-04-24 17:45+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: section{#2} +#: basic.tex:5 +msgid "first section" +msgstr "" + +#. type: document +#: basic.tex:7 +msgid "first paragraph." +msgstr "" + +#. comment +#. type: document +#: basic.tex:10 +msgid "\\noindent second paragraph" +msgstr "" + +#. type: section{#2} +#: basic.tex:12 +msgid "second section" +msgstr "" + +#. type: verbatim +#: basic.tex:18 +#, no-wrap +msgid "" +"Verbatim\n" +" text\n" +"\tazerty azerty azerty azerty azerty azerty azerty azerty azerty azerty " +"azerty azerty azerty azerty azerty azerty azerty azerty azerty\n" +"foo bar" +msgstr "" + +#. type: subsection{#2} +#: basic.tex:21 +msgid "an empty subsection" +msgstr "" + +#. some comments +#. line continuation +#. type: subsubsection{#2} +#: basic.tex:26 +msgid "an empty subsubsection" +msgstr "" + +#. type: document +#: basic.tex:26 +msgid "in fact...not so empty" +msgstr "" diff --git a/t/fmt/tex/basic.tex b/t/fmt/tex/basic.tex new file mode 100644 index 0000000..49fe8e2 --- /dev/null +++ b/t/fmt/tex/basic.tex @@ -0,0 +1,28 @@ +\documentclass[12pt]{article-wrong} +\begin{document} + +\section*{first section} + +first paragraph. + +\noindent +second paragraph%comment + +\section{second section} + +\begin{verbatim} +Verbatim + text + azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty +foo bar +\end{verbatim} + +\subsection{an empty subsection} + +% some comments +\subsubsection{an empty subsubsection} +in fact% line continuation + ...not so empty + + +\end{document} diff --git a/t/fmt/tex/basic.trans b/t/fmt/tex/basic.trans new file mode 100644 index 0000000..599a9f7 --- /dev/null +++ b/t/fmt/tex/basic.trans @@ -0,0 +1,27 @@ +% This file was generated with po4a. Translate the source file. +% +\documentclass[12pt]{article-wrong} +\begin{document} + +\section*{FIRST SECTION} + +FIRST PARAGRAPH. + +\noindent SECOND PARAGRAPH + +\section{SECOND SECTION} + +\begin{verbatim} +VERBATIM + TEXT + AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY AZERTY +FOO BAR +\end{verbatim} + +\subsection{AN EMPTY SUBSECTION} + +\subsubsection{AN EMPTY SUBSUBSECTION} +IN FACT... NOT SO EMPTY + + +\end{document} diff --git a/t/fmt/tex/basic.trans.stderr b/t/fmt/tex/basic.trans.stderr new file mode 100644 index 0000000..edb6c84 --- /dev/null +++ b/t/fmt/tex/basic.trans.stderr @@ -0,0 +1 @@ +po4a::tex: kpsewhich cannot find article-wrong.cls diff --git a/t/fmt/tex/input-in-verbatim.norm b/t/fmt/tex/input-in-verbatim.norm new file mode 100644 index 0000000..24ce935 --- /dev/null +++ b/t/fmt/tex/input-in-verbatim.norm @@ -0,0 +1,11 @@ +% This file was generated with po4a. Translate the source file. +% +\documentclass[12pt]{article} +\begin{document} + +\begin{verbatim} +\documentclass[ignorenonframetext]{beamer} +\input{main.tex} +\end{verbatim} + +\end{document} diff --git a/t/fmt/tex/input-in-verbatim.po b/t/fmt/tex/input-in-verbatim.po new file mode 100644 index 0000000..e3f8fac --- /dev/null +++ b/t/fmt/tex/input-in-verbatim.po @@ -0,0 +1,27 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2024-01-04 01:52+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: verbatim +#: input-in-verbatim.tex:7 +#, no-wrap +msgid "" +"\\documentclass[ignorenonframetext]{beamer}\n" +"\\input{main.tex}" +msgstr "" +"\\documentclass[ignorenonframetext]{beamer}\n" +"\\input{main.tex}" diff --git a/t/fmt/tex/input-in-verbatim.pot b/t/fmt/tex/input-in-verbatim.pot new file mode 100644 index 0000000..554bc7a --- /dev/null +++ b/t/fmt/tex/input-in-verbatim.pot @@ -0,0 +1,25 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2024-01-04 01:50+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: verbatim +#: input-in-verbatim.tex:7 +#, no-wrap +msgid "" +"\\documentclass[ignorenonframetext]{beamer}\n" +"\\input{main.tex}" +msgstr "" diff --git a/t/fmt/tex/input-in-verbatim.stderr-without-ignore b/t/fmt/tex/input-in-verbatim.stderr-without-ignore new file mode 100644 index 0000000..c930e27 --- /dev/null +++ b/t/fmt/tex/input-in-verbatim.stderr-without-ignore @@ -0,0 +1 @@ +po4a::tex: Cannot find 'main.tex' with kpsewhich. To prevent this file to be included, add '-o exclude_include=main.tex' to the options, either on the command line or in your po4a.conf file. diff --git a/t/fmt/tex/input-in-verbatim.tex b/t/fmt/tex/input-in-verbatim.tex new file mode 100644 index 0000000..6383bce --- /dev/null +++ b/t/fmt/tex/input-in-verbatim.tex @@ -0,0 +1,9 @@ +\documentclass[12pt]{article} +\begin{document} + +\begin{verbatim} +\documentclass[ignorenonframetext]{beamer} +\input{main.tex} +\end{verbatim} + +\end{document} \ No newline at end of file diff --git a/t/fmt/tex/input-in-verbatim.trans b/t/fmt/tex/input-in-verbatim.trans new file mode 100644 index 0000000..24ce935 --- /dev/null +++ b/t/fmt/tex/input-in-verbatim.trans @@ -0,0 +1,11 @@ +% This file was generated with po4a. Translate the source file. +% +\documentclass[12pt]{article} +\begin{document} + +\begin{verbatim} +\documentclass[ignorenonframetext]{beamer} +\input{main.tex} +\end{verbatim} + +\end{document} diff --git a/t/fmt/tex/theorem.norm b/t/fmt/tex/theorem.norm new file mode 100644 index 0000000..a9827a8 --- /dev/null +++ b/t/fmt/tex/theorem.norm @@ -0,0 +1,9 @@ +% This file was generated with po4a. Translate the source file. +% +\documentclass{article} +\newtheorem{theorem}{Theorem} +\newtheorem{lemma}[theorem]{Lemma} + +\begin{document} +\end{document} + diff --git a/t/fmt/tex/theorem.po b/t/fmt/tex/theorem.po new file mode 100644 index 0000000..7354992 --- /dev/null +++ b/t/fmt/tex/theorem.po @@ -0,0 +1,27 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2013-07-14 18:20+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: newtheorem{#3} +#: theorem.tex:4 +msgid "Theorem" +msgstr "tHEOREM" + +#. type: newtheorem{#3} +#: theorem.tex:4 +msgid "Lemma" +msgstr "lEMMA" diff --git a/t/fmt/tex/theorem.pot b/t/fmt/tex/theorem.pot new file mode 100644 index 0000000..3097045 --- /dev/null +++ b/t/fmt/tex/theorem.pot @@ -0,0 +1,27 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2013-07-14 18:20+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: newtheorem{#3} +#: theorem.tex:4 +msgid "Theorem" +msgstr "" + +#. type: newtheorem{#3} +#: theorem.tex:4 +msgid "Lemma" +msgstr "" diff --git a/t/fmt/tex/theorem.tex b/t/fmt/tex/theorem.tex new file mode 100644 index 0000000..e5ebd9d --- /dev/null +++ b/t/fmt/tex/theorem.tex @@ -0,0 +1,7 @@ +\documentclass{article} +\newtheorem{theorem}{Theorem} +\newtheorem{lemma}[theorem]{Lemma} + +\begin{document} +\end{document} + diff --git a/t/fmt/tex/theorem.trans b/t/fmt/tex/theorem.trans new file mode 100644 index 0000000..39ce606 --- /dev/null +++ b/t/fmt/tex/theorem.trans @@ -0,0 +1,9 @@ +% This file was generated with po4a. Translate the source file. +% +\documentclass{article} +\newtheorem{theorem}{tHEOREM} +\newtheorem{lemma}[theorem]{lEMMA} + +\begin{document} +\end{document} + -- cgit v1.2.3