[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: What is the proper way of markig translations of static array initializers
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: What is the proper way of markig translations of static array initializers
- Date: Sat, 3 Feb 2007 10:55:39 +0100
On Sat, Feb 03, 2007 at 09:21:14AM +0200, Alexander Shopov wrote:
> Hi guys,
> The docs:
> http://developer.gnome.org/doc/API/2.0/glib/glib-I18N.html
>
> state that
> N_()
> Marks a string for translation, gets replaced with the untranslated
> string at runtime. This is useful in situations where the translated
> strings can't be directly used, e.g. in string array initializers.
>
> How to add the addorning prefix in similar cases? (Like using Q_()).
The context is stripped when the string is *used*, for
marking it is irrelevant whether it has context or not, so
mark it normally with N_().
Yeti
--
Whatever.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]