diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-11 15:03:06 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-11 15:03:06 +0200 |
commit | 2a5d64716b82e026a5020c39014bf85d687034ea (patch) | |
tree | 0a54e79cf1edb85dff20077e1a0df1730985e382 /data | |
parent | ae716f52fb93497522b575ebe02a058d3b0b24e1 (diff) | |
download | libayatana-common-2a5d64716b82e026a5020c39014bf85d687034ea.tar.gz libayatana-common-2a5d64716b82e026a5020c39014bf85d687034ea.tar.bz2 libayatana-common-2a5d64716b82e026a5020c39014bf85d687034ea.zip |
Simplify .gschema.xml translation.
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 3 | ||||
-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> |