Re: Adding context to strings in the shortcut windows
- From: Matthias Clasen <matthias clasen gmail com>
- To: Carlos Soriano Sanchez <csoriano redhat com>
- Cc: Michael Catanzaro <mcatanzaro gnome org>, Desktop Development List <desktop-devel-list gnome org>
- Subject: Re: Adding context to strings in the shortcut windows
- Date: Wed, 3 Feb 2016 11:59:15 +0100
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]