[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.

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. 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>).

whois.1.po:1040
#. 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>."

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/

Attachment: signature.asc
Description: PGP signature


Reply to: