Re: Add translation contexts



Stéphane Raimbault wrote:
> I want to patch Balsa to add context informations but the strings are
> used in a initializer so the macro Q_ is not appropriated:

I had a similar problem. You can't use Q_ in an array initializer.

Instead, I added a comment for translators before the array initializer, and added context info for other identical strings that were not in array initializers, so that the strings would not be merged.

See http://svn.gnome.org/viewcvs/gthumb?view=revision&revision=1971 for an example of what I mean.

- Mike




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]