texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/t/languages.t (appendix_translated): Check t


From: Gavin D. Smith
Subject: branch master updated: * tp/t/languages.t (appendix_translated): Check translated appendix heading in Spanish rather than French, as the accented character in "Apéndice" is more problematic than the French "Annexe".
Date: Sun, 24 Dec 2023 07:38:42 -0500

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 086fd41802 * tp/t/languages.t (appendix_translated): Check translated 
appendix heading in Spanish rather than French, as the accented character in 
"Apéndice" is more problematic than the French "Annexe".
086fd41802 is described below

commit 086fd418025212cfda304949f658842b2d0b5266
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Dec 24 12:38:33 2023 +0000

    * tp/t/languages.t (appendix_translated): Check translated
    appendix heading in Spanish rather than French, as the accented
    character in "Apéndice" is more problematic than the French "Annexe".
---
 ChangeLog                                     |  6 ++++++
 tp/t/languages.t                              |  2 +-
 tp/t/results/languages/appendix_translated.pl | 26 +++++++++++++-------------
 3 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1d08c66c57..ece5f44825 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-12-24  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/t/languages.t (appendix_translated): Check translated
+       appendix heading in Spanish rather than French, as the accented
+       character in "Apéndice" is more problematic than the French "Annexe".
+
 2023-12-24  Gavin Smith <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/Translations.pm (replace_substrings)
diff --git a/tp/t/languages.t b/tp/t/languages.t
index 19d12d8400..19e63302fa 100644
--- a/tp/t/languages.t
+++ b/tp/t/languages.t
@@ -125,7 +125,7 @@ Text ending the preamble
 @end defivar
 '],
 ['appendix_translated',
-'@documentlanguage fr
+'@documentlanguage es
 
 @node Top
 @top top
diff --git a/tp/t/results/languages/appendix_translated.pl 
b/tp/t/results/languages/appendix_translated.pl
index 2ff2332457..a44ceb9672 100644
--- a/tp/t/results/languages/appendix_translated.pl
+++ b/tp/t/results/languages/appendix_translated.pl
@@ -16,7 +16,7 @@ $result_trees{'appendix_translated'} = {
                 {
                   'contents' => [
                     {
-                      'text' => 'fr'
+                      'text' => 'es'
                     }
                   ],
                   'info' => {
@@ -30,7 +30,7 @@ $result_trees{'appendix_translated'} = {
               ],
               'cmdname' => 'documentlanguage',
               'extra' => {
-                'text_arg' => 'fr'
+                'text_arg' => 'es'
               },
               'info' => {
                 'spaces_before_argument' => {
@@ -173,7 +173,7 @@ $result_trees{'appendix_translated'} = {
   'type' => 'document_root'
 };
 
-$result_texis{'appendix_translated'} = '@documentlanguage fr
+$result_texis{'appendix_translated'} = '@documentlanguage es
 
 @node Top
 @top top
@@ -266,11 +266,11 @@ $result_floats{'appendix_translated'} = {};
 $result_converted{'plaintext'}->{'appendix_translated'} = 'top
 ***
 
-Annexe A dernier
-****************
+Apéndice A dernier
+******************
 
 top
-Annexe A dernier
+Apéndice A dernier
 ';
 
 
@@ -282,8 +282,8 @@ File: ,  Node: Top,  Up: (dir)
 top
 ***
 
-Annexe A dernier
-****************
+Apéndice A dernier
+******************
 
 
 
@@ -313,7 +313,7 @@ $result_converted{'html'}->{'appendix_translated'} = 
'<!DOCTYPE html>
 <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 des mati&egrave;res">
+<link href="#SEC_Contents" rel="contents" title="Índice general">
 <style type="text/css">
 <!--
 a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
@@ -325,23 +325,23 @@ ul.toc-numbered-mark {list-style: none}
 
 </head>
 
-<body lang="fr">
+<body lang="es">
 
 <div class="top-level-extent" id="Top">
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
 <div class="element-contents" id="SEC_Contents">
-<h2 class="contents-heading">Table des mati&egrave;res</h2>
+<h2 class="contents-heading">Índice general</h2>
 
 <div class="contents">
 
 <ul class="toc-numbered-mark">
-  <li><a id="toc-dernier" href="#dernier">Annexe A dernier</a></li>
+  <li><a id="toc-dernier" href="#dernier">Apéndice A dernier</a></li>
 </ul>
 </div>
 </div>
 <div class="appendix-level-extent" id="dernier">
-<h2 class="appendix"><span>Annexe A dernier<a class="copiable-link" 
href="#dernier"> &para;</a></span></h2>
+<h2 class="appendix"><span>Apéndice A dernier<a class="copiable-link" 
href="#dernier"> &para;</a></span></h2>
 
 </div>
 </div>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]