Skip to content
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

Closed
wants to merge 8 commits into from
Closed

Gnome 45 #215

wants to merge 8 commits into from

Conversation

gilvbp
Copy link

@gilvbp gilvbp commented Sep 26, 2023

Still missing some files to upgrade for ESM, fixes: #214

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');
Copy link

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

@Neo-29
Copy link

Neo-29 commented Oct 20, 2023

Is this working correctly as nobody seems to care
tks for your work sure there are people here who can help

@gilvbp
Copy link
Author

gilvbp commented Oct 21, 2023

Is this working correctly as nobody seems to care tks for your work sure there are people here who can help

No, it doesn't. I left Linux, and have no plans to work on it.

@gilvbp gilvbp closed this Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for G45 version
3 participants