[Xfce-i18n] Thunar problem

Ilija Ćulap ilija.culap14 at gmail.com
Fri Feb 28 14:09:53 CET 2020


Hi.

%u was also used only at msgid_plural, thats why i left it out in [0] and
[1] translations. I changed line 233. Let see if it works.
Plural forms are defined correctly. I also changed Project-Id-Version to
4.14.

Ilija

Am Do., 27. Feb. 2020 um 20:43 Uhr schrieb scootergrisen <
scootergrisen at gmail.com>:

> Den 27-02-2020 kl. 19:18 skrev Ilija Ćulap:
> > Hi. Here are the problems:
> >
> > ====
> > msgfmt: po/hr.po.new: warning: PO file header fuzzy
> >                        warning: older versions of msgfmt will give an
> > error on this
> > po/hr.po.new:13: warning: header field 'Project-Id-Version' still has
> > the initial default value
> > po/hr.po.new:233: number of format specifications in 'msgid_plural' and
> > 'msgstr[0]' does not match
> > msgfmt: found 2 fatal errors
> > ====
> >
> > And like zvacet said, it does not matter how we translate, it always
> > shows the problem.
> >
>
> %u only exists in the [2] translation of of the following:
>
> #: ../thunar/thunar-application.c:2142
> #, c-format
> msgid ""
> "Are you sure that you want to permanently\n"
> "delete the selected file?"
> msgid_plural ""
> "Are you sure that you want to permanently\n"
> "delete the %u selected files?"
> msgstr[0] "Jeste li sigurni da želite trajno izbrisati odabranu datoteku?"
> msgstr[1] ""
> "Jeste li sigurno da želite trajno izbrisati\n"
> "odabrane datoteke?"
> msgstr[2] ""
> "Jeste li sigurno da želite trajno izbrisati\n"
> "%u odabranih datoteka?"
>
> If %u was added to [0] and [1] the error would go away.
>
> Check that this string in the header is correct for the language:
> "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 &&
> n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
>
> I don't think Transifex allows for translators to change the header.
> If you change the header and upload the file Transifex will just change
> the header.
>
> But you are looking at the 4.14 file. In master it says:
> "Project-Id-Version: Thunar\n"
> _______________________________________________
> Xfce-i18n mailing list
> Xfce-i18n at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce-i18n
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce-i18n/attachments/20200228/2b3a5fdc/attachment.html>


More information about the Xfce-i18n mailing list