RSS/Atom feed Twitter
Site is read-only, email is disabled

<placeholder> problem

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

<placeholder> problem julien 21 Jan 15:26
  <placeholder> problem Ulf-D. Ehlert 21 Jan 20:23
julien
2009-01-21 15:26:24 UTC (almost 16 years ago)

<placeholder> problem

Hi,

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".

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?

Julien

Ulf-D. Ehlert
2009-01-21 20:23:23 UTC (almost 16 years ago)

<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