diff options
| author | Michael Biebl <biebl@debian.org> | 2022-10-04 00:56:46 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-10-04 00:56:46 +0200 |
| commit | 3612e6355f3f40d264ec4657547761069baa5430 (patch) | |
| tree | 768e4f5b37b66f540dd7030aa2eaff2ac7bb0168 /data | |
| parent | 7e9f00a3be8f65535e6620b344443ec4d403212b (diff) | |
| parent | 6f7fcde10e47d8af865af336becf1fd8a446e62e (diff) | |
Merge tag 'debian/1.40.0-1' into debian/bullseye-backports
network-manager Debian release 1.40.0-1
Diffstat (limited to 'data')
| -rw-r--r-- | data/meson.build | 5 | ||||
| -rw-r--r-- | data/org.freedesktop.NetworkManager.policy.in.in | 68 |
2 files changed, 36 insertions, 37 deletions
diff --git a/data/meson.build b/data/meson.build index 35e3de52..d617025a 100644 --- a/data/meson.build +++ b/data/meson.build @@ -59,11 +59,10 @@ if enable_polkit configuration: data_conf, ) - custom_target( - policy, + i18n.merge_file( input: policy_in, output: '@BASENAME@', - command: intltool_xml_cmd, + po_dir: po_dir, install: true, install_dir: polkit_gobject_policydir, ) diff --git a/data/org.freedesktop.NetworkManager.policy.in.in b/data/org.freedesktop.NetworkManager.policy.in.in index 8d46dac7..13a0a5b5 100644 --- a/data/org.freedesktop.NetworkManager.policy.in.in +++ b/data/org.freedesktop.NetworkManager.policy.in.in @@ -10,8 +10,8 @@ <icon_name>nm-icon</icon_name> <action id="org.freedesktop.NetworkManager.enable-disable-network"> - <_description>Enable or disable system networking</_description> - <_message>System policy prevents enabling or disabling system networking</_message> + <description>Enable or disable system networking</description> + <message>System policy prevents enabling or disabling system networking</message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> @@ -19,8 +19,8 @@ </action> <action id="org.freedesktop.NetworkManager.reload"> - <_description>Reload NetworkManager configuration</_description> - <_message>System policy prevents reloading NetworkManager</_message> + <description>Reload NetworkManager configuration</description> + <message>System policy prevents reloading NetworkManager</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.NetworkManager.sleep-wake"> - <_description>Put NetworkManager to sleep or wake it up (should only be used by system power management)</_description> - <_message>System policy prevents putting NetworkManager to sleep or waking it up</_message> + <description>Put NetworkManager to sleep or wake it up (should only be used by system power management)</description> + <message>System policy prevents putting NetworkManager to sleep or waking it up</message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>no</allow_active> @@ -38,8 +38,8 @@ </action> <action id="org.freedesktop.NetworkManager.enable-disable-wifi"> - <_description>Enable or disable Wi-Fi devices</_description> - <_message>System policy prevents enabling or disabling Wi-Fi devices</_message> + <description>Enable or disable Wi-Fi devices</description> + <message>System policy prevents enabling or disabling Wi-Fi devices</message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> @@ -47,8 +47,8 @@ </action> <action id="org.freedesktop.NetworkManager.enable-disable-wwan"> - <_description>Enable or disable mobile broadband devices</_description> - <_message>System policy prevents enabling or disabling mobile broadband devices</_message> + <description>Enable or disable mobile broadband devices</description> + <message>System policy prevents enabling or disabling mobile broadband devices</message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> @@ -56,8 +56,8 @@ </action> <action id="org.freedesktop.NetworkManager.enable-disable-wimax"> - <_description>Enable or disable WiMAX mobile broadband devices</_description> - <_message>System policy prevents enabling or disabling WiMAX mobile broadband devices</_message> + <description>Enable or disable WiMAX mobile broadband devices</description> + <message>System policy prevents enabling or disabling WiMAX mobile broadband devices</message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> @@ -65,8 +65,8 @@ </action> <action id="org.freedesktop.NetworkManager.network-control"> - <_description>Allow control of network connections</_description> - <_message>System policy prevents control of network connections</_message> + <description>Allow control of network connections</description> + <message>System policy prevents control of network connections</message> <defaults> <allow_any>auth_admin</allow_any> <allow_inactive>yes</allow_inactive> @@ -75,8 +75,8 @@ </action> <action id="org.freedesktop.NetworkManager.wifi.scan"> - <_description>Allow control of Wi-Fi scans</_description> - <_message>System policy prevents Wi-Fi scans</_message> + <description>Allow control of Wi-Fi scans</description> + <message>System policy prevents Wi-Fi scans</message> <defaults> <allow_any>auth_admin</allow_any> <allow_inactive>yes</allow_inactive> @@ -85,8 +85,8 @@ </action> <action id="org.freedesktop.NetworkManager.wifi.share.protected"> - <_description>Connection sharing via a protected Wi-Fi network</_description> - <_message>System policy prevents sharing connections via a protected Wi-Fi network</_message> + <description>Connection sharing via a protected Wi-Fi network</description> + <message>System policy prevents sharing connections via a protected Wi-Fi network</message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> @@ -94,8 +94,8 @@ </action> <action id="org.freedesktop.NetworkManager.wifi.share.open"> - <_description>Connection sharing via an open Wi-Fi network</_description> - <_message>System policy prevents sharing connections via an open Wi-Fi network</_message> + <description>Connection sharing via an open Wi-Fi network</description> + <message>System policy prevents sharing connections via an open Wi-Fi network</message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> @@ -103,8 +103,8 @@ </action> <action id="org.freedesktop.NetworkManager.settings.modify.own"> - <_description>Modify personal network connections</_description> - <_message>System policy prevents modification of personal network settings</_message> + <description>Modify personal network connections</description> + <message>System policy prevents modification of personal network settings</message> <defaults> <allow_any>auth_self_keep</allow_any> <allow_inactive>yes</allow_inactive> @@ -113,8 +113,8 @@ </action> <action id="org.freedesktop.NetworkManager.settings.modify.system"> - <_description>Modify network connections for all users</_description> - <_message>System policy prevents modification of network settings for all users</_message> + <description>Modify network connections for all users</description> + <message>System policy prevents modification of network settings for all users</message> <defaults> <allow_any>auth_admin_keep</allow_any> <allow_inactive>@NM_MODIFY_SYSTEM_POLICY@</allow_inactive> @@ -123,8 +123,8 @@ </action> <action id="org.freedesktop.NetworkManager.settings.modify.hostname"> - <_description>Modify persistent system hostname</_description> - <_message>System policy prevents modification of the persistent system hostname</_message> + <description>Modify persistent system hostname</description> + <message>System policy prevents modification of the persistent system hostname</message> <defaults> <allow_any>auth_admin_keep</allow_any> <allow_inactive>auth_admin_keep</allow_inactive> @@ -133,8 +133,8 @@ </action> <action id="org.freedesktop.NetworkManager.settings.modify.global-dns"> - <_description>Modify persistent global DNS configuration</_description> - <_message>System policy prevents modification of the persistent global DNS configuration</_message> + <description>Modify persistent global DNS configuration</description> + <message>System policy prevents modification of the persistent global DNS configuration</message> <defaults> <allow_any>auth_admin_keep</allow_any> <allow_inactive>auth_admin_keep</allow_inactive> @@ -143,8 +143,8 @@ </action> <action id="org.freedesktop.NetworkManager.checkpoint-rollback"> - <_description>Perform a checkpoint or rollback of interfaces configuration</_description> - <_message>System policy prevents the creation of a checkpoint or its rollback</_message> + <description>Perform a checkpoint or rollback of interfaces configuration</description> + <message>System policy prevents the creation of a checkpoint or its rollback</message> <defaults> <allow_any>auth_admin_keep</allow_any> <allow_inactive>auth_admin_keep</allow_inactive> @@ -153,8 +153,8 @@ </action> <action id="org.freedesktop.NetworkManager.enable-disable-statistics"> - <_description>Enable or disable device statistics</_description> - <_message>System policy prevents enabling or disabling device statistics</_message> + <description>Enable or disable device statistics</description> + <message>System policy prevents enabling or disabling device statistics</message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> @@ -162,8 +162,8 @@ </action> <action id="org.freedesktop.NetworkManager.enable-disable-connectivity-check"> - <_description>Enable or disable connectivity checking</_description> - <_message>System policy prevents enabling or disabling connectivity checking</_message> + <description>Enable or disable connectivity checking</description> + <message>System policy prevents enabling or disabling connectivity checking</message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>yes</allow_active> |