From 1c7dde3e475978c569a982d65fd86d4b4e3caad8 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 11 Jul 2011 17:01:28 +0100 Subject: build-sys: Add i18n support through intltool And put the PolicyKit policy files up for translation. --- src/org.freedesktop.hostname1.policy | 49 -------------------------------- src/org.freedesktop.hostname1.policy.in | 49 ++++++++++++++++++++++++++++++++ src/org.freedesktop.locale1.policy | 29 ------------------- src/org.freedesktop.locale1.policy.in | 29 +++++++++++++++++++ src/org.freedesktop.login1.policy | 49 -------------------------------- src/org.freedesktop.login1.policy.in | 49 ++++++++++++++++++++++++++++++++ src/org.freedesktop.timedate1.policy | 50 --------------------------------- src/org.freedesktop.timedate1.policy.in | 50 +++++++++++++++++++++++++++++++++ 8 files changed, 177 insertions(+), 177 deletions(-) delete mode 100644 src/org.freedesktop.hostname1.policy create mode 100644 src/org.freedesktop.hostname1.policy.in delete mode 100644 src/org.freedesktop.locale1.policy create mode 100644 src/org.freedesktop.locale1.policy.in delete mode 100644 src/org.freedesktop.login1.policy create mode 100644 src/org.freedesktop.login1.policy.in delete mode 100644 src/org.freedesktop.timedate1.policy create mode 100644 src/org.freedesktop.timedate1.policy.in (limited to 'src') diff --git a/src/org.freedesktop.hostname1.policy b/src/org.freedesktop.hostname1.policy deleted file mode 100644 index 0ad64d9ee1..0000000000 --- a/src/org.freedesktop.hostname1.policy +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Set host name - Authentication is required to set the local host name. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Set static host name - Authentication is required to set the statically configured local host name, as well as the pretty host name. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Set machine information - Authentication is required to set local machine information. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - diff --git a/src/org.freedesktop.hostname1.policy.in b/src/org.freedesktop.hostname1.policy.in new file mode 100644 index 0000000000..7d56b22c28 --- /dev/null +++ b/src/org.freedesktop.hostname1.policy.in @@ -0,0 +1,49 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + <_description>Set host name + <_message>Authentication is required to set the local host name. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + <_description>Set static host name + <_message>Authentication is required to set the statically configured local host name, as well as the pretty host name. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + <_description>Set machine information + <_message>Authentication is required to set local machine information. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + diff --git a/src/org.freedesktop.locale1.policy b/src/org.freedesktop.locale1.policy deleted file mode 100644 index 6c755fd6b7..0000000000 --- a/src/org.freedesktop.locale1.policy +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Set system locale - Authentication is required to set the system locale. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - diff --git a/src/org.freedesktop.locale1.policy.in b/src/org.freedesktop.locale1.policy.in new file mode 100644 index 0000000000..186d7d34c5 --- /dev/null +++ b/src/org.freedesktop.locale1.policy.in @@ -0,0 +1,29 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + <_description>Set system locale + <_message>Authentication is required to set the system locale. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + diff --git a/src/org.freedesktop.login1.policy b/src/org.freedesktop.login1.policy deleted file mode 100644 index 7ad8f6f316..0000000000 --- a/src/org.freedesktop.login1.policy +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Allow non-logged-in users to run programs - Authentication is required to allow a non-logged-in user to run programs - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Allow attaching devices to seats - Authentication is required to allow attaching a device to a seat - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Flush device to seat attachments - Authentication is required to allow reseting how devices are attached to seats - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - diff --git a/src/org.freedesktop.login1.policy.in b/src/org.freedesktop.login1.policy.in new file mode 100644 index 0000000000..9482c87f1f --- /dev/null +++ b/src/org.freedesktop.login1.policy.in @@ -0,0 +1,49 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + <_description>Allow non-logged-in users to run programs + <_message>Authentication is required to allow a non-logged-in user to run programs + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + <_description>Allow attaching devices to seats + <_message>Authentication is required to allow attaching a device to a seat + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + <_description>Flush device to seat attachments + <_message>Authentication is required to allow reseting how devices are attached to seats + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + diff --git a/src/org.freedesktop.timedate1.policy b/src/org.freedesktop.timedate1.policy deleted file mode 100644 index 5010efd6c5..0000000000 --- a/src/org.freedesktop.timedate1.policy +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - The systemd Project - http://www.freedesktop.org/wiki/Software/systemd - - - Set system time - Authentication is required to set the system time. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Set system timezone - Authentication is required to set the system timezone. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - - Set RTC to local timezone or UTC - Authentication is required to control whether - the RTC stores the local or UTC time. - - auth_admin_keep - auth_admin_keep - auth_admin_keep - - - - diff --git a/src/org.freedesktop.timedate1.policy.in b/src/org.freedesktop.timedate1.policy.in new file mode 100644 index 0000000000..f73e1aa7e0 --- /dev/null +++ b/src/org.freedesktop.timedate1.policy.in @@ -0,0 +1,50 @@ + + + + + + + + The systemd Project + http://www.freedesktop.org/wiki/Software/systemd + + + <_description>Set system time + <_message>Authentication is required to set the system time. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + <_description>Set system timezone + <_message>Authentication is required to set the system timezone. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + + <_description>Set RTC to local timezone or UTC + <_message>Authentication is required to control whether + the RTC stores the local or UTC time. + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + + + -- cgit v1.2.3-54-g00ecf