diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-11 14:47:19 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-13 09:01:47 +0200 |
commit | 6309311bbd3cbfb9f4061356b36333ad5d9ff807 (patch) | |
tree | 8eeccc47f35b65bf2d98b43521c1dab7c821092d /data | |
parent | 7309b1d27fd7ea43dbd99a105bdb5777fd88a67b (diff) | |
download | ayatana-indicator-notifications-6309311bbd3cbfb9f4061356b36333ad5d9ff807.tar.gz ayatana-indicator-notifications-6309311bbd3cbfb9f4061356b36333ad5d9ff807.tar.bz2 ayatana-indicator-notifications-6309311bbd3cbfb9f4061356b36333ad5d9ff807.zip |
data/: Fix translation of .gschema.xml file.
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 7 | ||||
-rw-r--r-- | data/org.ayatana.indicator.notifications.gschema.xml (renamed from data/org.ayatana.indicator.notifications.gschema.xml.in) | 12 |
2 files changed, 6 insertions, 13 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index aa5dddd..c81ac7b 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -3,13 +3,6 @@ ## set (SCHEMA_NAME "org.ayatana.indicator.notifications.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.notifications.gschema.xml.in b/data/org.ayatana.indicator.notifications.gschema.xml index b85f14b..c0e4901 100644 --- a/data/org.ayatana.indicator.notifications.gschema.xml.in +++ b/data/org.ayatana.indicator.notifications.gschema.xml @@ -1,9 +1,9 @@ -<schemalist gettext-domain="@GETTEXT_PACKAGE@"> - <schema id="org.ayatana.indicator.notifications" path="/org/ayatana/indicator/notifications/"> +<schemalist> + <schema gettext-domain="ayatana-indicator-notifications" id="org.ayatana.indicator.notifications" path="/org/ayatana/indicator/notifications/"> <key name="filter-list" type="as"> <default>[]</default> - <_summary>Discard notifications by application name</_summary> - <_description>If an application name is in the filter list, all notifications matching the application name will be discarded.</_description> + <summary>Discard notifications by application name</summary> + <description>If an application name is in the filter list, all notifications matching the application name will be discarded.</description> </key> <key name="filter-list-hints" type="as"> <default>[]</default> @@ -18,8 +18,8 @@ <key name="max-items" type="i"> <range min="1" max="10"/> <default>5</default> - <_summary>Maximum number of visible items</_summary> - <_description>The indicator will only display at most the number of notifications indicated by this value.</_description> + <summary>Maximum number of visible items</summary> + <description>The indicator will only display at most the number of notifications indicated by this value.</description> </key> </schema> </schemalist> |