Hi Amy,
Yes, I have
const Me = imports.misc.extensionUtils.getCurrentExtension();
const Convenience = Me.imports.convenience;
const Gettext =
imports.gettext.domain('gnome-shell-extensions-quicklaunchbar');
const _ = Gettext.gettext;
and in the init()
Convenience.initTranslations('gnome-shel
You added the Convenience.initTranslations() (or
imports.gettext.bindtextdomain('my-domain', '/path/to/locale/')) into
the init() function in prefs.js, right?
On 19 July 2012 07:20, Yaa101 wrote:
>
> Hi all,
>
> I tried to make translations work in prefs.js but to no avail.
>
> I did manage to ha
Hi all,
I tried to make translations work in prefs.js but to no avail.
I did manage to have translations in my extension, so nothing is wrong
with my system locale settings.
Should translations work in the prefs.js?
Am I doing something wrong?
Is there a workaround, or do I have to setup someth