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@xxxxxxxxx>:

> No. I think is a common issue with Gnome. I experienced the same with
> Gnome Recipes. In theory the app is translated, I had my system as
> German, but it never showed anything but English.  The app menu in
> Shell  (where's the apps name and some option) was translated though.
> 
> 
> My 2 cents,
> Sylvia
> 
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.

> 
> On So, 2017-03-19 at 14:11 +0000, Martin Gansser wrote:
> > > I am working on a review of gnome-shell-extension-netspeed
> > > (https://b  
> ugzilla.redhat.com/show_bug.cgi?id=1377631).
> > > > I'm using the latest version of NetSpeed from the extensions
> > > > website,  
> with GNOME 3.22, on Fedora 25 Workstation x86_64 in a german
> environment (LANG=de_DE.UTF-8).
> > 
> > Does anyone have an idea, how to fix this ?
> > _______________________________________________
> > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to
> > devel-leave@xxxxxxxxxxxxxxxxxxxxxxx  

Attachment: pgpV4uDmaXgWe.pgp
Description: Digitale Signatur von OpenPGP

_______________________________________________
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