When creating a new remote branch for seahorse, I ran into the
following problem:

------------------------------------------------------------------------------------------------------------------------------------

$ git push origin gtk-doc
Total 0 (delta 0), reused 0 (delta 0)
---
The following translation (.po) file appears to be invalid. (When
updating branch 'gtk-doc'.)

po/bn.po

The results of the validation follow. Please correct the errors on the
line numbers mentioned and try to push again.

<stdin>:772: number of format specifications in 'msgid' and
'msgstr[1]' does not match
<stdin>:1459: number of format specifications in 'msgid' and
'msgstr[1]' does not match
msgfmt: found 2 fatal errors

To check this locally before attempting to push again, you can use the
following command:

msgfmt -c bn.po

After making fixes, modify your commit to include them, by doing:

git add bn.po
git commit --amend

If you have any further problems or questions, please contact the
GNOME Translation Project mailing list <gnome-i18n@gnome.org>. Thank
you.
---
error: hooks/pre-receive exited with error code 1
To ssh://sa...@git.gnome.org/git/seahorse
 ! [remote rejected] gtk-doc -> gtk-doc (pre-receive hook declined)
error: failed to push some refs to 'ssh://sa...@git.gnome.org/git/seahorse'

------------------------------------------------------------------------------------------------------------------------------------

I checked po/bn.po and neither line contains format specifications.
Is this an error in the translation, or should I take this up with the
sysadmin team/whomever is maintaining that commit hook?

Cheers,

Adam
_______________________________________________
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n

Reply via email to