diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-21 21:31:30 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-21 21:31:30 +0200 |
commit | ac3fe3a67d9f653028ce79035686ea5052e931f4 (patch) | |
tree | cc0c0d9ce5476cb24de11a61945c14c1f99036e5 /data | |
parent | 29440cf9b6fdaa8184c2d0c82d61b2c86594d1d1 (diff) | |
parent | d340c4cf6b1d2ba2d73bc391a1b0f3793407f9e1 (diff) | |
download | ayatana-indicator-datetime-ac3fe3a67d9f653028ce79035686ea5052e931f4.tar.gz ayatana-indicator-datetime-ac3fe3a67d9f653028ce79035686ea5052e931f4.tar.bz2 ayatana-indicator-datetime-ac3fe3a67d9f653028ce79035686ea5052e931f4.zip |
Merge branch 'tari01-pr/use-intltool-merge-translations'
Attributes GH PR #58: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/58
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index c76da5f..24ac4c2 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -9,8 +9,9 @@ set (SCHEMA_FILE "${CMAKE_CURRENT_BINARY_DIR}/${SCHEMA_NAME}") # generate the .xml.in file so cmake constants are included configure_file(${SCHEMA_FILE_IN_IN} ${SCHEMA_FILE_IN}) # generate the .xml file using intltool +find_package(Intltool REQUIRED) set (ENV{LC_ALL} "C") -execute_process (COMMAND intltool-merge -quiet --xml-style --utf8 --no-translations "${SCHEMA_FILE_IN}" "${SCHEMA_FILE}") +intltool_merge_translations("${SCHEMA_FILE_IN}" "${SCHEMA_FILE}" ALL UTF8 STYLE "xml" NO_TRANSLATIONS) # let GSettings do the rest find_package(GSettings REQUIRED) |