From 2e219e5672689dad60e110f0b3366765506c4c58 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 1 Jan 2015 09:44:43 -0500 Subject: Remove "to allow" from policy messages It carries no additional information and forces a passive sentence structure which is longer and harder to parse. --- src/login/org.freedesktop.login1.policy.in | 20 ++++++++++---------- src/machine/org.freedesktop.machine1.policy.in | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src') 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 @@ <_description>Allow applications to inhibit system shutdown - <_message>Authentication is required to allow an application to inhibit system shutdown. + <_message>Authentication is required for an application to inhibit system shutdown. no yes @@ -29,7 +29,7 @@ <_description>Allow applications to delay system shutdown - <_message>Authentication is required to allow an application to delay system shutdown. + <_message>Authentication is required for an application to delay system shutdown. yes yes @@ -40,7 +40,7 @@ <_description>Allow applications to inhibit system sleep - <_message>Authentication is required to allow an application to inhibit system sleep. + <_message>Authentication is required for an application to inhibit system sleep. no yes @@ -51,7 +51,7 @@ <_description>Allow applications to delay system sleep - <_message>Authentication is required to allow an application to delay system sleep. + <_message>Authentication is required for an application to delay system sleep. yes yes @@ -61,7 +61,7 @@ <_description>Allow applications to inhibit automatic system suspend - <_message>Authentication is required to allow an application to inhibit automatic system suspend. + <_message>Authentication is required for an application to inhibit automatic system suspend. yes yes @@ -71,7 +71,7 @@ <_description>Allow applications to inhibit system handling of the power key - <_message>Authentication is required to allow an application to inhibit system handling of the power key. + <_message>Authentication is required for an application to inhibit system handling of the power key. no yes @@ -82,7 +82,7 @@ <_description>Allow applications to inhibit system handling of the suspend key - <_message>Authentication is required to allow an application to inhibit system handling of the suspend key. + <_message>Authentication is required for an application to inhibit system handling of the suspend key. no yes @@ -93,7 +93,7 @@ <_description>Allow applications to inhibit system handling of the hibernate key - <_message>Authentication is required to allow an application to inhibit system handling of the hibernate key. + <_message>Authentication is required for an application to inhibit system handling of the hibernate key. no yes @@ -103,7 +103,7 @@ <_description>Allow applications to inhibit system handling of the lid switch - <_message>Authentication is required to allow an application to inhibit system handling of the lid switch. + <_message>Authentication is required for an application to inhibit system handling of the lid switch. no yes @@ -113,7 +113,7 @@ <_description>Allow non-logged-in users to run programs - <_message>Authentication is required to allow a non-logged-in user to run programs. + <_message>Authentication is required to run programs as a non-logged-in user. auth_admin_keep auth_admin_keep 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 @@ <_description>Log into a local container - <_message>Authentication is required to allow logging into a local container. + <_message>Authentication is required to log into a local container auth_admin auth_admin -- cgit v1.2.3-54-g00ecf