Manjaro Difference between revisions of "Translations:KDE/37/en"

Difference between revisions of "Translations:KDE/37/en"

From Manjaro
(Importing a new version from external source)
Tags: Mobile web edit Mobile edit
 
(No difference)

Latest revision as of 08:05, 12 November 2024

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (KDE)
{{File|file=/etc/polkit-1/rules.d/99-disable-hibernate.rules|content=
<pre>
// Disable hibernate for all users
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.login1.hibernate")) {
     return polkit.Result.NO;
   }
});
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.login1.hibernate-multiple-sessions")) {
     return polkit.Result.NO;
   }
});
</pre>
}}
/etc/polkit-1/rules.d/99-disable-hibernate.rules
// Disable hibernate for all users
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.login1.hibernate")) {
      return polkit.Result.NO;
   }
});
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.login1.hibernate-multiple-sessions")) {
      return polkit.Result.NO;
   }
});
Cookies help us deliver our services. By using our services, you agree to our use of cookies.