From 828be64b69942451e95b56a02dde1576af1bb856 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Thu, 29 Aug 2019 16:19:54 +0800 Subject: switch to use gettext --- plugins/datetime/Makefile.am | 4 ++-- .../org.mate.settingsdaemon.datetimemechanism.policy.in | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/datetime') 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 @@ mate-panel-clock - <_description>Change system time zone - <_message>Privileges are required to change the system time zone. + Change system time zone + Privileges are required to change the system time zone. no auth_admin_keep @@ -18,8 +18,8 @@ - <_description>Change system time - <_message>Privileges are required to change the system time. + Change system time + Privileges are required to change the system time. no auth_admin_keep @@ -27,8 +27,8 @@ - <_description>Configure hardware clock - <_message>Privileges are required to configure the hardware clock. + Configure hardware clock + Privileges are required to configure the hardware clock. no auth_admin_keep -- cgit v1.2.1