mate-desktop / mate-power-manager

Power management tool for the MATE desktop
https://mate-desktop.org
GNU General Public License v2.0
59 stars 51 forks source link

Gettext #310

Closed yetist closed 4 years ago

yetist commented 4 years ago

Note: nn language has error.

raveit65 commented 4 years ago

Norway language is fixed in master.

raveit65 commented 4 years ago

@yetist Can you please add translators hins to desktop files. Not sure if this is needed for desktop files of applets too, but they use icon names too.

raveit65 commented 4 years ago

@yetist Can you please add translator hints? Than we can can finish this PR. data/mate-power-manager.desktop.in.in data/mate-power-preferences.desktop.in.in data/mate-power-statistics.desktop.in.in applets/brightness/org.mate.BrightnessApplet.mate-panel-applet.desktop.in.in applets/inhibit/org.mate.InhibitApplet.mate-panel-applet.desktop.in.in

raveit65 commented 4 years ago

Only rebased to squash 2 commits together.

raveit65 commented 4 years ago

@yetist After installation i noticed that mate-power-preferences.desktop and mate-power-statistics.desktop have same content, and i have a double menu-entry in panel menu :/

[rave@mother mate-power-manager-dist]$ ls -l /usr/local/share/applications
insgesamt 24
-rw-r--r-- 1 root root 8244 16. Nov 22:55 mate-power-preferences.desktop
-rw-r--r-- 1 root root 8244 16. Nov 22:55 mate-power-statistics.desktop

[rave@mother mate-power-manager-dist]$ tail -n 16 /usr/local/share/applications/mate-power-preferences.desktop 
Comment=Configure power management
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=mate-power-manager
Exec=mate-power-preferences
Terminal=false
Type=Application
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Categories=Settings;HardwareSettings;
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=MATE;power;management;preferences;settings;
OnlyShowIn=MATE;
StartupNotify=true
X-MATE-Bugzilla-Bugzilla=MATE
X-MATE-Bugzilla-Product=mate-power-manager
X-MATE-Bugzilla-Component=mate-power-preferences
X-MATE-Bugzilla-Version=1.23.1

[rave@mother mate-power-manager-dist]$ tail -n 16 /usr/local/share/applications/mate-power-statistics.desktop 
Comment=Configure power management
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=mate-power-manager
Exec=mate-power-preferences
Terminal=false
Type=Application
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Categories=Settings;HardwareSettings;
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=MATE;power;management;preferences;settings;
OnlyShowIn=MATE;
StartupNotify=true
X-MATE-Bugzilla-Bugzilla=MATE
X-MATE-Bugzilla-Product=mate-power-manager
X-MATE-Bugzilla-Component=mate-power-preferences
X-MATE-Bugzilla-Version=1.23.1

Can you please take a look at it?

raveit65 commented 4 years ago

@yetist Can you please take a look at this desktop file issue? /usr/local/share/applications/mate-power-statistics.desktop has a wrong content after this PR.