]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
timedatectl: do not wrap polkit policy message 9016/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 17 May 2018 14:56:40 +0000 (23:56 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 17 May 2018 15:03:15 +0000 (00:03 +0900)
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.

src/timedate/org.freedesktop.timedate1.policy

index d488572ae3b527d5d59c73d8fe3d60d933dbddcf..b6303ba1dd20739268a0c166fb2754e9f47c5e01 100644 (file)
@@ -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>