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

2007-02-06 Thread Alexander Shopov
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.

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

2007-02-05 Thread Alexander Shopov
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_(). I am sorry but this does not work. When I mark strings simply with N_() the context information is not stripped away - in fact the original string in

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

2007-02-02 Thread Alexander Shopov
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.