Re: <placeholder> problem

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

 



julien (Mittwoch, 21. Januar 2009, 15:26):
> In src/menus/view-navigwindow.xml, I deleted the "para" about access
> through Ctrl-E and I changed the guiicon fileref to
> "images/C/using/stock-navigation-16.png".

The fileref should read "images/using/stock-navigation-16.png":

	find xml/fr/images -name '*stock-navigation*'

> Then I ran "make pot" and
> make -f Makefile.GNU update-po/fr/menus/view-navigwindow.po
>
> The Ctrl-E para has been removed in my view-window.po: OK
> But the guiicon fileref is replaced with <placeholder-1/>.
>
> How do I can get rid of that?

You can't.

Ok, that's not true...

'xml2po' replaces <guiicon> (and <figure> etc.) tags always with 
<placeholder> tags. These <placeholder> tags seems to be quite useful, 
and they don't represent text.

The only way to get rid of them is to customize (patch) the xml2po 
program. For example, I have tried a simple patch to rename some of the 
placeholder tags to make the text more readable (figure-placeholder, 
guiicon-placeholder, etc.). Another patch tried to force 'xml2po' to 
output those nodes (if I remember correctly, this didn't work for nodes 
without content, though). But using the default xml2po program we can't 
do anything here.

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