Hi,
After pushing the progress of maint-guide :: Simplified Chinese
translation to 46%,
I would like to make again then view what the doc looks like,
but strangely the make failed with following output:
MESS1="no-obsolete ru `msgattrib --no-obsolete po/ru.po |grep ^msgid
|sed 1d|wc -l`";\
MESS2="untranslated ru `msgattrib --untranslated po/ru.po |grep ^msgid
|sed 1d|wc -l`";\
MESS3="fuzzy ru `msgattrib --fuzzy po/ru.po |grep ^msgid
|sed 1d|wc -l`";\
echo "$MESS1" >>fuzzy.log ; \
echo "$MESS2" >>fuzzy.log ; \
echo "$MESS3" >>fuzzy.log ; \
echo "" >>fuzzy.log
msgmerge --update --previous po/zh-cn.po po/templates.pot
..............................................................................................................................................................
done.
MESS1="no-obsolete zh-cn `msgattrib --no-obsolete po/zh-cn.po |grep
^msgid |sed 1d|wc -l`";\
MESS2="untranslated zh-cn `msgattrib --untranslated po/zh-cn.po |grep
^msgid |sed 1d|wc -l`";\
MESS3="fuzzy zh-cn `msgattrib --fuzzy po/zh-cn.po |grep
^msgid |sed 1d|wc -l`";\
echo "$MESS1" >>fuzzy.log ; \
echo "$MESS2" >>fuzzy.log ; \
echo "$MESS3" >>fuzzy.log ; \
echo "" >>fuzzy.log
if [ -f po/zh-cn.add ]; then \
po4a-translate -M utf-8 --format docbook --keep 0 -v -m
maint-guide.en.xml -a po/zh-cn.add -p po/zh-cn.po -l
maint-guide.zh-cn.xml ;\
else \
po4a-translate -M utf-8 --format docbook --keep 0 -v -m
maint-guide.en.xml -p po/zh-cn.po -l maint-guide.zh-cn.xml ;\
fi
sed -i -e 's/po\/en\.ent/po\/zh-cn.ent/' maint-guide.zh-cn.xml
mkdir -p /home/lumin/hdd/debian/maint-guide/tmp
xsltproc --novalid --nonet --xinclude --stringparam
base.dir /home/lumin/hdd/debian/maint-guide/tmp/ \
--stringparam html.ext .zh-cn.html \
xslt/style-html.xsl maint-guide.zh-cn.xml
maint-guide.zh-cn.xml:992: parser error : Premature end of data in tag
para line 991
^
maint-guide.zh-cn.xml:992: parser error : Premature end of data in tag
section line 979
^
maint-guide.zh-cn.xml:992: parser error : Premature end of data in tag
chapter line 557
^
maint-guide.zh-cn.xml:992: parser error : Premature end of data in tag
book line 12
^
unable to parse maint-guide.zh-cn.xml
Makefile:220: recipe for target
'/home/lumin/hdd/debian/maint-guide/tmp/index.zh-cn.html' failed
make: *** [/home/lumin/hdd/debian/maint-guide/tmp/index.zh-cn.html]
Error 6
At the beginning I thought that some unescaped character contributed to
this issue, but not.
According to that error report, I appended these lines at the very end
of maint-guide.zh-cn.xml:
-<para>
+</section>
+</chapter>
+</book>
then the make process continues.
HOWEVER evidently that maint-guide.zh-cn.xml is a truncated one.
I have no idea on how this could happen, even if
I have make'd for many times before.
when I translated maint-guide/po/zh-cn.po to about 1600 lines, it should
be still ok.
What's your opinion on this?
Thanks :)
--
.''`.
: :' :
`. `'
`-
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]