cmfboard-plone-zh.po
"jacinth" <jacinth-sBGmnBLXxuIIhP1ydL5T/[email protected]> Mon, 29 Nov 2004 13:44:54 +0800
| Newsgroups | gmane.comp.web.zope.chinese |
|---|---|
| Message-ID | <[email protected]> |
zope-chinese各位好!
我觉得cmfboard的中文翻译没有做好,于是想修正,我修改的是Plone 2\Data\Products\CMFBoard\i18n下的 cmfboard-zh-cn.po,但是都不成功:在plone的 /Control_Panel/TranslationService/CMFBoard.i18n-cmfboard-zh-cn.po 下重新导入时报告错误:
Broken Gettext Message Catalog
Traceback (most recent call last):
File "C:\Plone 2\Data\Products\PlacelessTranslationService\GettextMessageCatalog.py", line 254, in reload
self._prepareTranslations(0)
File "C:\Plone 2\Data\Products\PlacelessTranslationService\GettextMessageCatalog.py", line 202, in _prepareTranslations
try: self._doPrepareTranslations()
File "C:\Plone 2\Data\Products\PlacelessTranslationService\GettextMessageCatalog.py", line 217, in _doPrepareTranslations
moFile = self._getMoFile()
File "C:\Plone 2\Data\Products\PlacelessTranslationService\GettextMessageCatalog.py", line 323, in _getMoFile
return mo.getAsFile()
File "C:\Plone 2\Data\Products\PlacelessTranslationService\msgfmt.py", line 184, in getAsFile
return StringIO(self.get())
File "C:\Plone 2\Data\Products\PlacelessTranslationService\msgfmt.py", line 168, in get
raise PoSyntaxError('%s (line %d of po file %s): \n%s' % (msg, lno, self.name, l))
PoSyntaxError: Po file syntax error: unexpected EOF while parsing (line 1) (line 1 of po file CMFBoard.i18n-cmfboard-zh-cn.po):
# Gettext Message File for CMFBoard
请各位不吝赐教!
jacinth
[email protected]
2004-11-29
_______________________________________________
zope-chinese list
[email protected]
http://zope.cn/mailman/listinfo/zope-chinese