<placeholder> problem
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 .
How do I can get rid of that?
You can't.
Ok, that's not true...
'xml2po' replaces (and etc.) tags always with
tags. These 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