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

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

From Manjaro
(Created page with "{{File|file=/etc/polkit-1/rules.d/99-disable-hibernate.rules|content= <pre> // Отключение гибернации для всех пользователей polkit.addR...")
 
(No difference)

Latest revision as of 09:50, 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
// Отключение гибернации для всех пользователей
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.