[Xfce-i18n] Croatian translation
rafaelff at gnome.org
Thu Feb 20 20:05:28 CET 2020
Em qui., 20 de fev. de 2020 às 15:47, Ilija Ćulap
<ilija.culap14 at gmail.com> escreveu:
> Hi guys. I received many mails from transifex, that my commit isnt accepted.
> 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
If you open the translation file in an text editor (e.g. Mousepad,
vim, nano, etc.), you should see that in the line 13 there is the
field Project-Id-Version. The warning message is to say "change it, do
not keep the default value". Consider renaming with the project name
(e.g. Mousepad). Note this is a warning, not an error, but it is nice
to not use the default value.
> po/hr.po.new:233: number of format specifications in 'msgid_plural' and 'msgstr' does not match
In line 233, there is placeholder mismatch. For instance, if msgid
has a "%s", the msgstrg should have too. Likewise, if msgid does
not have a "%s", msgstrg should not have it. If you missed it,
"msgfmt" will complain about it. Placeholders like "%s" are variables,
which will receive values like number or a string that can be seen
when using the software.
You can fix this using an text editor, a Gettext-compatible editor or
even Transifex, but to find the specific line an text editor might be
the easiest way
> po/hr.po.new:219: number of format specifications in 'msgid_plural' and 'msgstr' does not match
Same explanation as above.
More information about the Xfce-i18n