summaryrefslogtreecommitdiff
path: root/plugins/datetime
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/datetime')
-rw-r--r--plugins/datetime/Makefile.am4
-rw-r--r--plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in12
2 files changed, 8 insertions, 8 deletions
diff --git a/plugins/datetime/Makefile.am b/plugins/datetime/Makefile.am
index 7c3b76a..d705b60 100644
--- a/plugins/datetime/Makefile.am
+++ b/plugins/datetime/Makefile.am
@@ -39,9 +39,9 @@ $(dbus_services_DATA): $(dbus_services_in_files)
dbus_conf_DATA = org.mate.SettingsDaemon.DateTimeMechanism.conf
-@INTLTOOL_POLICY_RULE@
polkit_DATA = $(polkit_in_files:.policy.in=.policy)
-
+$(polkit_DATA): $(polkit_in_files)
+ $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
else
dbus_services_DATA =
dbus_conf_DATA =
diff --git a/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in b/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in
index 4e064b3..caf54d7 100644
--- a/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in
+++ b/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in
@@ -9,8 +9,8 @@
<icon_name>mate-panel-clock</icon_name>
<action id="org.mate.settingsdaemon.datetimemechanism.settimezone">
- <_description>Change system time zone</_description>
- <_message>Privileges are required to change the system time zone.</_message>
+ <description>Change system time zone</description>
+ <message>Privileges are required to change the system time zone.</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
@@ -18,8 +18,8 @@
</action>
<action id="org.mate.settingsdaemon.datetimemechanism.settime">
- <_description>Change system time</_description>
- <_message>Privileges are required to change the system time.</_message>
+ <description>Change system time</description>
+ <message>Privileges are required to change the system time.</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
@@ -27,8 +27,8 @@
</action>
<action id="org.mate.settingsdaemon.datetimemechanism.configurehwclock">
- <_description>Configure hardware clock</_description>
- <_message>Privileges are required to configure the hardware clock.</_message>
+ <description>Configure hardware clock</description>
+ <message>Privileges are required to configure the hardware clock.</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>