summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-07-11 17:01:28 +0100
committerLennart Poettering <lennart@poettering.net>2011-07-11 21:10:33 +0200
commit1c7dde3e475978c569a982d65fd86d4b4e3caad8 (patch)
tree7f7fe24a323c73d2575d1ae9f853977f6d70ad5b /src
parent2376ce132bdba049f015b22b2db3a77c570aa154 (diff)
build-sys: Add i18n support through intltool
And put the PolicyKit policy files up for translation.
Diffstat (limited to 'src')
-rw-r--r--src/org.freedesktop.hostname1.policy.in (renamed from src/org.freedesktop.hostname1.policy)12
-rw-r--r--src/org.freedesktop.locale1.policy.in (renamed from src/org.freedesktop.locale1.policy)4
-rw-r--r--src/org.freedesktop.login1.policy.in (renamed from src/org.freedesktop.login1.policy)12
-rw-r--r--src/org.freedesktop.timedate1.policy.in (renamed from src/org.freedesktop.timedate1.policy)14
4 files changed, 21 insertions, 21 deletions
diff --git a/src/org.freedesktop.hostname1.policy b/src/org.freedesktop.hostname1.policy.in
index 0ad64d9ee1..7d56b22c28 100644
--- a/src/org.freedesktop.hostname1.policy
+++ b/src/org.freedesktop.hostname1.policy.in
@@ -17,8 +17,8 @@
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
<action id="org.freedesktop.hostname1.set-hostname">
- <description>Set host name</description>
- <message>Authentication is required to set the local host name.</message>
+ <_description>Set host name</_description>
+ <_message>Authentication is required to set the local host name.</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -27,8 +27,8 @@
</action>
<action id="org.freedesktop.hostname1.set-static-hostname">
- <description>Set static host name</description>
- <message>Authentication is required to set the statically configured local host name, as well as the pretty host name.</message>
+ <_description>Set static host name</_description>
+ <_message>Authentication is required to set the statically configured local host name, as well as the pretty host name.</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -37,8 +37,8 @@
</action>
<action id="org.freedesktop.hostname1.set-machine-info">
- <description>Set machine information</description>
- <message>Authentication is required to set local machine information.</message>
+ <_description>Set machine information</_description>
+ <_message>Authentication is required to set local machine information.</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
diff --git a/src/org.freedesktop.locale1.policy b/src/org.freedesktop.locale1.policy.in
index 6c755fd6b7..186d7d34c5 100644
--- a/src/org.freedesktop.locale1.policy
+++ b/src/org.freedesktop.locale1.policy.in
@@ -17,8 +17,8 @@
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
<action id="org.freedesktop.locale1.set-locale">
- <description>Set system locale</description>
- <message>Authentication is required to set the system locale.</message>
+ <_description>Set system locale</_description>
+ <_message>Authentication is required to set the system locale.</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
diff --git a/src/org.freedesktop.login1.policy b/src/org.freedesktop.login1.policy.in
index 7ad8f6f316..9482c87f1f 100644
--- a/src/org.freedesktop.login1.policy
+++ b/src/org.freedesktop.login1.policy.in
@@ -17,8 +17,8 @@
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
<action id="org.freedesktop.login1.set-user-linger">
- <description>Allow non-logged-in users to run programs</description>
- <message>Authentication is required to allow a non-logged-in user to run programs</message>
+ <_description>Allow non-logged-in users to run programs</_description>
+ <_message>Authentication is required to allow a non-logged-in user to run programs</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -27,8 +27,8 @@
</action>
<action id="org.freedesktop.login1.attach-device">
- <description>Allow attaching devices to seats</description>
- <message>Authentication is required to allow attaching a device to a seat</message>
+ <_description>Allow attaching devices to seats</_description>
+ <_message>Authentication is required to allow attaching a device to a seat</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -37,8 +37,8 @@
</action>
<action id="org.freedesktop.login1.flush-devices">
- <description>Flush device to seat attachments</description>
- <message>Authentication is required to allow reseting how devices are attached to seats</message>
+ <_description>Flush device to seat attachments</_description>
+ <_message>Authentication is required to allow reseting how devices are attached to seats</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
diff --git a/src/org.freedesktop.timedate1.policy b/src/org.freedesktop.timedate1.policy.in
index 5010efd6c5..f73e1aa7e0 100644
--- a/src/org.freedesktop.timedate1.policy
+++ b/src/org.freedesktop.timedate1.policy.in
@@ -17,8 +17,8 @@
<vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
<action id="org.freedesktop.timedate1.set-time">
- <description>Set system time</description>
- <message>Authentication is required to set the system time.</message>
+ <_description>Set system time</_description>
+ <_message>Authentication is required to set the system time.</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -27,8 +27,8 @@
</action>
<action id="org.freedesktop.timedate1.set-timezone">
- <description>Set system timezone</description>
- <message>Authentication is required to set the system timezone.</message>
+ <_description>Set system timezone</_description>
+ <_message>Authentication is required to set the system timezone.</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
@@ -37,9 +37,9 @@
</action>
<action id="org.freedesktop.timedate1.set-local-rtc">
- <description>Set RTC to local timezone or UTC</description>
- <message>Authentication is required to control whether
- the RTC stores the local or UTC time.</message>
+ <_description>Set RTC to local timezone or UTC</_description>
+ <_message>Authentication is required to control whether
+ the RTC stores the local or UTC time.</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>