From 2a5d64716b82e026a5020c39014bf85d687034ea Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 11 Sep 2022 15:03:06 +0200 Subject: Simplify .gschema.xml translation. --- data/CMakeLists.txt | 3 --- data/org.ayatana.common.gschema.xml | 10 ++++++++++ data/org.ayatana.common.gschema.xml.in | 10 ---------- 3 files changed, 10 insertions(+), 13 deletions(-) create mode 100644 data/org.ayatana.common.gschema.xml delete mode 100644 data/org.ayatana.common.gschema.xml.in (limited to 'data') 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 b/data/org.ayatana.common.gschema.xml new file mode 100644 index 0000000..bf75ffa --- /dev/null +++ b/data/org.ayatana.common.gschema.xml @@ -0,0 +1,10 @@ + + + + + 50 + Maximum menu text length + The number of characters to show in dynamic menu items before the text is ellipsized. Set to 0 to leave unchanged. + + + diff --git a/data/org.ayatana.common.gschema.xml.in b/data/org.ayatana.common.gschema.xml.in deleted file mode 100644 index d8da3cd..0000000 --- a/data/org.ayatana.common.gschema.xml.in +++ /dev/null @@ -1,10 +0,0 @@ - - - - - 50 - <_summary>Maximum menu text length - <_description>The number of characters to show in dynamic menu items before the text is ellipsized. Set to 0 to leave unchanged. - - - -- cgit v1.2.3