timedatectl: do not wrap polkit policy message
If messages are wrapped, then only the last line is shown in the dialog, at least polkit gui for Xfce. It may be a bug of polkit or Xfce. But it is not necessary to wrap the message in the policy file. So, let's fix them.
This commit is contained in:
@@ -41,8 +41,7 @@
|
||||
|
||||
<action id="org.freedesktop.timedate1.set-local-rtc">
|
||||
<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>
|
||||
<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>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
@@ -52,8 +51,7 @@
|
||||
|
||||
<action id="org.freedesktop.timedate1.set-ntp">
|
||||
<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>
|
||||
<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>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
|
||||
Reference in New Issue
Block a user