On Mon, Nov 24, 2025 at 11:56:30AM +0100, Bruno Haible via Bug reports for the 
GNU Texinfo documentation system wrote:
> Hi,
> 
> Today's CI reports 3 test failures on 
> 
> FAIL: t/languages.t 217 - documentlanguage text
> FAIL: t/languages.t 218 - documentlanguage converted file_html
> PASS: t/languages.t 219 - documentlanguage errors file_html
> FAIL: t/languages.t 220 - documentlanguage converted file_info
> 
> Detailed failure logs from test-suite.log:
 

Thanks for the report.  I recently updated the translated strings and updated
one lot of tests, but didn't update the other lot of tests.

There appears to have been a revision to the Portuguese translation which has
changed some translations of words.

There appears to be an inconsistency in the changes to update this (below).

In the plaintext output, it is "Método de" but in the the HTML and Info
output it is "Método em".

In the 't/languages.t documentlanguage' test, this is the output for the
use of @deftypemethod under '@documentlanguage pt'.

Perhaps the translation string is misleading?

>From pt.po:

  #. TRANSLATORS: association of a method or operation name with a class 
  #. in descriptions of object-oriented programming methods or operations. 
  #: tta/perl/Texinfo/Convert/Utils.pm:356 
tta/perl/Texinfo/Convert/Utils.pm:360 
  #: tta/perl/Texinfo/Convert/Utils.pm:364 tta/C/main/convert_utils.c:756 
  #: tta/C/main/convert_utils.c:766 
  #, perl-brace-format 
  msgid "{category} on @code{{class}}" 
  msgstr "{category} de @code{{class}}" 

It seems like it would be very easy to assume the word "category" is followed
by the word "of" rather than the word "on" ("category on" is not idiomatic
English), leading to a mistranslation.  The other string which can be used
uses "name" as a placeholder, not "category", which seems much more
appropriate.

  #. TRANSLATORS: association of a method or operation name with a class
  #. in descriptions of object-oriented programming methods or operations.
  #: tta/perl/Texinfo/Translations.pm:588 tta/C/parsetexi/indices.c:493
  #, perl-brace-format
  msgid "{name} on {class}"
  msgstr "{name} na {class}"


diff --git a/tta/perl/t/results/languages/documentlanguage.pl 
b/tta/perl/t/results/languages/documentlanguage.pl
index 6f8432e7c0..121fcc3331 100644
--- a/tta/perl/t/results/languages/documentlanguage.pl
+++ b/tta/perl/t/results/languages/documentlanguage.pl
@@ -398,7 +398,7 @@ top section
 
 chapter.
 
-Método on class: data-type name arguments
+Método de class: data-type name arguments
 Some text.
 
 
diff --git 
a/tta/perl/t/results/languages/documentlanguage/res_html/documentlanguage.html 
b/tta/perl/t/results/languages/documentlanguage/res_html/documentlanguage.html
index 7a5ff45177..ba55e665ad 100644
--- 
a/tta/perl/t/results/languages/documentlanguage/res_html/documentlanguage.html
+++ 
b/tta/perl/t/results/languages/documentlanguage/res_html/documentlanguage.html
@@ -51,7 +51,7 @@ Anterior: <a href="#Top" rel="prev">top section</a>, Acima: 
<a href="#Top" rel="
 <p>Veja <a class="xref" href="#chapter">Chapter</a>.
 </p>
 <dl class="first-deftypeop first-deftypemethod-alias-first-deftypeop 
def-block">
-<dt class="deftypeop deftypemethod-alias-deftypeop def-line" 
id="index-name-on-class"><span class="category-def">Método on <code 
class="code">class</code>: </span><span><code class="def-type">data-type</code> 
<strong class="def-name">name</strong> <code 
class="def-code-arguments">arguments</code><a class="copiable-link" 
href="#index-name-on-class"> &para;</a></span></dt>
+<dt class="deftypeop deftypemethod-alias-deftypeop def-line" 
id="index-name-on-class"><span class="category-def">Método em <code 
class="code">class</code>: </span><span><code class="def-type">data-type</code> 
<strong class="def-name">name</strong> <code 
class="def-code-arguments">arguments</code><a class="copiable-link" 
href="#index-name-on-class"> &para;</a></span></dt>
 <dd><p>Some text.
 </p></dd></dl>
 
diff --git 
a/tta/perl/t/results/languages/documentlanguage/res_info/documentlanguage.info 
b/tta/perl/t/results/languages/documentlanguage/res_info/documentlanguage.info
index 29e886a4c3..d85d8069fc 100644
--- 
a/tta/perl/t/results/languages/documentlanguage/res_info/documentlanguage.info
+++ 
b/tta/perl/t/results/languages/documentlanguage/res_info/documentlanguage.info
@@ -18,7 +18,7 @@ File: documentlanguage.info,  Node: chapter,  Prev: Top,  Up: 
Top
 
 *Note chapter::.
 
- -- Método na class: data-type name arguments
+ -- Método em class: data-type name arguments
      Some text.
 
 ^@^H[index^@^H]


  • 3 te... Bruno Haible via Bug reports for the GNU Texinfo documentation system
    • ... Patrice Dumas
      • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
    • ... Gavin Smith
      • ... Gavin Smith
        • ... Patrice Dumas
          • ... Gavin Smith
            • ... Patrice Dumas
              • ... Gavin Smith

Reply via email to