Re: [Gimp-docs] Greek translations of gimp-docs



Hi,

The first problem probably might be caused the 'Plural-Forms:' line of the
header information part of these PO file.  Try running make validate-el after
editing the line of filters/animation.po and menus/colors/auto.po as:
-"Plural-Forms: nplurals=2; plurals=(n != 1)\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"

The second issue is not gimp-docs specific; the contents of 'startquote' and
'endquote' are defined at share/xsl/docbook/common/el.xml file which
is installed by docbook-xsl package.


2012/4/10, dmtrs32 <dmtrs32 gmail com>:
> I've got two issues with the greek translation of gimp-docs:
> 1. There are 12 unities
>     a) xml/el/menus/colors/auto/equalize(color-enhance, autostretch-hsv,
> normalize, c-astretch, white-balance).xml and
>     b) xml/el/filters/animation/spinning-globe(burn-in, waves, optimize,
> playback, rippling).xml
> with the same problem in the same position:
>
> Traceback (most recent call last):
>
> File "./tools/xml2po.py", line 191, in <module>
>
> main(sys.argv[1:])
>
> File "./tools/xml2po.py", line 174, in main
>
> xml2po_main.merge(mofile, filenames[0])
>
> File "/home/d1-02/gimp-help-2/tools/xml2po/__init__.py", line 588, in merge
>
> self.gt = gettext.GNUTranslations(mfile)
>
> File "/usr/lib/python2.7/gettext.py", line 180, in __init__
>
> self._parse(fp)
>
> File "/usr/lib/python2.7/gettext.py", line 314, in _parse
>
> plural = v[1].split('plural=')[1]
>
> IndexError: list index out of range
>
>
> and the corresponding files .xml are 0 bytes.
> 2. The <quote> and </quote> are reproduced as &#x201C; and &x201D; in
> the html files.
> I'd appreciate any help (I don't have knowledges of programming).
>
>


-- 
-=-=-=-=-=
SimaMoto,RyōTa <liangtai s4 gmail com>
http://code.google.com/p/gimp-doc-ja/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]