aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-09-12 01:11:20 +0200
committerRobert Tari <robert@tari.in>2022-09-12 01:11:20 +0200
commitf991bca9d191829f0ec4d5c7eb90e5b7fddde511 (patch)
treed17a8241598bed5658b1771fb29b852bbd7e2ab9 /data
parentb86a71f7fd7286bdbeaf38fcae75c56156bee95e (diff)
parentb75bd36ff55a467f4942fe793e80b0defd80209c (diff)
downloadlibayatana-common-f991bca9d191829f0ec4d5c7eb90e5b7fddde511.tar.gz
libayatana-common-f991bca9d191829f0ec4d5c7eb90e5b7fddde511.tar.bz2
libayatana-common-f991bca9d191829f0ec4d5c7eb90e5b7fddde511.zip
Merge branch 'sunweaver-pr/simplify-gschema-xml-translation'
Attributes GH PR #61: https://github.com/AyatanaIndicators/libayatana-common/pull/61
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt3
-rw-r--r--data/org.ayatana.common.gschema.xml (renamed from data/org.ayatana.common.gschema.xml.in)4
2 files changed, 2 insertions, 5 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index b014341..d91bfd2 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -1,8 +1,5 @@
# org.ayatana.common.gschema.xml
-find_package(Intltool REQUIRED)
-set(ENV{LC_ALL} "C")
-intltool_merge_translations("${CMAKE_CURRENT_SOURCE_DIR}/org.ayatana.common.gschema.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/org.ayatana.common.gschema.xml" ALL UTF8 STYLE "xml" NO_TRANSLATIONS)
find_package(GSettings REQUIRED)
add_schema("org.ayatana.common.gschema.xml")
diff --git a/data/org.ayatana.common.gschema.xml.in b/data/org.ayatana.common.gschema.xml
index d8da3cd..bf75ffa 100644
--- a/data/org.ayatana.common.gschema.xml.in
+++ b/data/org.ayatana.common.gschema.xml
@@ -3,8 +3,8 @@
<key name="max-menu-text-length" type="u">
<range min="0" max="100"/>
<default>50</default>
- <_summary>Maximum menu text length</_summary>
- <_description>The number of characters to show in dynamic menu items before the text is ellipsized. Set to 0 to leave unchanged.</_description>
+ <summary>Maximum menu text length</summary>
+ <description>The number of characters to show in dynamic menu items before the text is ellipsized. Set to 0 to leave unchanged.</description>
</key>
</schema>
</schemalist>