[zanata-users] projects migrated

Ding Yi Chen dchen at redhat.com
Tue Mar 24 04:04:10 UTC 2015


Hi Brian,

I have fixed the Plural format in header in both rhel7 and rhel6 branch.
But I did not see the f22-branch in git, would you mind doing  it?

> (2015年03月24日 04:54), Brian C. Lane wrote:
> <snip>
> > On RHEL6 branch there are problems with kn.po that looks similar to
> > 1197283, but the Plural-Forms matches the one in comment #1 so I'm not
> > sure what needs to be done to fix it.
> >
> > When doing a test build I see these errors from msgfmt:
> >
> > rm -f kn.gmo && /usr/bin/msgfmt -c --statistics -o kn.gmo kn.po
> > kn.po:608: number of format specifications in 'msgid' and 'msgstr[1]' does
> > not match
> > kn.po:1554: number of format specifications in 'msgid' and 'msgstr[1]' does
> > not match
> > kn.po:1737: `msgid' and `msgstr[1]' entries do not both end with '\n'
> > kn.po:1898: number of format specifications in 'msgid' and 'msgstr[1]' does
> > not match
> > kn.po:1918: a format specification for argument 'donepkgs' doesn't exist in
> > 'msgstr[1]'
> > kn.po:2964: number of format specifications in 'msgid' and 'msgstr[1]' does
> > not match
> > kn.po:3404: number of format specifications in 'msgid' and 'msgstr[1]' does
> > not match
> > kn.po:3438: `msgid' and `msgstr[1]' entries do not both end with '\n'
> > kn.po:5356: number of format specifications in 'msgid' and 'msgstr[1]' does
> > not match
> > /usr/bin/msgfmt: found 11 fatal errors

Those are actually expected for partially translated meassages.
 "number of format specifications in 'msgid' and 'msgstr[1]' does not match"
 means the number of specifiers (e.g. %d, %s in C) 
 between source plural from and msgstr[1] does not match.
 Because no one translate msgstr[1].


There are three ways to fix them,
 1) just copy English string from msgid_plural to msgstr[1]
 2) Mark the entry as fuzzy, as it indicates unfinished translation
 3) Ask translators to translate it.

-- 
Ding-Yi Chen
Software Engineer
Internationalization Group
DID: +61 7 3514 8239
Email: dchen at redhat.com

Red Hat, Asia-Pacific Pty Ltd
Level 1, 193 North Quay
Brisbane 4000
Office: +61 7 3514 8100
Fax: +61 7 3514 8199
Website: www.redhat.com

Red Hat, Inc.
Facebook: Red Hat APAC | Red Hat Japan | Red Hat Korea | JBoss APAC
Twitter: Red Hat APAC | Red Hat ANZ
LinkedIn: Red Hat APAC | JBoss APAC




More information about the zanata-users mailing list