[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Tue, 8 Nov 2022 03:29:29 -0500 (EST) |
branch: master
commit fac394ddc97957e98529c110d0b14f21c9aedc38
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Nov 5 17:49:05 2022 +0100
Augment test of customized translations to test FirstInFile* setup
---
tp/TODO | 4 +-
tp/t/init/translated_strings_customization.pm | 9 +
tp/t/init_files_tests.t | 12 +-
.../init_files_tests/customize_translations.pl | 221 +++++++++++----------
.../res_html/Chapter-de.html | 43 ++++
.../res_html/Chapter-fr.html | 55 +++++
.../customize_translations/res_html/Chapter.html | 43 ++++
.../res_html/Last-chapter.html | 40 ++++
.../customize_translations/res_html/index.html | 62 ++++++
.../res_html/section-fr.html | 22 ++
10 files changed, 399 insertions(+), 112 deletions(-)
diff --git a/tp/TODO b/tp/TODO
index 71d2774a75..38df1ab53a 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -125,7 +125,7 @@ In fact @image is completly formatted outside of usual
formatting containers.
Not sure what should be the right way?
test in info_test/image_and_punctuation
-There should be a warning for block commands without argument
+There could be a warning for block commands without argument
that have an argument on their line, like:
@blockcmd text
...
@@ -199,7 +199,7 @@ anchor in flushright, on an empty line, with a current byte
offset.
Future features
===============
-Add in_math (for /) as flag in command_data.txt?
+Add in_math (for \) as flag in command_data.txt?
From Gavin on the preamble_before_beginning implementation:
diff --git a/tp/t/init/translated_strings_customization.pm
b/tp/t/init/translated_strings_customization.pm
index 25eada63d1..beb6a541ea 100644
--- a/tp/t/init/translated_strings_customization.pm
+++ b/tp/t/init/translated_strings_customization.pm
@@ -60,9 +60,18 @@ sub _texi2any_tests_translate_add_button
my ($self, $tree, $stage) = @_;
if (!$button_added) {
+
my @section_buttons = @{$self->get_conf('SECTION_BUTTONS')};
push @section_buttons, (' ', 'Forward');
$self->set_conf('SECTION_BUTTONS', \@section_buttons);
+
+ # this allows to test whether the FirstInFileForward direction
+ # strings get the customized text of 'Forward' through
+ # texinfo_register_direction_string_info
+ my @chapter_footer_buttons = @{$self->get_conf('CHAPTER_FOOTER_BUTTONS')};
+ push @chapter_footer_buttons, (' ', 'FirstInFileForward');
+ $self->set_conf('CHAPTER_FOOTER_BUTTONS', \@chapter_footer_buttons);
+
$button_added = 1;
}
}
diff --git a/tp/t/init_files_tests.t b/tp/t/init_files_tests.t
index f5c7c21460..40e0fe1621 100644
--- a/tp/t/init_files_tests.t
+++ b/tp/t/init_files_tests.t
@@ -28,6 +28,9 @@ pt @error{}.
',{'init_files' => ['translate_txiinternalvalue_macro.init'],
}],
+);
+
+my @file_tests = (
['customize_translations',
'
@contents
@@ -46,6 +49,9 @@ pt @error{}.
@error{}.
+@node section fr
+@section sec fr
+
@documentlanguage de
@node Chapter de
@chapter chap de
@@ -55,10 +61,8 @@ pt @error{}.
@node Last chapter
@chapter Last Chapter
-', {'init_files' => ['translated_strings_customization.pm']}],
-);
-
-my @file_tests = (
+', {'init_files' => ['translated_strings_customization.pm']},
+ {'SPLIT' => 'chapter'}],
['undefined_node_filename',
'@node Top
diff --git a/tp/t/results/init_files_tests/customize_translations.pl
b/tp/t/results/init_files_tests/customize_translations.pl
index a11a996ea6..53d28f4a38 100644
--- a/tp/t/results/init_files_tests/customize_translations.pl
+++ b/tp/t/results/init_files_tests/customize_translations.pl
@@ -311,6 +311,75 @@ $result_trees{'customize_translations'} = {
},
{
'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 14,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'section fr'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'section-fr'
+ }
+ ],
+ 'normalized' => 'section-fr',
+ 'spaces_before_argument' => ' '
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 18,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'sec fr'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'section',
+ 'contents' => [
+ {
+ 'text' => '
',
'type' => 'empty_line'
},
@@ -336,7 +405,7 @@ $result_trees{'customize_translations'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 18,
+ 'line_nr' => 21,
'macro' => ''
}
}
@@ -346,7 +415,7 @@ $result_trees{'customize_translations'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 14,
+ 'line_nr' => 19,
'macro' => ''
}
},
@@ -383,7 +452,7 @@ $result_trees{'customize_translations'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 19,
+ 'line_nr' => 22,
'macro' => ''
}
},
@@ -420,7 +489,7 @@ $result_trees{'customize_translations'} = {
'cmdname' => 'error',
'source_info' => {
'file_name' => '',
- 'line_nr' => 22,
+ 'line_nr' => 25,
'macro' => ''
}
},
@@ -442,7 +511,7 @@ $result_trees{'customize_translations'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 20,
+ 'line_nr' => 23,
'macro' => ''
}
},
@@ -479,7 +548,7 @@ $result_trees{'customize_translations'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 24,
+ 'line_nr' => 27,
'macro' => ''
}
},
@@ -511,7 +580,7 @@ $result_trees{'customize_translations'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 25,
+ 'line_nr' => 28,
'macro' => ''
}
}
@@ -528,6 +597,8 @@
$result_trees{'customize_translations'}{'contents'}[7]{'extra'}{'node_content'}[
$result_trees{'customize_translations'}{'contents'}[7]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'customize_translations'}{'contents'}[7]{'args'}[0]{'contents'}[0];
$result_trees{'customize_translations'}{'contents'}[9]{'extra'}{'node_content'}[0]
=
$result_trees{'customize_translations'}{'contents'}[9]{'args'}[0]{'contents'}[0];
$result_trees{'customize_translations'}{'contents'}[9]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'customize_translations'}{'contents'}[9]{'args'}[0]{'contents'}[0];
+$result_trees{'customize_translations'}{'contents'}[11]{'extra'}{'node_content'}[0]
=
$result_trees{'customize_translations'}{'contents'}[11]{'args'}[0]{'contents'}[0];
+$result_trees{'customize_translations'}{'contents'}[11]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'customize_translations'}{'contents'}[11]{'args'}[0]{'contents'}[0];
$result_texis{'customize_translations'} = '
@contents
@@ -546,6 +617,9 @@ $result_texis{'customize_translations'} = '
@error{}.
+@node section fr
+@section sec fr
+
@documentlanguage de
@node Chapter de
@chapter chap de
@@ -573,6 +647,9 @@ error-->.
error-->.
+2.1 sec fr
+==========
+
3 chap de
*********
@@ -630,6 +707,25 @@ $result_sectioning{'customize_translations'} = {
}
},
'structure' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'section',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'section-fr'
+ },
+ 'structure' => {}
+ }
+ },
+ 'structure' => {
+ 'section_level' => 2,
+ 'section_number' => '2.1',
+ 'section_up' => {}
+ }
+ }
+ ],
'section_level' => 1,
'section_number' => 2,
'section_prev' => {},
@@ -690,6 +786,7 @@ $result_sectioning{'customize_translations'} = {
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
=
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0];
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'}
=
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0];
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'}
=
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
=
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1];
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_prev'}
=
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_up'}
=
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0];
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'toplevel_prev'}
=
$result_sectioning{'customize_translations'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
@@ -802,108 +899,20 @@ $result_menus{'customize_translations'} = {
'structure' => {}
};
-$result_errors{'customize_translations'} = [];
+$result_errors{'customize_translations'} = [
+ {
+ 'error_line' => 'warning: node `section fr\' unreferenced
+',
+ 'file_name' => '',
+ 'line_nr' => 18,
+ 'macro' => '',
+ 'text' => 'node `section fr\' unreferenced',
+ 'type' => 'warning'
+ }
+];
$result_floats{'customize_translations'} = {};
-
-$result_converted{'html'}->{'customize_translations'} = '<!DOCTYPE html>
-<html>
-<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>top</title>
-
-<meta name="description" content="top">
-<meta name="keywords" content="top">
-<meta name="resource-type" content="document">
-<meta name="distribution" content="global">
-<meta name="viewport" content="width=device-width,initial-scale=1">
-
-<link href="#Top" rel="start" title="Top">
-<link href="#SEC_Contents" rel="contents" title="Inhaltsverzeichnis">
-<style type="text/css">
-<!--
-ul.toc-numbered-mark {list-style: none}
--->
-</style>
-
-
-</head>
-
-<body lang="en">
-
-
-<div class="top-level-extent" id="Top">
-<div class="nav-panel">
-<p>
- -> : <a href="#Chapter" accesskey="n" rel="next">chap</a> [<a
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
-</div>
-<h1 class="top" id="top">top</h1>
-
-<div class="element-contents" id="SEC_Contents">
-<h2 class="contents-heading">Table of Contents</h2>
-
-<div class="contents">
-
-<ul class="toc-numbered-mark">
- <li><a id="toc-chap" href="#Chapter">1 chap</a></li>
- <li><a id="toc-chap-fr" href="#Chapter-fr">2 chap fr</a></li>
- <li><a id="toc-chap-de" href="#Chapter-de">3 chap de</a></li>
- <li><a id="toc-Last-Chapter" href="#Last-chapter">4 Last Chapter</a></li>
-</ul>
-</div>
-</div>
-<hr>
-<div class="chapter-level-extent" id="Chapter">
-<div class="nav-panel">
-<p>
- -> : <a href="#Chapter-fr" accesskey="n" rel="next">chap fr</a>, Previous:
<a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top"
accesskey="u" rel="up">top</a> [<a href="#SEC_Contents" title="Table of
contents" rel="contents">Contents</a>] [<a href="#Chapter-fr"
title="Next section in reading order" accesskey="n" rel="next">Forward</a>]</p>
-</div>
-<h2 class="chapter" id="chap">1 chap</h2>
-
-<p>error-->.
-</p>
-<hr>
-</div>
-<div class="chapter-level-extent" id="Chapter-fr">
-<div class="nav-panel">
-<p>
-Nœ suivant: <a href="#Chapter-de" accesskey="n" rel="next">chap de</a>,
Précédent: <a href="#Chapter" accesskey="p" rel="prev">chap</a>,
Monter: <a href="#Top" accesskey="u" rel="up">top</a> [<a
href="#SEC_Contents" title="La Table des matières" rel="contents">Table
des matières</a>] [<a href="#Chapter-de" title="Section suivante
dans l’ordre de lecture" accesskey="n" rel="next">Vers l’avant
⇒</a>]</p>
-</div>
-<h2 class="chapter" id="chap-fr">2 chap fr</h2>
-
-<p>Erreur-->.
-</p>
-<hr>
-</div>
-<div class="chapter-level-extent" id="Chapter-de">
-<div class="nav-panel">
-<p>
-Nächster Knoten: <a href="#Last-chapter" accesskey="n" rel="next">Last
Chapter</a>, Vorige: <a href="#Chapter-fr" accesskey="p" rel="prev">chap
fr</a>, Nach oben: <a href="#Top" accesskey="u" rel="up">top</a> [<a
href="#SEC_Contents" title="Das Inhaltsverzeichnis" rel="contents">Inhalt</a>]
[<a href="#Last-chapter" title="Nächster Abschnitt in Lesereihenfolge"
accesskey="n" rel="next">Nach vorne ⇒</a>]</p>
-</div>
-<h2 class="chapter" id="chap-de">3 chap de</h2>
-
-<p>Fehler-->.
-</p>
-<hr>
-</div>
-<div class="chapter-level-extent" id="Last-chapter">
-<div class="nav-panel">
-<p>
-Vorige: <a href="#Chapter-de" accesskey="p" rel="prev">chap de</a>, Nach oben:
<a href="#Top" accesskey="u" rel="up">top</a> [<a href="#SEC_Contents"
title="Das Inhaltsverzeichnis" rel="contents">Inhalt</a>] </p>
-</div>
-<h2 class="chapter" id="Last-Chapter">4 Last Chapter</h2>
-
-</div>
-</div>
-
-
-
-</body>
-</html>
-';
-
1;
diff --git
a/tp/t/results/init_files_tests/customize_translations/res_html/Chapter-de.html
b/tp/t/results/init_files_tests/customize_translations/res_html/Chapter-de.html
new file mode 100644
index 0000000000..37c2f7457b
--- /dev/null
+++
b/tp/t/results/init_files_tests/customize_translations/res_html/Chapter-de.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Chapter de (top)</title>
+
+<meta name="description" content="Chapter de (top)">
+<meta name="keywords" content="Chapter de (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html#SEC_Contents" rel="contents" title="Inhaltsverzeichnis">
+<link href="index.html" rel="up" title="Top">
+<link href="Last-chapter.html" rel="next" title="Last chapter">
+<link href="Chapter-fr.html#Chapter-fr" rel="prev" title="Chapter fr">
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="Chapter-de">
+<div class="nav-panel">
+<p>
+Nächster Knoten: <a href="Last-chapter.html" accesskey="n" rel="next">Last
Chapter</a>, Vorige: <a href="Chapter-fr.html#Chapter-fr" accesskey="p"
rel="prev">chap fr</a>, Nach oben: <a href="index.html" accesskey="u"
rel="up">top</a> [<a href="index.html#SEC_Contents" title="Das
Inhaltsverzeichnis" rel="contents">Inhalt</a>] [<a
href="Last-chapter.html" title="Nächster Abschnitt in Lesereihenfolge"
accesskey="n" rel="next">Nach vorne ⇒</a>]</p>
+</div>
+<h2 class="chapter" id="chap-de">3 chap de</h2>
+
+<p>Fehler-->.
+</p>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Nächste: <a href="Last-chapter.html" accesskey="n" rel="next">Last
Chapter</a>, Vorige: <a href="Chapter-fr.html#Chapter-fr" accesskey="p"
rel="prev">chap fr</a>, Nach oben: <a href="index.html" accesskey="u"
rel="up">top</a> [<a href="index.html#SEC_Contents" title="Das
Inhaltsverzeichnis" rel="contents">Inhalt</a>] [<a
href="Last-chapter.html" title="Nächster Abschnitt in Lesereihenfolge"
accesskey="n" rel="next">Nach vorne ></a>]</p>
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/init_files_tests/customize_translations/res_html/Chapter-fr.html
b/tp/t/results/init_files_tests/customize_translations/res_html/Chapter-fr.html
new file mode 100644
index 0000000000..8128ed0ae1
--- /dev/null
+++
b/tp/t/results/init_files_tests/customize_translations/res_html/Chapter-fr.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Chapter fr (top)</title>
+
+<meta name="description" content="Chapter fr (top)">
+<meta name="keywords" content="Chapter fr (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html#SEC_Contents" rel="contents" title="Inhaltsverzeichnis">
+<link href="index.html" rel="up" title="Top">
+<link href="Chapter-de.html" rel="next" title="Chapter de">
+<link href="Chapter.html" rel="prev" title="Chapter">
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="Chapter-fr">
+<div class="nav-panel">
+<p>
+Nœ suivant: <a href="Chapter-de.html" accesskey="n" rel="next">chap
de</a>, Précédent: <a href="Chapter.html" accesskey="p"
rel="prev">chap</a>, Monter: <a href="index.html" accesskey="u"
rel="up">top</a> [<a href="index.html#SEC_Contents" title="La Table des
matières" rel="contents">Table des matières</a>] [<a
href="#section-fr" title="Section suivante dans l’ordre de lecture"
accesskey="n" rel="next">Vers l’avant ⇒</a>]</p>
+</div>
+<h2 class="chapter" id="chap-fr">2 chap fr</h2>
+
+<p>Erreur-->.
+</p>
+<ul class="mini-toc">
+<li><a href="#section-fr" accesskey="1">sec fr</a></li>
+</ul>
+<hr>
+<div class="section-level-extent" id="section-fr">
+<div class="nav-panel">
+<p>
+Monter: <a href="#Chapter-fr" accesskey="u" rel="up">chap fr</a> [<a
href="index.html#SEC_Contents" title="La Table des matières"
rel="contents">Table des matières</a>] [<a href="Chapter-de.html"
title="Section suivante dans l’ordre de lecture" accesskey="n"
rel="next">Vers l’avant ⇒</a>]</p>
+</div>
+<h3 class="section" id="sec-fr">2.1 sec fr</h3>
+
+</div>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Nächste: <a href="Chapter-de.html" accesskey="n" rel="next">chap de</a>,
Vorige: <a href="Chapter.html" accesskey="p" rel="prev">chap</a>, Nach oben: <a
href="index.html" accesskey="u" rel="up">top</a> [<a
href="index.html#SEC_Contents" title="Das Inhaltsverzeichnis"
rel="contents">Inhalt</a>] [<a href="#section-fr" title="Nächster
Abschnitt in Lesereihenfolge" accesskey="n" rel="next">Nach vorne ></a>]</p>
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/init_files_tests/customize_translations/res_html/Chapter.html
b/tp/t/results/init_files_tests/customize_translations/res_html/Chapter.html
new file mode 100644
index 0000000000..9f1a7d95f5
--- /dev/null
+++ b/tp/t/results/init_files_tests/customize_translations/res_html/Chapter.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Chapter (top)</title>
+
+<meta name="description" content="Chapter (top)">
+<meta name="keywords" content="Chapter (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html#SEC_Contents" rel="contents" title="Table des
matières">
+<link href="index.html" rel="up" title="Top">
+<link href="Chapter-fr.html#Chapter-fr" rel="next" title="Chapter fr">
+<link href="index.html" rel="prev" title="Top">
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="Chapter">
+<div class="nav-panel">
+<p>
+ -> : <a href="Chapter-fr.html#Chapter-fr" accesskey="n" rel="next">chap
fr</a>, Previous: <a href="index.html" accesskey="p" rel="prev">top</a>, Up: <a
href="index.html" accesskey="u" rel="up">top</a> [<a
href="index.html#SEC_Contents" title="Table of contents"
rel="contents">Contents</a>] [<a href="Chapter-fr.html#Chapter-fr"
title="Next section in reading order" accesskey="n" rel="next">Forward</a>]</p>
+</div>
+<h2 class="chapter" id="chap">1 chap</h2>
+
+<p>error-->.
+</p>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Suivant: <a href="Chapter-fr.html#Chapter-fr" accesskey="n" rel="next">chap
fr</a>, Précédent: <a href="index.html" accesskey="p"
rel="prev">top</a>, Monter: <a href="index.html" accesskey="u" rel="up">top</a>
[<a href="index.html#SEC_Contents" title="La Table des matières"
rel="contents">Table des matières</a>] [<a
href="Chapter-fr.html#Chapter-fr" title="Section suivante dans l’ordre de
lecture" accesskey="n" rel="next">Vers l'avant >< [...]
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/init_files_tests/customize_translations/res_html/Last-chapter.html
b/tp/t/results/init_files_tests/customize_translations/res_html/Last-chapter.html
new file mode 100644
index 0000000000..9216a724fa
--- /dev/null
+++
b/tp/t/results/init_files_tests/customize_translations/res_html/Last-chapter.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Last chapter (top)</title>
+
+<meta name="description" content="Last chapter (top)">
+<meta name="keywords" content="Last chapter (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html#SEC_Contents" rel="contents" title="Inhaltsverzeichnis">
+<link href="index.html" rel="up" title="Top">
+<link href="Chapter-de.html" rel="prev" title="Chapter de">
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="Last-chapter">
+<div class="nav-panel">
+<p>
+Vorige: <a href="Chapter-de.html" accesskey="p" rel="prev">chap de</a>, Nach
oben: <a href="index.html" accesskey="u" rel="up">top</a> [<a
href="index.html#SEC_Contents" title="Das Inhaltsverzeichnis"
rel="contents">Inhalt</a>] </p>
+</div>
+<h2 class="chapter" id="Last-Chapter">4 Last Chapter</h2>
+
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Vorige: <a href="Chapter-de.html" accesskey="p" rel="prev">chap de</a>, Nach
oben: <a href="index.html" accesskey="u" rel="up">top</a> [<a
href="index.html#SEC_Contents" title="Das Inhaltsverzeichnis"
rel="contents">Inhalt</a>] </p>
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/init_files_tests/customize_translations/res_html/index.html
b/tp/t/results/init_files_tests/customize_translations/res_html/index.html
new file mode 100644
index 0000000000..3abd5b9bc4
--- /dev/null
+++ b/tp/t/results/init_files_tests/customize_translations/res_html/index.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Top (top)</title>
+
+<meta name="description" content="Top (top)">
+<meta name="keywords" content="Top (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="#Top" rel="start" title="Top">
+<link href="#SEC_Contents" rel="contents" title="Table of Contents">
+<link href="Chapter.html" rel="next" title="Chapter">
+<style type="text/css">
+<!--
+ul.toc-numbered-mark {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+
+
+<div class="top-level-extent" id="Top">
+<div class="nav-panel">
+<p>
+ -> : <a href="Chapter.html" accesskey="n" rel="next">chap</a> [<a
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
+</div>
+<h1 class="top" id="top">top</h1>
+
+<div class="element-contents" id="SEC_Contents">
+<h2 class="contents-heading">Table of Contents</h2>
+
+<div class="contents">
+
+<ul class="toc-numbered-mark">
+ <li><a id="toc-chap" href="Chapter.html">1 chap</a></li>
+ <li><a id="toc-chap-fr" href="Chapter-fr.html#Chapter-fr">2 chap fr</a>
+ <ul class="toc-numbered-mark">
+ <li><a id="toc-sec-fr" href="Chapter-fr.html#section-fr">2.1 sec
fr</a></li>
+ </ul></li>
+ <li><a id="toc-chap-de" href="Chapter-de.html">3 chap de</a></li>
+ <li><a id="toc-Last-Chapter" href="Last-chapter.html">4 Last Chapter</a></li>
+</ul>
+</div>
+</div>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+ -> : <a href="Chapter.html" accesskey="n" rel="next">chap</a> [<a
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/init_files_tests/customize_translations/res_html/section-fr.html
b/tp/t/results/init_files_tests/customize_translations/res_html/section-fr.html
new file mode 100644
index 0000000000..4990c4c812
--- /dev/null
+++
b/tp/t/results/init_files_tests/customize_translations/res_html/section-fr.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<!-- This file redirects to the location of a node or anchor -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>section fr (top)</title>
+
+<meta name="description" content="section fr (top)">
+<meta name="keywords" content="section fr (top)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+
+<meta http-equiv="Refresh" content="0; url=Chapter-fr.html#section-fr">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+</head>
+
+<body lang="en">
+
+<p>Der Absatz, nach dem Sie suchen, befindet sich bei <a
href="Chapter-fr.html#section-fr">section fr</a>.</p>
+</body>
- [no subject], (continued)
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject],
Patrice Dumas <=
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08
- [no subject], Patrice Dumas, 2022/11/08