Re: What is the proper way of markig translations of static array initializers

On 1/30/07, Alexander Shopov <ash contact bg> wrote:
Hi guys,
The docs:

state that
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]