aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-11 14:21:06 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-13 09:21:11 +0200
commitfb1aebac81ca3d947f186a0efa0cc7ded608fe9e (patch)
tree533f172683f623d06ec70b3412e810919354eba0 /data
parentdd82acd758b0486a8800c8b6c6f05b586505cfb5 (diff)
downloadayatana-indicator-session-fb1aebac81ca3d947f186a0efa0cc7ded608fe9e.tar.gz
ayatana-indicator-session-fb1aebac81ca3d947f186a0efa0cc7ded608fe9e.tar.bz2
ayatana-indicator-session-fb1aebac81ca3d947f186a0efa0cc7ded608fe9e.zip
data/: Fix translating the indicator's .gschema.xml file.
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt7
-rw-r--r--data/org.ayatana.indicator.session.gschema.xml (renamed from data/org.ayatana.indicator.session.gschema.xml.in)20
2 files changed, 10 insertions, 17 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 9d7fd2e..b7f4f66 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -3,13 +3,6 @@
##
set (SCHEMA_NAME "org.ayatana.indicator.session.gschema.xml")
-set (SCHEMA_FILE "${CMAKE_CURRENT_BINARY_DIR}/${SCHEMA_NAME}")
-set (SCHEMA_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME}.in")
-
-# generate the .xml file using intltool
-find_package(Intltool REQUIRED)
-set (ENV{LC_ALL} "C")
-intltool_merge_translations("${SCHEMA_FILE_IN}" "${SCHEMA_FILE}" ALL UTF8 STYLE "xml" NO_TRANSLATIONS)
# let GSettings do the rest
find_package(GSettings REQUIRED)
diff --git a/data/org.ayatana.indicator.session.gschema.xml.in b/data/org.ayatana.indicator.session.gschema.xml
index c46a738..2de9a44 100644
--- a/data/org.ayatana.indicator.session.gschema.xml.in
+++ b/data/org.ayatana.indicator.session.gschema.xml
@@ -2,28 +2,28 @@
<schema id="org.ayatana.indicator.session" path="/org/ayatana/indicator/session/">
<key name="suppress-logout-restart-shutdown" type="b">
<default>false</default>
- <_summary>Suppress the dialog to confirm logout, restart and shutdown action</_summary>
- <_description>Whether or not to show confirmation dialogs for logout, restart and shutdown actions.</_description>
+ <summary>Suppress the dialog to confirm logout, restart and shutdown action</summary>
+ <description>Whether or not to show confirmation dialogs for logout, restart and shutdown actions.</description>
</key>
<key name="suppress-logout-menuitem" type="b">
<default>false</default>
- <_summary>Remove the Log Out item from the session menu</_summary>
- <_description>Makes it so that the logout button doesn’t show in the session menu.</_description>
+ <summary>Remove the Log Out item from the session menu</summary>
+ <description>Makes it so that the logout button doesn’t show in the session menu.</description>
</key>
<key name="suppress-restart-menuitem" type="b">
<default>false</default>
- <_summary>Remove the Restart item from the session menu.</_summary>
- <_description>Makes it so that the restart button doesn’t show in the session menu.</_description>
+ <summary>Remove the Restart item from the session menu.</summary>
+ <description>Makes it so that the restart button doesn’t show in the session menu.</description>
</key>
<key name="suppress-shutdown-menuitem" type="b">
<default>false</default>
- <_summary>Remove the shutdown item from the session menu.</_summary>
- <_description>Makes it so that the shutdown button doesn’t show in the session menu.</_description>
+ <summary>Remove the shutdown item from the session menu.</summary>
+ <description>Makes it so that the shutdown button doesn’t show in the session menu.</description>
</key>
<key name="force-restart-menuitem" type="b">
<default>false</default>
- <_summary>Force the visibility of Restart item in the session menu</_summary>
- <_description>Makes it so that the restart shows in the session menu even in the environments where it should not show.</_description>
+ <summary>Force the visibility of Restart item in the session menu</summary>
+ <description>Makes it so that the restart shows in the session menu even in the environments where it should not show.</description>
</key>
<key type="b" name="show-real-name-on-panel">
<default>false</default>