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

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