[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] A problem with ja.po for the Denemo project
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] A problem with ja.po for the Denemo project |
Date: |
Tue, 06 Oct 2015 19:11:49 +0100 |
Thank you for your help, locally I can build ok, and msgfmt works on my
(Debian) box. I notice that the offending line has the construct #~| at
the start, while no lines before this have that construct, and several
after do. eg.
#~| msgid "Move to Measure Right"
I gather this may be correct syntax, but perhaps this is throwing the
make ...
Richard
On Tue, 2015-10-06 at 19:50 +0200, Benno Schulenberg wrote:
> Hello Richard,
>
> On 2015-10-06 11:10, Richard Shann wrote:
> > The last ja.po sent is causing a build failure for Denemo. Are you
> > able to say what may be wrong? the error is this:
> > /home/jjbenham/public_html/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/po/ja.po:27621:4:
> > parse error
> > /home/jjbenham/public_html/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/po/ja.po:27621:
> > missing `msgstr' section
> > [...]
> > /home/jjbenham/public_html/gub/target/tools/root/usr/bin/msgfmt:
> > found 6 fatal errors
>
> When you manually run 'msgfmt -cv ja.po', do you get those same messages?
> If not, what program is generating those messages?
>
> When I run 'msgfmt -cv ja.po' at the TP, all is fine:
>
> $ msgfmt -cv ja.po
> 1025 translated messages, 2137 fuzzy translations, 2097 untranslated messages.
>
> $ msgfmt --version | head -1
> msgfmt (GNU gettext-tools) 0.18.1
>
> However, when it says "missing `msgstr' section", it mostly means that a
> double quote is missing, somewhere near to where the first parse error
> occurs. Maybe some script at your side accidentily removed a quote or
> unescaped an escaped one (\")?
>
> Benno