Re: What is the proper way of markig translations of static array initializers
- From: "Matthias Clasen" <matthias clasen gmail com>
- To: "Alexander Shopov" <ash contact bg>
- Cc: gtk-i18n-list gnome org
- Subject: Re: What is the proper way of markig translations of static array initializers
- Date: Tue, 6 Feb 2007 01:10:51 -0500
On 1/30/07, Alexander Shopov <ash contact bg> 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_()).
We didn't add a standard macro for this, since it is a bit ugly that you
have to manually strip the prefix when obtaining the translation somewhere
else in the code.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]