All translations
Views
Actions
Namespaces
Variants
Tools
Enter a message name below to show all available translations.
Found 2 translations.
Name | Current 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> }} |