comp.lang.ada
 help / color / mirror / Atom feed
From: Emmanuel Briot <briot.emmanuel@gmail.com>
Subject: Re: GtkAda and €
Date: Sat, 11 Sep 2021 04:11:35 -0700 (PDT)	[thread overview]
Message-ID: <260f1fa7-95c8-4cbd-b9b8-5ab2b743002cn@googlegroups.com> (raw)
In-Reply-To: <shhuvp$1sik$1@gioia.aioe.org>

> custom widget from Gtk_Grid_Record. Then I call Initialize_Class_Record 
> once to create the new widget "type" (used G_New). There I add style 
> properties like this: 

I am impressed ! I have never had the courage to actually use those properties in my code...
I would use GtkAda.Intl, so that the code would contain

   use GtkAda.Intl;
   Button.Set_Label (-"string to translate");

and the translations are given in a separate file. 
This is also theoretical for me: although we had initially try to maintain such a translation
file for GPS (and made sure that all user-visible strings on the string where used with the "-"
operator in case we ever wanted to do a translation, it was never done in practice).

  reply	other threads:[~2021-09-11 11:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-10 17:56 GtkAda and € AdaMagica
2021-09-10 18:53 ` Dmitry A. Kazakov
2021-09-11  9:20   ` AdaMagica
2021-09-11  9:57     ` AdaMagica
2021-09-11 10:04     ` Dmitry A. Kazakov
2021-09-11 11:11       ` Emmanuel Briot [this message]
2021-09-11 12:47         ` Dmitry A. Kazakov
2021-09-11 13:26       ` AdaMagica
2021-09-11 13:51         ` AdaMagica
2021-09-11 14:13           ` Dmitry A. Kazakov
2021-09-11 17:46           ` Manuel Gomez
2021-09-12  7:04             ` AdaMagica
2021-09-12 11:44               ` Manuel Gomez
2021-09-13  7:21           ` Vadim Godunko
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox