-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gnome 45 #215
Gnome 45 #215
Conversation
…od on extension.js
import * as Util from 'resource:///org/gnome/shell/misc/util.js'; | ||
import * as Config from 'resource:///org/gnome/shell/misc/config.js'; | ||
import Gettext from 'gettext'; | ||
const _ = Gettext.domain('gnome-shell-extension-cpupower'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use https://gjs.guide/extensions/development/translations.html#initializing-translations
import {Extension, gettext as _, ngettext, pgettext} from 'resource:///org/gnome/shell/extensions/extension.js';
and
initTranslations()
in body
Is this working correctly as nobody seems to care |
No, it doesn't. I left Linux, and have no plans to work on it. |
Still missing some files to upgrade for ESM, fixes: #214