Re: Settings widget still shows English text when system is configured to use other locales

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

 



> Am Sun, 19 Mar 2017 20:22:45 +0100
> schrieb Silvia Sanchez <bhkohane(a)gmail.com&gt;:
> 
> No it's an incorrect use.
> Easy to fix:
> three js-files in the netspeed extensions are using gettext: prefs.js,
> net_speed.js and net_speed_status_icon.js.
> 
> In all three files just change the line:
> const _ = Gettext.gettext;
> to 
> const _ = Gettext.domain('netspeed').gettext;
> 
> and reload the gnome-shell.
> By the way,the gettext-domain in the schemas file is also incorrect if
> I see it correctly, it should also be 'netspeed' and not
> 'gnome-shell-extensions', but it seems, that this does not do any harm.

yes, that works now, thanks for your help :)
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux