Guix manual PO file uses same translation msgid ``channels'' for different uses

  • Open
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • pelzflorian (Florian Pelz)
Owner
unassigned
Submitted by
pelzflorian (Florian Pelz)
Severity
normal
P
P
pelzflorian (Florian Pelz) wrote on 28 Dec 2018 11:55
(address . bug-guix@gnu.org)
20181228105533.hc7p36h3pklrqru2@pelzflorian.localdomain
Hello,

The Guix manual POT file 0.16.0.1 submitted to the Translation Project
has these lines:

#. type: item
#: doc/guix.texi:2919 doc/guix.texi:3279
#, no-wrap
msgid "channels"
msgstr ""

However, doc/guix.texi:2919 is a cindex which should be translated and
doc/guix.texi:3279 is a table item which describes syntax that must
not be translated.

I am not sure

· if this is a bug in PO4A (it could detect that one of them is a
cindex and the other is not and then use something like a msgctxtid
as in
)

· or this term should somehow be specified to PO4A as an exception

· or the cindex term could be changed.

Regards,
Florian
L
L
Ludovic Courtès wrote on 5 Jan 2019 18:54
(name . pelzflorian (Florian Pelz))(address . pelzflorian@pelzflorian.de)
87bm4v2dnc.fsf@gnu.org
Hello,

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:

Toggle quote (26 lines)
> The Guix manual POT file 0.16.0.1 submitted to the Translation Project
> has these lines:
>
> #. type: item
> #: doc/guix.texi:2919 doc/guix.texi:3279
> #, no-wrap
> msgid "channels"
> msgstr ""
>
> However, doc/guix.texi:2919 is a cindex which should be translated and
> doc/guix.texi:3279 is a table item which describes syntax that must
> not be translated.
>
> I am not sure
>
> · if this is a bug in PO4A (it could detect that one of them is a
> cindex and the other is not and then use something like a msgctxtid
> as in
> https://gitlab.gnome.org/GNOME/glib/raw/master/glib/ggettext.c
> or _C in https://developer.gnome.org/glib/stable/glib-I18N.html
> )
>
> · or this term should somehow be specified to PO4A as an exception
>
> · or the cindex term could be changed.

I would go for #2 but is it possible? Julien?

Thanks,
Ludo’.
?