-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Optimize laptop-mode-tools to support internationalization #170
base: lmt-upstream
Are you sure you want to change the base?
Conversation
Support laptop-mode-tools gui title display internationalization Fix the problem that the root privileges prompt does not display the corresponding user when the system is in the Chinese environment Added instructions for developers of internationalized languages
In this submission, I added a description of the language internationalization of laptop mode tools and optimized some minor issues |
@@ -3,413 +3,413 @@ | |||
<context> | |||
<name>MainWidget</name> | |||
<message> | |||
<location filename="../gui/lmt.py" line="55"/> | |||
<location filename="../../../../gui/lmt.py" line="53"/> |
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.
Is this path correct ?
I assume the CWDIR would be usr/share/laptop-mode-tools/locale/
and in your proposed patch, if you traverse ../../../../
you are essentially chdir()ing to /
Can you please enlighten on this ?
Support laptop-mode-tools gui title display internationalization Fix the problem that the root privileges prompt does not display the corresponding user when the system is in the Chinese environment Added instructions for developers of internationalized languages
I added a script under the |
Support laptop-mode-tools gui title display internationalization
Fix the problem that the root privileges prompt does not display the corresponding user when the system is in the Chinese environment
Added instructions for developers of internationalized languages