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
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-i18n