Re: Where have all my pictures gone?

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

 



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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs

[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux