Coder Social home page Coder Social logo

Comments (16)

AntiNSA avatar AntiNSA commented on August 13, 2024

Yes you are right and I really need this .. its one of my most important extensions. Can anything be done to make it work again?

from text-translator.

gufoe avatar gufoe commented on August 13, 2024

I don't have 3.24 yet, but I'll spin up a vm in the next days to check if I can do something about it

from text-translator.

AntiNSA avatar AntiNSA commented on August 13, 2024

Thats awesome if you could. I am a teacher in China and I use this all the time in Class and have really gotten to depend on it. ITs very useful. Thank you.

from text-translator.

AntiNSA avatar AntiNSA commented on August 13, 2024

PLease update this thread when you have the opourtunity to see if this can be done. The new gnome wprls so great for multiscreen/multi monitors. Id hate to downgrade, but if I have to go withoput the translation extension then I will most likely downgrade untill the extension is available.

from text-translator.

gufoe avatar gufoe commented on August 13, 2024

I downloaded ubuntu live, and this is the error I found with the extension:

Error: Requiring St, version none: Requiring namespace 'Clutter' version '0', but '1.0' is already loaded
 
Stack trace:
  @/home/ubuntu-gnome/.local/share/gnome-shell/extensions/[email protected]/translation_providers/google_translation_provider.js:1:7
  TranslatorsManager<._load_translators@/home/ubuntu-gnome/.local/share/gnome-shell/extensions/[email protected]/translators_manager.js:33:17
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  TranslatorsManager<._init@/home/ubuntu-gnome/.local/share/gnome-shell/extensions/[email protected]/translators_manager.js:15:29
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110:5
  Class.prototype._construct/newClassConstructor@resource:///org/gnome/gjs/modules/lang.js:213:20
  TextTranslatorPrefsWidget<._get_main_page@/home/ubuntu-gnome/.local/share/gnome-shell/extensions/[email protected]/prefs.js:576:35
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  TextTranslatorPrefsWidget<._init@/home/ubuntu-gnome/.local/share/gnome-shell/extensions/[email protected]/prefs.js:546:20
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  buildPrefsWidget@/home/ubuntu-gnome/.local/share/gnome-shell/extensions/[email protected]/prefs.js:703:18
  Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:22
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:399:5
  @<main>:1:49
  x

from text-translator.

simonbcn avatar simonbcn commented on August 13, 2024

same problem on Arch Linux with GNOME Shell 3.24.1

from text-translator.

gufoe avatar gufoe commented on August 13, 2024

I proposed the problem on reddit aswell, no answers. Hopefully I'll find a solution myself soon.

from text-translator.

AntiNSA avatar AntiNSA commented on August 13, 2024

Hey any progress on thus issue?

from text-translator.

AntiNSA avatar AntiNSA commented on August 13, 2024

this is erious..... lts and 16.10 are no longer supported by gnome & thus far insecure

from text-translator.

gufoe avatar gufoe commented on August 13, 2024

Still nothing, I'm sorry :(

from text-translator.

philipraets avatar philipraets commented on August 13, 2024

If I remove lines 828 till 832 in extension.js (it's the second let translate_label in function _add_topbar_buttons, there is an error that it is already declared), the extension somewhat works again in opensuse tumbleweed, I can translate things, but cannot open preferences, then I get the namespace error.

I don't have experience with debugging or writing gnome-shell extensions, so I don't know where to start.

from text-translator.

gufoe avatar gufoe commented on August 13, 2024

Nice, for some reason the translate_label was already defined and added previously at line 804, so I'm fixing this now, at the extension will be usable. As for the settings, I still don't know, but looking into it, good job @philipraets, thanks!

from text-translator.

gufoe avatar gufoe commented on August 13, 2024

Looks like just commenting the first two lines in translation_providers/google_translation_provider.js fixes the preferences bug, can somebody with 3.24 give it a try?

from text-translator.

philipraets avatar philipraets commented on August 13, 2024

just tested, and seems to work

from text-translator.

wnlima avatar wnlima commented on August 13, 2024

Not Work on Gnome Debian 8.
Translate (ctrl + Enter) not work.
Go, not work

My test is English to Portuguese

from text-translator.

gufoe avatar gufoe commented on August 13, 2024

I've just tested on Ubuntu 17.04 with Gnome 3.24 and it's working, I'm closing the issue, thank you all.

from text-translator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.