Gettextize policy files
* Don't merge translations into the files * Add gettext-domain="systemd" to description and message Closes #8162, replaces #8118.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
730f40eb57
commit
264d8dcc16
@@ -21,12 +21,10 @@ if conf.get('ENABLE_TIMEDATED') == 1
|
||||
install_data('org.freedesktop.timedate1.service',
|
||||
install_dir : dbussystemservicedir)
|
||||
|
||||
i18n.merge_file(
|
||||
'org.freedesktop.timedate1.policy',
|
||||
policy = configure_file(
|
||||
input : 'org.freedesktop.timedate1.policy.in',
|
||||
output : 'org.freedesktop.timedate1.policy',
|
||||
po_dir : po_dir,
|
||||
data_dirs : po_dir,
|
||||
install : install_polkit,
|
||||
install_dir : polkitpolicydir)
|
||||
configuration : substs)
|
||||
install_data(policy,
|
||||
install_dir : polkitpolicydir)
|
||||
endif
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
|
||||
|
||||
<action id="org.freedesktop.timedate1.set-time">
|
||||
<description>Set system time</description>
|
||||
<message>Authentication is required to set the system time.</message>
|
||||
<description gettext-domain="systemd">Set system time</description>
|
||||
<message gettext-domain="systemd">Authentication is required to set the system time.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
@@ -30,8 +30,8 @@
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.timedate1.set-timezone">
|
||||
<description>Set system timezone</description>
|
||||
<message>Authentication is required to set the system timezone.</message>
|
||||
<description gettext-domain="systemd">Set system timezone</description>
|
||||
<message gettext-domain="systemd">Authentication is required to set the system timezone.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
@@ -40,8 +40,8 @@
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.timedate1.set-local-rtc">
|
||||
<description>Set RTC to local timezone or UTC</description>
|
||||
<message>Authentication is required to control whether
|
||||
<description gettext-domain="systemd">Set RTC to local timezone or UTC</description>
|
||||
<message gettext-domain="systemd">Authentication is required to control whether
|
||||
the RTC stores the local or UTC time.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
@@ -51,8 +51,8 @@
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.timedate1.set-ntp">
|
||||
<description>Turn network time synchronization on or off</description>
|
||||
<message>Authentication is required to control whether
|
||||
<description gettext-domain="systemd">Turn network time synchronization on or off</description>
|
||||
<message gettext-domain="systemd">Authentication is required to control whether
|
||||
network time synchronization shall be enabled.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
|
||||
Reference in New Issue
Block a user