Commit Graph

16 Commits

Author SHA1 Message Date
Piotr Drąg 258adeca3c po: add src/home/org.freedesktop.home1.policy to POTFILES.in 2020-01-30 23:53:14 +09:00
Yu Watanabe 3829273b35 po: include network1.policy in the list for generating .pot file 2019-07-28 22:23:13 +09:00
Piotr Drąg 0ce37aa51d Update POTFILES.in 2018-05-27 11:37:52 +02:00
Michael Biebl d4d4688122 l10n: Update POTFILES.in and POTFILES.skip
We no longer use .in suffixes for .policy files.

Follow-up for commit 9b3cff199d and
70886abbde.
2018-02-18 17:50:51 +01:00
AsciiWolf 372771c8d3 l10n: update POTFILES.in (#8163) 2018-02-13 12:05:22 +09:00
Michael Chapman 88ced61bf9 core: pass details to polkit for some unit actions
The following details are passed:

- unit: the primary name of the unit upon which the action was
        invoked (i.e. after resolving any aliases);
- verb: one of 'start', 'stop', 'reload', 'restart', 'try-restart',
        'reload-or-restart', 'reload-or-try-restart', 'kill',
        'reset-failed', or 'set-property', corresponding to the
        systemctl verb used to invoke the action.

Typical use of these details in a polkit policy rule might be:

  // Allow alice to manage example.service;
  // fall back to implicit authorization otherwise.
  polkit.addRule(function(action, subject) {
      if (action.id == "org.freedesktop.systemd1.manage-units" &&
          action.lookup("unit") == "example.service" &&
          subject.user == "alice") {
          return polkit.Result.YES;
      }
  });

We also supply a custom polkit message that includes the unit's name and
the requested operation.
2015-09-06 00:07:17 +10:00
Kay Sievers 32fea77178 build-sys: remove left-over 2015-05-05 22:06:04 +02:00
Didier Roche b0d9246486 Translate fsckd messages for plymouth
For plymouth themes not supporting i18n (like .script), send translated
messages to display to user, which is equivalent to the sent machine
readable data.
2015-02-18 16:33:46 +01:00
Piotr Drąg 838d5f0298 import: add org.freedesktop.import1.policy.in to POTFILES.in
https://bugs.freedesktop.org/show_bug.cgi?id=88705
2015-01-22 09:02:33 -05:00
Filipe Brandenburger 3fd1957f0d machined: add org.freedesktop.machine1.policy.in to POTFILES.in
The new polkit file was introduced in commit d04c1fb8e2 ("machined:
introduce polkit for OpenLogin() call").
2014-12-25 10:55:41 -05:00
Kay Sievers 216e2aded6 build-sys: fix "make distcheck" 2012-07-15 15:48:26 +02:00
Lennart Poettering 95ea1b90cc test: hook up more tests with make check 2012-07-13 13:50:39 +02:00
Kay Sievers 681cfc6c40 hostnamed, localed: move config files to subdir 2011-12-31 07:23:57 +01:00
Kay Sievers 4668191d02 timedated: move sources to subdirectory 2011-12-31 06:40:48 +01:00
Kay Sievers d85eed7301 logind: fix POTFILES location 2011-12-31 04:36:02 +01:00
Bastien Nocera 1c7dde3e47 build-sys: Add i18n support through intltool
And put the PolicyKit policy files up for translation.
2011-07-11 21:10:33 +02:00