Re: Question on translations and prefs.js

2012-07-18 Thread Yaa101
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

Re: Question on translations and prefs.js

2012-07-18 Thread Amy C
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

Question on translations and prefs.js

2012-07-18 Thread Yaa101
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