install_data('org.freedesktop.systemd1.service',
install_dir : dbussystemservicedir)
-policy_in = configure_file(
+policy = configure_file(
input : 'org.freedesktop.systemd1.policy.in.in',
- output : 'org.freedesktop.systemd1.policy.in',
- configuration : substs)
-
-i18n.merge_file(
- 'org.freedesktop.systemd1.policy',
- input : policy_in,
output : 'org.freedesktop.systemd1.policy',
- po_dir : po_dir,
- data_dirs : po_dir,
- install : install_polkit,
- install_dir : polkitpolicydir)
+ configuration : substs)
+install_data(policy,
+ install_dir : polkitpolicydir)
install_data('system.conf',
'user.conf',
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
<action id="org.freedesktop.systemd1.reply-password">
- <description>Send passphrase back to system</description>
- <message>Authentication is required to send the entered passphrase back to the system.</message>
+ <description gettext-domain="systemd">Send passphrase back to system</description>
+ <message gettext-domain="systemd">Authentication is required to send the entered passphrase back to the system.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
</action>
<action id="org.freedesktop.systemd1.manage-units">
- <description>Manage system services or other units</description>
- <message>Authentication is required to manage system services or other units.</message>
+ <description gettext-domain="systemd">Manage system services or other units</description>
+ <message gettext-domain="systemd">Authentication is required to manage system services or other units.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.systemd1.manage-unit-files">
- <description>Manage system service or unit files</description>
- <message>Authentication is required to manage system service or unit files.</message>
+ <description gettext-domain="systemd">Manage system service or unit files</description>
+ <message gettext-domain="systemd">Authentication is required to manage system service or unit files.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.systemd1.set-environment">
- <description>Set or unset system and service manager environment variables</description>
- <message>Authentication is required to set or unset system and service manager environment variables.</message>
+ <description gettext-domain="systemd">Set or unset system and service manager environment variables</description>
+ <message gettext-domain="systemd">Authentication is required to set or unset system and service manager environment variables.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.systemd1.reload-daemon">
- <description>Reload the systemd state</description>
- <message>Authentication is required to reload the systemd state.</message>
+ <description gettext-domain="systemd">Reload the systemd state</description>
+ <message gettext-domain="systemd">Authentication is required to reload the systemd state.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
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
<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>
</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>
</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>
install_data('org.freedesktop.import1.service',
install_dir : dbussystemservicedir)
- i18n.merge_file(
- 'org.freedesktop.import1.policy',
+ policy = configure_file(
input : 'org.freedesktop.import1.policy.in',
output : 'org.freedesktop.import1.policy',
- po_dir : po_dir,
- data_dirs : po_dir,
- install : install_polkit,
- install_dir : polkitpolicydir)
+ configuration : substs)
+ install_data(policy,
+ install_dir : polkitpolicydir)
install_data('import-pubring.gpg',
install_dir : rootlibexecdir)
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
<action id="org.freedesktop.import1.import">
- <description>Import a VM or container image</description>
- <message>Authentication is required to import a VM or container image</message>
+ <description gettext-domain="systemd">Import a VM or container image</description>
+ <message gettext-domain="systemd">Authentication is required to import a VM or container image</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.import1.export">
- <description>Export a VM or container image</description>
- <message>Authentication is required to export a VM or container image</message>
+ <description gettext-domain="systemd">Export a VM or container image</description>
+ <message gettext-domain="systemd">Authentication is required to export a VM or container image</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.import1.pull">
- <description>Download a VM or container image</description>
- <message>Authentication is required to download a VM or container image</message>
+ <description gettext-domain="systemd">Download a VM or container image</description>
+ <message gettext-domain="systemd">Authentication is required to download a VM or container image</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
install_data('org.freedesktop.locale1.service',
install_dir : dbussystemservicedir)
- i18n.merge_file(
- 'org.freedesktop.locale1.policy',
+ policy = configure_file(
input : 'org.freedesktop.locale1.policy.in',
output : 'org.freedesktop.locale1.policy',
- po_dir : po_dir,
- data_dirs : po_dir,
- install : install_polkit,
- install_dir : polkitpolicydir)
+ configuration : substs)
+ install_data(policy,
+ install_dir : polkitpolicydir)
endif
# If you know a way that allows the same variables to be used
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
<action id="org.freedesktop.locale1.set-locale">
- <description>Set system locale</description>
- <message>Authentication is required to set the system locale.</message>
+ <description gettext-domain="systemd">Set system locale</description>
+ <message gettext-domain="systemd">Authentication is required to set the system locale.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.locale1.set-keyboard">
- <description>Set system keyboard settings</description>
- <message>Authentication is required to set the system keyboard settings.</message>
+ <description gettext-domain="systemd">Set system keyboard settings</description>
+ <message gettext-domain="systemd">Authentication is required to set the system keyboard settings.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
install_data('org.freedesktop.login1.service',
install_dir : dbussystemservicedir)
- i18n.merge_file(
- 'org.freedesktop.login1.policy',
+ policy = configure_file(
input : 'org.freedesktop.login1.policy.in',
output : 'org.freedesktop.login1.policy',
- po_dir : po_dir,
- data_dirs : po_dir,
- install : install_polkit,
- install_dir : polkitpolicydir)
+ configuration : substs)
+ install_data(policy,
+ install_dir : polkitpolicydir)
install_data('70-power-switch.rules', install_dir : udevrulesdir)
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
<action id="org.freedesktop.login1.inhibit-block-shutdown">
- <description>Allow applications to inhibit system shutdown</description>
- <message>Authentication is required for an application to inhibit system shutdown.</message>
+ <description gettext-domain="systemd">Allow applications to inhibit system shutdown</description>
+ <message gettext-domain="systemd">Authentication is required for an application to inhibit system shutdown.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>yes</allow_inactive>
</action>
<action id="org.freedesktop.login1.inhibit-delay-shutdown">
- <description>Allow applications to delay system shutdown</description>
- <message>Authentication is required for an application to delay system shutdown.</message>
+ <description gettext-domain="systemd">Allow applications to delay system shutdown</description>
+ <message gettext-domain="systemd">Authentication is required for an application to delay system shutdown.</message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
</action>
<action id="org.freedesktop.login1.inhibit-block-sleep">
- <description>Allow applications to inhibit system sleep</description>
- <message>Authentication is required for an application to inhibit system sleep.</message>
+ <description gettext-domain="systemd">Allow applications to inhibit system sleep</description>
+ <message gettext-domain="systemd">Authentication is required for an application to inhibit system sleep.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>yes</allow_inactive>
</action>
<action id="org.freedesktop.login1.inhibit-delay-sleep">
- <description>Allow applications to delay system sleep</description>
- <message>Authentication is required for an application to delay system sleep.</message>
+ <description gettext-domain="systemd">Allow applications to delay system sleep</description>
+ <message gettext-domain="systemd">Authentication is required for an application to delay system sleep.</message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
</action>
<action id="org.freedesktop.login1.inhibit-block-idle">
- <description>Allow applications to inhibit automatic system suspend</description>
- <message>Authentication is required for an application to inhibit automatic system suspend.</message>
+ <description gettext-domain="systemd">Allow applications to inhibit automatic system suspend</description>
+ <message gettext-domain="systemd">Authentication is required for an application to inhibit automatic system suspend.</message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
</action>
<action id="org.freedesktop.login1.inhibit-handle-power-key">
- <description>Allow applications to inhibit system handling of the power key</description>
- <message>Authentication is required for an application to inhibit system handling of the power key.</message>
+ <description gettext-domain="systemd">Allow applications to inhibit system handling of the power key</description>
+ <message gettext-domain="systemd">Authentication is required for an application to inhibit system handling of the power key.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>yes</allow_inactive>
</action>
<action id="org.freedesktop.login1.inhibit-handle-suspend-key">
- <description>Allow applications to inhibit system handling of the suspend key</description>
- <message>Authentication is required for an application to inhibit system handling of the suspend key.</message>
+ <description gettext-domain="systemd">Allow applications to inhibit system handling of the suspend key</description>
+ <message gettext-domain="systemd">Authentication is required for an application to inhibit system handling of the suspend key.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>yes</allow_inactive>
</action>
<action id="org.freedesktop.login1.inhibit-handle-hibernate-key">
- <description>Allow applications to inhibit system handling of the hibernate key</description>
- <message>Authentication is required for an application to inhibit system handling of the hibernate key.</message>
+ <description gettext-domain="systemd">Allow applications to inhibit system handling of the hibernate key</description>
+ <message gettext-domain="systemd">Authentication is required for an application to inhibit system handling of the hibernate key.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>yes</allow_inactive>
</action>
<action id="org.freedesktop.login1.inhibit-handle-lid-switch">
- <description>Allow applications to inhibit system handling of the lid switch</description>
- <message>Authentication is required for an application to inhibit system handling of the lid switch.</message>
+ <description gettext-domain="systemd">Allow applications to inhibit system handling of the lid switch</description>
+ <message gettext-domain="systemd">Authentication is required for an application to inhibit system handling of the lid switch.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>yes</allow_inactive>
</action>
<action id="org.freedesktop.login1.set-self-linger">
- <description>Allow non-logged-in user to run programs</description>
- <message>Explicit request is required to run programs as a non-logged-in user.</message>
+ <description gettext-domain="systemd">Allow non-logged-in user to run programs</description>
+ <message gettext-domain="systemd">Explicit request is required to run programs as a non-logged-in user.</message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
</action>
<action id="org.freedesktop.login1.set-user-linger">
- <description>Allow non-logged-in users to run programs</description>
- <message>Authentication is required to run programs as a non-logged-in user.</message>
+ <description gettext-domain="systemd">Allow non-logged-in users to run programs</description>
+ <message gettext-domain="systemd">Authentication is required to run programs as a non-logged-in user.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.attach-device">
- <description>Allow attaching devices to seats</description>
- <message>Authentication is required for attaching a device to a seat.</message>
+ <description gettext-domain="systemd">Allow attaching devices to seats</description>
+ <message gettext-domain="systemd">Authentication is required for attaching a device to a seat.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.flush-devices">
- <description>Flush device to seat attachments</description>
- <message>Authentication is required for resetting how devices are attached to seats.</message>
+ <description gettext-domain="systemd">Flush device to seat attachments</description>
+ <message gettext-domain="systemd">Authentication is required for resetting how devices are attached to seats.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.power-off">
- <description>Power off the system</description>
- <message>Authentication is required for powering off the system.</message>
+ <description gettext-domain="systemd">Power off the system</description>
+ <message gettext-domain="systemd">Authentication is required for powering off the system.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.power-off-multiple-sessions">
- <description>Power off the system while other users are logged in</description>
- <message>Authentication is required for powering off the system while other users are logged in.</message>
+ <description gettext-domain="systemd">Power off the system while other users are logged in</description>
+ <message gettext-domain="systemd">Authentication is required for powering off the system while other users are logged in.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.power-off-ignore-inhibit">
- <description>Power off the system while an application asked to inhibit it</description>
- <message>Authentication is required for powering off the system while an application asked to inhibit it.</message>
+ <description gettext-domain="systemd">Power off the system while an application asked to inhibit it</description>
+ <message gettext-domain="systemd">Authentication is required for powering off the system while an application asked to inhibit it.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.reboot">
- <description>Reboot the system</description>
- <message>Authentication is required for rebooting the system.</message>
+ <description gettext-domain="systemd">Reboot the system</description>
+ <message gettext-domain="systemd">Authentication is required for rebooting the system.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.reboot-multiple-sessions">
- <description>Reboot the system while other users are logged in</description>
- <message>Authentication is required for rebooting the system while other users are logged in.</message>
+ <description gettext-domain="systemd">Reboot the system while other users are logged in</description>
+ <message gettext-domain="systemd">Authentication is required for rebooting the system while other users are logged in.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.reboot-ignore-inhibit">
- <description>Reboot the system while an application asked to inhibit it</description>
- <message>Authentication is required for rebooting the system while an application asked to inhibit it.</message>
+ <description gettext-domain="systemd">Reboot the system while an application asked to inhibit it</description>
+ <message gettext-domain="systemd">Authentication is required for rebooting the system while an application asked to inhibit it.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.halt">
- <description>Halt the system</description>
- <message>Authentication is required for halting the system.</message>
+ <description gettext-domain="systemd">Halt the system</description>
+ <message gettext-domain="systemd">Authentication is required for halting the system.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.halt-multiple-sessions">
- <description>Halt the system while other users are logged in</description>
- <message>Authentication is required for halting the system while other users are logged in.</message>
+ <description gettext-domain="systemd">Halt the system while other users are logged in</description>
+ <message gettext-domain="systemd">Authentication is required for halting the system while other users are logged in.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.halt-ignore-inhibit">
- <description>Halt the system while an application asked to inhibit it</description>
- <message>Authentication is required for halting the system while an application asked to inhibit it.</message>
+ <description gettext-domain="systemd">Halt the system while an application asked to inhibit it</description>
+ <message gettext-domain="systemd">Authentication is required for halting the system while an application asked to inhibit it.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.suspend">
- <description>Suspend the system</description>
- <message>Authentication is required for suspending the system.</message>
+ <description gettext-domain="systemd">Suspend the system</description>
+ <message gettext-domain="systemd">Authentication is required for suspending the system.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.suspend-multiple-sessions">
- <description>Suspend the system while other users are logged in</description>
- <message>Authentication is required for suspending the system while other users are logged in.</message>
+ <description gettext-domain="systemd">Suspend the system while other users are logged in</description>
+ <message gettext-domain="systemd">Authentication is required for suspending the system while other users are logged in.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.suspend-ignore-inhibit">
- <description>Suspend the system while an application asked to inhibit it</description>
- <message>Authentication is required for suspending the system while an application asked to inhibit it.</message>
+ <description gettext-domain="systemd">Suspend the system while an application asked to inhibit it</description>
+ <message gettext-domain="systemd">Authentication is required for suspending the system while an application asked to inhibit it.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.hibernate">
- <description>Hibernate the system</description>
- <message>Authentication is required for hibernating the system.</message>
+ <description gettext-domain="systemd">Hibernate the system</description>
+ <message gettext-domain="systemd">Authentication is required for hibernating the system.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.hibernate-multiple-sessions">
- <description>Hibernate the system while other users are logged in</description>
- <message>Authentication is required for hibernating the system while other users are logged in.</message>
+ <description gettext-domain="systemd">Hibernate the system while other users are logged in</description>
+ <message gettext-domain="systemd">Authentication is required for hibernating the system while other users are logged in.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.hibernate-ignore-inhibit">
- <description>Hibernate the system while an application asked to inhibit it</description>
- <message>Authentication is required for hibernating the system while an application asked to inhibit it.</message>
+ <description gettext-domain="systemd">Hibernate the system while an application asked to inhibit it</description>
+ <message gettext-domain="systemd">Authentication is required for hibernating the system while an application asked to inhibit it.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.manage">
- <description>Manage active sessions, users and seats</description>
- <message>Authentication is required for managing active sessions, users and seats.</message>
+ <description gettext-domain="systemd">Manage active sessions, users and seats</description>
+ <message gettext-domain="systemd">Authentication is required for managing active sessions, users and seats.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.lock-sessions">
- <description>Lock or unlock active sessions</description>
- <message>Authentication is required to lock or unlock active sessions.</message>
+ <description gettext-domain="systemd">Lock or unlock active sessions</description>
+ <message gettext-domain="systemd">Authentication is required to lock or unlock active sessions.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.set-reboot-to-firmware-setup">
- <description>Allow indication to the firmware to boot to setup interface</description>
- <message>Authentication is required to indicate to the firmware to boot to setup interface.</message>
+ <description gettext-domain="systemd">Allow indication to the firmware to boot to setup interface</description>
+ <message gettext-domain="systemd">Authentication is required to indicate to the firmware to boot to setup interface.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
</action>
<action id="org.freedesktop.login1.set-wall-message">
- <description>Set a wall message</description>
- <message>Authentication is required to set a wall message</message>
+ <description gettext-domain="systemd">Set a wall message</description>
+ <message gettext-domain="systemd">Authentication is required to set a wall message</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
install_data('org.freedesktop.machine1.service',
install_dir : dbussystemservicedir)
- i18n.merge_file(
- 'org.freedesktop.machine1.policy',
+ policy = configure_file(
input : 'org.freedesktop.machine1.policy.in',
output : 'org.freedesktop.machine1.policy',
- po_dir : po_dir,
- data_dirs : po_dir,
- install : install_polkit,
- install_dir : polkitpolicydir)
+ configuration : substs)
+ install_data(policy,
+ install_dir : polkitpolicydir)
endif
tests += [
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
<action id="org.freedesktop.machine1.login">
- <description>Log into a local container</description>
- <message>Authentication is required to log into a local container.</message>
+ <description gettext-domain="systemd">Log into a local container</description>
+ <message gettext-domain="systemd">Authentication is required to log into a local container.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.machine1.host-login">
- <description>Log into the local host</description>
- <message>Authentication is required to log into the local host.</message>
+ <description gettext-domain="systemd">Log into the local host</description>
+ <message gettext-domain="systemd">Authentication is required to log into the local host.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.machine1.shell">
- <description>Acquire a shell in a local container</description>
- <message>Authentication is required to acquire a shell in a local container.</message>
+ <description gettext-domain="systemd">Acquire a shell in a local container</description>
+ <message gettext-domain="systemd">Authentication is required to acquire a shell in a local container.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.machine1.host-shell">
- <description>Acquire a shell on the local host</description>
- <message>Authentication is required to acquire a shell on the local host.</message>
+ <description gettext-domain="systemd">Acquire a shell on the local host</description>
+ <message gettext-domain="systemd">Authentication is required to acquire a shell on the local host.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.machine1.open-pty">
- <description>Acquire a pseudo TTY in a local container</description>
- <message>Authentication is required to acquire a pseudo TTY in a local container.</message>
+ <description gettext-domain="systemd">Acquire a pseudo TTY in a local container</description>
+ <message gettext-domain="systemd">Authentication is required to acquire a pseudo TTY in a local container.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.machine1.host-open-pty">
- <description>Acquire a pseudo TTY on the local host</description>
- <message>Authentication is required to acquire a pseudo TTY on the local host.</message>
+ <description gettext-domain="systemd">Acquire a pseudo TTY on the local host</description>
+ <message gettext-domain="systemd">Authentication is required to acquire a pseudo TTY on the local host.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.machine1.manage-machines">
- <description>Manage local virtual machines and containers</description>
- <message>Authentication is required to manage local virtual machines and containers.</message>
+ <description gettext-domain="systemd">Manage local virtual machines and containers</description>
+ <message gettext-domain="systemd">Authentication is required to manage local virtual machines and containers.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.machine1.manage-images">
- <description>Manage local virtual machine and container images</description>
- <message>Authentication is required to manage local virtual machine and container images.</message>
+ <description gettext-domain="systemd">Manage local virtual machine and container images</description>
+ <message gettext-domain="systemd">Authentication is required to manage local virtual machine and container images.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
install_data('resolv.conf',
install_dir : rootlibexecdir)
- i18n.merge_file(
- 'org.freedesktop.resolve1.policy',
+ policy = configure_file(
input : 'org.freedesktop.resolve1.policy.in',
output : 'org.freedesktop.resolve1.policy',
- po_dir : po_dir,
- data_dirs : po_dir,
- install : install_polkit,
- install_dir : polkitpolicydir)
+ configuration : substs)
+ install_data(policy,
+ install_dir : polkitpolicydir)
endif
tests += [
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
<action id="org.freedesktop.resolve1.register-service">
- <description>Register a DNS-SD service</description>
- <message>Authentication is required to register a DNS-SD service</message>
+ <description gettext-domain="systemd">Register a DNS-SD service</description>
+ <message gettext-domain="systemd">Authentication is required to register a DNS-SD service</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
</action>
<action id="org.freedesktop.resolve1.unregister-service">
- <description>Unregister a DNS-SD service</description>
- <message>Authentication is required to unregister a DNS-SD service</message>
+ <description gettext-domain="systemd">Unregister a DNS-SD service</description>
+ <message gettext-domain="systemd">Authentication is required to unregister a DNS-SD service</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
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
<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>
</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>
</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>
</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>