GTK menus and i18n under gettext
- From: Pedro Quaresma de Almeida <pedro mat uc pt>
- To: gtk-i18n-list gnome org
- Subject: GTK menus and i18n under gettext
- Date: Thu, 1 Jul 2004 11:38:14 +0100
> Le Tue, Jun 29, 2004, Ã 11:49:40AM +0100, Pedro Quaresma de Almeida
> a écrit> :
> > Hi
> >
> > Where can I find docs about writing international GTK aplications.
> >
> I need to know how I must modify
> > [snip GtkMenu structure]
>
> http://www.gnu.org/directory/gettext.html and then follow the link
> under the "documentation" heading.
>
> -- Cyrille
Hi
I already got the "Gnu gettext tools" (and others), but I am still
unable to see how can I introduce gettext functions in order to have
the menu entries translated.
I did the modif
static GtkItemFactoryEntry Entry[] = {
{"/Fil_e", NULL, NULL, 0, "<Branch>"},
{"/File/_New", NULL, areyousurefunc, 0, "<Item>"},
...
to
static GtkItemFactoryEntry Entry[] = {
{gettext_noop("/Fil_e"), NULL, NULL, 0, "<Branch>"},
{gettext_noop("/File/_New", NULL, areyousurefunc, 0, "<Item>"},
...
but I do not know where these entries are called. I should introduce a
gettext call somewhere, but where?
Thank you.
--
At\'e breve
Professor Auxiliar Pedro Quaresma
Departamento de Matem\'atica
Faculdade de Ci\^encias e Tecnologia
Universidade de Coimbra
P-3000 COIMBRA, PORTUGAL
correio-e: pedro mat uc pt
p\'agina: http://www.mat.uc.pt/~pedro/
telef: +351 239 791 181; fax: +351 239 832 568
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]