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

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

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

Latest revision as of 09:51, 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-suspend.rules|content=
<pre>
// Disable suspend for all users
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.login1.suspend")) {
     return polkit.Result.NO;
   }
});
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.login1.suspend-multiple-sessions")) {
     return polkit.Result.NO;
   }
});
</pre>
}}
/etc/polkit-1/rules.d/99-disable-suspend.rules
// Отключение приостановки для всех пользователей
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.login1.suspend")) {
      return polkit.Result.NO;
   }
});
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.login1.suspend-multiple-sessions")) {
      return polkit.Result.NO;
   }
});
Cookies help us deliver our services. By using our services, you agree to our use of cookies.