summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-02-26 11:32:32 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-02-26 11:32:32 +0100
commit09460a234bed3c21d08889f45ab2eb21f9357638 (patch)
tree92063c3588f6f0c97ae4005764bec2767c90149b /src/login
parent15f73764c4fbde13ecba13ecccc9948ac3a0ebaa (diff)
downloadsystemd-09460a234bed3c21d08889f45ab2eb21f9357638.tar.gz
tree-wide: replace "asked to inhibit it" with "is inhibiting this"
The problem with the original form is that the subject of the sentence with passive void is "the system", and we're not inhibiting the system. In English the sense can be made out, but the form is gramatically incorrect. In fact, the Polish translation got this wrong: > msgid "Power off the system while an application is inhibiting this" > msgstr "Wyłączenie systemu, kiedy program zażądał jego wstrzymania" "jego" can only refer to "the system", because of gender mismatch with "power off". If our translators cannot grok the message, then we should probably reword it. Also, drop the "asked to" part. Everything we do is over IPC, so we only ever "ask" for things, and this adds no value.
Diffstat (limited to 'src/login')
-rw-r--r--src/login/org.freedesktop.login1.policy20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/login/org.freedesktop.login1.policy b/src/login/org.freedesktop.login1.policy
index 3c18ec68d9..b726634cbf 100644
--- a/src/login/org.freedesktop.login1.policy
+++ b/src/login/org.freedesktop.login1.policy
@@ -177,8 +177,8 @@
</action>
<action id="org.freedesktop.login1.power-off-ignore-inhibit">
- <description gettext-domain="systemd">Power off the system while an application asked to inhibit it</description>
- <message gettext-domain="systemd">Authentication is required to power off the system while an application asked to inhibit it.</message>
+ <description gettext-domain="systemd">Power off the system while an application is inhibiting this</description>
+ <message gettext-domain="systemd">Authentication is required to power off the system while an application is inhibiting this.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -210,8 +210,8 @@
</action>
<action id="org.freedesktop.login1.reboot-ignore-inhibit">
- <description gettext-domain="systemd">Reboot the system while an application asked to inhibit it</description>
- <message gettext-domain="systemd">Authentication is required to reboot the system while an application asked to inhibit it.</message>
+ <description gettext-domain="systemd">Reboot the system while an application is inhibiting this</description>
+ <message gettext-domain="systemd">Authentication is required to reboot the system while an application is inhibiting this.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -243,8 +243,8 @@
</action>
<action id="org.freedesktop.login1.halt-ignore-inhibit">
- <description gettext-domain="systemd">Halt the system while an application asked to inhibit it</description>
- <message gettext-domain="systemd">Authentication is required to halt the system while an application asked to inhibit it.</message>
+ <description gettext-domain="systemd">Halt the system while an application is inhibiting this</description>
+ <message gettext-domain="systemd">Authentication is required to halt the system while an application is inhibiting this.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -275,8 +275,8 @@
</action>
<action id="org.freedesktop.login1.suspend-ignore-inhibit">
- <description gettext-domain="systemd">Suspend the system while an application asked to inhibit it</description>
- <message gettext-domain="systemd">Authentication is required to suspend the system while an application asked to inhibit it.</message>
+ <description gettext-domain="systemd">Suspend the system while an application is inhibiting this</description>
+ <message gettext-domain="systemd">Authentication is required to suspend the system while an application is inhibiting this.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -307,8 +307,8 @@
</action>
<action id="org.freedesktop.login1.hibernate-ignore-inhibit">
- <description gettext-domain="systemd">Hibernate the system while an application asked to inhibit it</description>
- <message gettext-domain="systemd">Authentication is required to hibernate the system while an application asked to inhibit it.</message>
+ <description gettext-domain="systemd">Hibernate the system while an application is inhibiting this</description>
+ <message gettext-domain="systemd">Authentication is required to hibernate the system while an application is inhibiting this.</message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>