Re: Adding context to strings in the shortcut windows



On Wed, Feb 3, 2016 at 9:28 AM, Carlos Soriano Sanchez
<csoriano redhat com> wrote:
Hello,

An ignorant question, cannot this be done in the shortcuts code in gtk+ instead than in every application?

What part ?

If you put the context in the .ui file, GTK+ uses it to find the
translations without any extra work you need to do.

The extraction (getting translatable strings + context from the .ui
file into the .pot file) is done by xgettext. GTK+ does not have much
direct influence here. If you want to inject context strings
automatically somehow, that would have to be an xgettext patch.


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