[Kde-games-devel] Kde logo for using in about menu

Albert Astals Cid kde-games-devel@mail.kde.org
Thu, 13 Feb 2003 23:48:12 +0100


Thanks a lot, finally i decided to use the XMLGUI option, it has been a b=
it=20
difficult to undestand how that XML files work, but i've finally got what=
 i=20
wanted.

But now i have another question, i now have a menu like

<MenuBar>
=09<Menu name=3D"game">
=09=09<Action name=3D"mode" />
=09</Menu>
=09<Menu name=3D"board"><text>&amp;Board</text>
=09=09<Action name=3D"default" />
=09=09<Action name=3D"bigger" />
=09=09<Action name=3D"smaller" />
=09</Menu>
</MenuBar>

The problem is how to add internationalization to the new menu created fr=
om=20
the XML file (Board), i mean, i am extracting the strings to translate us=
ing

xgettext -C -ki18n -kI18N_NOOP -o po/kttt.pot board.cpp kttt.cpp main.cp

If i add i18n() or I18N_NOOP to the XML file i don't get what i want (wha=
t=20
happens is that the menu changes its name)

So what must i do here?