summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-01 09:44:43 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-01 09:45:04 -0500
commit2e219e5672689dad60e110f0b3366765506c4c58 (patch)
tree7ff292fde85c4ae288c7bc0ce185071eebabfee6 /src
parent4038d7502fd1259ec5df3a5089f4cc0b91a090de (diff)
Remove "to allow" from policy messages
It carries no additional information and forces a passive sentence structure which is longer and harder to parse.
Diffstat (limited to 'src')
-rw-r--r--src/login/org.freedesktop.login1.policy.in20
-rw-r--r--src/machine/org.freedesktop.machine1.policy.in2
2 files changed, 11 insertions, 11 deletions
diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in
index b8e90f1938..49094eeddb 100644
--- a/src/login/org.freedesktop.login1.policy.in
+++ b/src/login/org.freedesktop.login1.policy.in
@@ -18,7 +18,7 @@
<action id="org.freedesktop.login1.inhibit-block-shutdown">
<_description>Allow applications to inhibit system shutdown</_description>
- <_message>Authentication is required to allow an application to inhibit system shutdown.</_message>
+ <_message>Authentication is required for an application to inhibit system shutdown.</_message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>yes</allow_inactive>
@@ -29,7 +29,7 @@
<action id="org.freedesktop.login1.inhibit-delay-shutdown">
<_description>Allow applications to delay system shutdown</_description>
- <_message>Authentication is required to allow an application to delay system shutdown.</_message>
+ <_message>Authentication is required for an application to delay system shutdown.</_message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
@@ -40,7 +40,7 @@
<action id="org.freedesktop.login1.inhibit-block-sleep">
<_description>Allow applications to inhibit system sleep</_description>
- <_message>Authentication is required to allow an application to inhibit system sleep.</_message>
+ <_message>Authentication is required for an application to inhibit system sleep.</_message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>yes</allow_inactive>
@@ -51,7 +51,7 @@
<action id="org.freedesktop.login1.inhibit-delay-sleep">
<_description>Allow applications to delay system sleep</_description>
- <_message>Authentication is required to allow an application to delay system sleep.</_message>
+ <_message>Authentication is required for an application to delay system sleep.</_message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
@@ -61,7 +61,7 @@
<action id="org.freedesktop.login1.inhibit-block-idle">
<_description>Allow applications to inhibit automatic system suspend</_description>
- <_message>Authentication is required to allow an application to inhibit automatic system suspend.</_message>
+ <_message>Authentication is required for an application to inhibit automatic system suspend.</_message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
@@ -71,7 +71,7 @@
<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 to allow an application to inhibit system handling of the power key.</_message>
+ <_message>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>
@@ -82,7 +82,7 @@
<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 to allow an application to inhibit system handling of the suspend key.</_message>
+ <_message>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>
@@ -93,7 +93,7 @@
<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 to allow an application to inhibit system handling of the hibernate key.</_message>
+ <_message>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>
@@ -103,7 +103,7 @@
<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 to allow an application to inhibit system handling of the lid switch.</_message>
+ <_message>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>
@@ -113,7 +113,7 @@
<action id="org.freedesktop.login1.set-user-linger">
<_description>Allow non-logged-in users to run programs</_description>
- <_message>Authentication is required to allow a non-logged-in user to run programs.</_message>
+ <_message>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>
diff --git a/src/machine/org.freedesktop.machine1.policy.in b/src/machine/org.freedesktop.machine1.policy.in
index f2ad8e89f8..43478a84d6 100644
--- a/src/machine/org.freedesktop.machine1.policy.in
+++ b/src/machine/org.freedesktop.machine1.policy.in
@@ -18,7 +18,7 @@
<action id="org.freedesktop.machine1.login">
<_description>Log into a local container</_description>
- <_message>Authentication is required to allow logging into a local container.</_message>
+ <_message>Authentication is required to log into a local container</_message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>