[Gimp-docs] Where have all my pictures gone?
Kolbjørn Stuestøl
kol-stue at online.no
Sat May 9 08:56:53 PDT 2009
Thank you Ulf
Looks nice.
I'll give it a try during the week end - I hope. (There is a life
outside GIMP as well ...)
Kolbjoern
Ulf-D. Ehlert skreiv:
> Kolbjørn Stuestøl (Mittwoch, 6. Mai 2009, 21:15):
> [...]
>
>> There are no image references in the POT files although there are in
>> the src xml files.
>>
>
> Ok, let's start with this problem:
>
> Does
> $ tools/xml2po src/introduction/whats-new.xml
> produce image references?
>
> Most likely it won't, but if it does, what about
> $ tools/xml2po src/introduction/whats-new.xml |
> > msguniq | msgcat --width=79 -
> and
> $ touch -c src/introduction/whats-new.xml # if necessary
> $ make -f Makefile.GNU pot/introduction.pot
>
> If the first command does not produce image references, try
> $ grep 'submodes_path =' tools/xml2po
> This command should tell you where 'xml2po' expects to find its docbook
> module (e.g. /usr/share/xml2po).
>
> Check if the module exists, e.g.
> $ ls /usr/share/xml2po/docbook.py
>
> I'm pretty sure you won't find it there, so you'll have to find out
> where this file is installed. I don't know how to do it with Cygwin,
> maybe
> $ locate docbook.py | grep xml2po
>
> Then you can
> a) create a link, e.g.
> $ ln -s /path/to/modules/of/xml2po /usr/share/xml/
> b) set a proper environment variable, e.g. (with bash):
> $ export PYTHONPATH=/path/to/modules/of/xml2po
>
> Maybe you will have to change the above commands to make them work under
> Cygwin, but I can't help you there (Linux-only user...).
>
> Bye,
> Ulf
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gimp-docs mailing list
> Gimp-docs at lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
>
More information about the Gimp-docs
mailing list