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_HOSTNAMED') == 1
|
||||
install_data('org.freedesktop.hostname1.service',
|
||||
install_dir : dbussystemservicedir)
|
||||
|
||||
i18n.merge_file(
|
||||
'org.freedesktop.hostname1.policy',
|
||||
policy = configure_file(
|
||||
input : 'org.freedesktop.hostname1.policy.in',
|
||||
output : 'org.freedesktop.hostname1.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.hostname1.set-hostname">
|
||||
<description>Set host name</description>
|
||||
<message>Authentication is required to set the local host name.</message>
|
||||
<description gettext-domain="systemd">Set host name</description>
|
||||
<message gettext-domain="systemd">Authentication is required to set the local host name.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
@@ -29,8 +29,8 @@
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.hostname1.set-static-hostname">
|
||||
<description>Set static host name</description>
|
||||
<message>Authentication is required to set the statically configured local host name, as well as the pretty host name.</message>
|
||||
<description gettext-domain="systemd">Set static host name</description>
|
||||
<message gettext-domain="systemd">Authentication is required to set the statically configured local host name, as well as the pretty host name.</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.hostname1.set-machine-info">
|
||||
<description>Set machine information</description>
|
||||
<message>Authentication is required to set local machine information.</message>
|
||||
<description gettext-domain="systemd">Set machine information</description>
|
||||
<message gettext-domain="systemd">Authentication is required to set local machine information.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin_keep</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
|
||||
Reference in New Issue
Block a user