All translations

Enter a message name below to show all available translations.

Message

Found 2 translations.

NameCurrent message text
 h English (en){{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>
}}
 h Russian (ru){{File|file=/etc/polkit-1/rules.d/99-disable-suspend.rules|content=
<pre>
// Отключение приостановки для всех пользователей
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>
}}