diff options
author | Wu Xiaotian <[email protected]> | 2019-08-29 16:19:54 +0800 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2019-08-30 21:14:26 +0200 |
commit | 828be64b69942451e95b56a02dde1576af1bb856 (patch) | |
tree | d56c468286291666b5b687560d3eb4f5a51a5d30 /plugins/datetime | |
parent | d2277c4a74e591fbff12c1d9a049ebd4f68221ea (diff) | |
download | mate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.bz2 mate-settings-daemon-828be64b69942451e95b56a02dde1576af1bb856.tar.xz |
switch to use gettext
Diffstat (limited to 'plugins/datetime')
-rw-r--r-- | plugins/datetime/Makefile.am | 4 | ||||
-rw-r--r-- | plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in | 12 |
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> |