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

Re: Duplicate paragraphs in whois(1)



> Hello Bubu,
> Am Fri, Jun 06, 2025 at 01:33:35PM +0200 schrieb bubub@no-log.org:
>> > in the French whois.1.po some paragraphs are doubled, i.e. the english
>> > paragraph is translated twice.
>> >
>> > /tmp/manpages-l10n/po/fr$ LC_ALL=C msgcat man1/whois.1.po
>> > man1/whois.1.po:1014: duplicate message definition...
>> > man1/whois.1.po:531: ...this is the location of the first definition
>> > man1/whois.1.po:1040: duplicate message definition...
>> > man1/whois.1.po:557: ...this is the location of the first definition
>> > msgcat: found 2 fatal errors
>> >
>> > Could you check the file and correct the problem?
>>
>> I've check and cannot fix the error (or I don't know to do).
>> As I see, unfortunately, this file is rarely translate ...
>> The error is about the B<-t> notattion, that's findable in the hun.po (l
>> 496) and the fr.po (ln 454)
>> but not in the ro.po that is very more short of the hu.po and the fr.po,
>> and get just the notation B<-t I TYPE> (ln 473), as the fr and hu have
>> also this (new?) notation B<-t I TYPE> (hu:883)(fr:764), so the hu and
>> fr.po ahave both the command -t so, double string to define it .
>> The hu.po is not traduced yet, but I think the same problem can occur on
>> it.
>> The hu.po and the fr.po should be construct as the ro.po with only one
>> notation for B<-t> I think, ... this is what I can do, :)
>
> I'm not sure I can follow you.
 Sorry, it's because I don't understand the error,
>
> whois.1.po:1014
> #. type: Plain text
> #: mageia-cauldron
> msgid "Return the template for a object of I<TYPE>."
> msgstr "Renvoyer le patron d'un objet de type I<TYPE>."
>
> whois.1.po:531
> #. type: Plain text
> #: archlinux debian-bookworm debian-unstable opensuse-tumbleweed
> msgid "Return the template for a object of I<TYPE>."
> msgstr "I<TYPE> Renvoyer le patron d'un objet de type I<TYPE>."
>
> The english string is the same, but the translation is not.
effectively, that's the point,
> Since this looks like a fix for a po4a bug (which I'm not sure it was
reported),
> you need to decide for either version of the two strings. (Either in
> one case no I<TYPE>, or in one case two I<TYPE>).
The point is that's not changing anything, With or whithout, the error occur,
worst, if I change words in the sentence, the error occur too (see the
diff joined, not the same sentence, but always same error..) So, I don't
really know what to do ...
>
> whois.1.po:557
> #. type: Plain text
> #: archlinux debian-bookworm debian-unstable opensuse-tumbleweed
> msgid "Return the verbose template for a object of I<TYPE>."
> msgstr "I<TYPE> Renvoyer le patron détaillé pour un objet de type
> I<TYPE>."
>
> The same problem here.
>
> I hope this helps.
>
> Greetings
>
>                Helge
> --
>       Dr. Helge Kreutzmann                     debian@helgefjell.de
>            Dipl.-Phys.
> http://www.helgefjell.de/debian.php
>         64bit GNU powered                     gpg signed mail preferred
>            Help keep free software "libre": http://www.ffii.de/
>


A670 FB2A 3958 A27E 7907  B64E 05FC 409F 82B8 91B2
--- whois.1.po(fr)	2025-06-06 09:53:01.286070954 +0200
+++ fr.po	2025-06-06 15:13:33.331155895 +0200
@@ -528,7 +528,7 @@
 #. type: Plain text
 #: archlinux debian-bookworm debian-unstable opensuse-tumbleweed
 msgid "Return the template for a object of I<TYPE>."
-msgstr "I<TYPE> Renvoyer le patron d'un objet de type I<TYPE>."
+msgstr "Renvoyer le modèle d'un objet de type B<TYPE>."
 
 #. type: TP
 #: archlinux debian-bookworm debian-unstable opensuse-tumbleweed
@@ -554,7 +554,7 @@
 #. type: Plain text
 #: archlinux debian-bookworm debian-unstable opensuse-tumbleweed
 msgid "Return the verbose template for a object of I<TYPE>."
-msgstr "I<TYPE> Renvoyer le patron détaillé pour un objet de type I<TYPE>."
+msgstr "Renvoyer le patron détaillé pour un objet de type I<TYPE>."
 
 #. type: TP
 #: archlinux debian-bookworm debian-unstable mageia-cauldron
@@ -1012,7 +1012,7 @@
 #. type: Plain text
 #: mageia-cauldron
 msgid "Return the template for a object of I<TYPE>."
-msgstr "Renvoyer le patron d'un objet de type I<TYPE>."
+msgstr "Renvoyer le patron d'un objet de I<TYPE>."
 
 #. type: TP
 #: mageia-cauldron
@@ -1038,7 +1038,7 @@
 #. type: Plain text
 #: mageia-cauldron
 msgid "Return the verbose template for a object of I<TYPE>."
-msgstr "Renvoyer le patron détaillé pour un objet de type I<TYPE>."
+msgstr "Renvoyer le patron détaillé pour un objet de I<TYPE>."
 
 #. type: Plain text
 #: mageia-cauldron

Reply to: