summaryrefslogtreecommitdiff
path: root/cpufreq/src
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-12-25 17:58:28 +0800
committerraveit65 <[email protected]>2020-01-09 11:40:14 +0100
commitb91dbe12e8f334e7fbaf9a36814d36d63c94dfd4 (patch)
tree699e3fa9a88533a37cc364c28b8afbfc0f360973 /cpufreq/src
parent42022afd3340fc97b8c0c8866f2cd6b1355dee34 (diff)
downloadmate-applets-b91dbe12e8f334e7fbaf9a36814d36d63c94dfd4.tar.bz2
mate-applets-b91dbe12e8f334e7fbaf9a36814d36d63c94dfd4.tar.xz
migrate from intltools to gettext
Diffstat (limited to 'cpufreq/src')
-rw-r--r--cpufreq/src/Makefile.am2
-rw-r--r--cpufreq/src/cpufreq-selector/Makefile.am4
-rw-r--r--cpufreq/src/cpufreq-selector/org.mate.cpufreqselector.policy.in4
3 files changed, 4 insertions, 6 deletions
diff --git a/cpufreq/src/Makefile.am b/cpufreq/src/Makefile.am
index fa8b8040..40d7c01c 100644
--- a/cpufreq/src/Makefile.am
+++ b/cpufreq/src/Makefile.am
@@ -35,6 +35,4 @@ mate_cpufreq_applet_LDADD = \
$(LIBCPUFREQ_LIBS) \
$(DBUS_LIBS)
-
-
-include $(top_srcdir)/git.mk
diff --git a/cpufreq/src/cpufreq-selector/Makefile.am b/cpufreq/src/cpufreq-selector/Makefile.am
index 27dfac69..dc913c70 100644
--- a/cpufreq/src/cpufreq-selector/Makefile.am
+++ b/cpufreq/src/cpufreq-selector/Makefile.am
@@ -66,9 +66,9 @@ $(dbus_services_DATA): $(dbus_services_in_files)
sed -e "s|\@BINDIR\@|$(DESTDIR)$(bindir)|" $< > [email protected]
dbus_conf_DATA = org.mate.CPUFreqSelector.conf
polkit_DATA = $(polkit_in_files:.policy.in=.policy)
-
+$(polkit_DATA): $(polkit_in_files)
+ $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o [email protected]
else
dbus_services_DATA=
dbus_conf_DATA=
diff --git a/cpufreq/src/cpufreq-selector/org.mate.cpufreqselector.policy.in b/cpufreq/src/cpufreq-selector/org.mate.cpufreqselector.policy.in
index 6864e82b..d2afd81b 100644
--- a/cpufreq/src/cpufreq-selector/org.mate.cpufreqselector.policy.in
+++ b/cpufreq/src/cpufreq-selector/org.mate.cpufreqselector.policy.in
@@ -11,8 +11,8 @@
<icon_name>mate-cpu-frequency-applet</icon_name>
<action id="org.mate.cpufreqselector">
- <_description>Change CPU Frequency scaling</_description>
- <_message>Privileges are required to change the CPU Frequency scaling.</_message>
+ <description>Change CPU Frequency scaling</description>
+ <message>Privileges are required to change the CPU Frequency scaling.</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>