summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2024-04-13 21:22:36 +0200
committerJulian Andres Klode <jak@debian.org>2024-04-13 21:22:36 +0200
commitcf71004551eca23f6d73648bc19f65e8b2a08ce9 (patch)
treef582926b4e7b36df5f2b7190a4b1b46342fe2b61 /CMake
parent979a018c2fd3fa253c7edc05f35f202f631c2d05 (diff)
Hide nice subtree character and indentation of summary from translations
Also allow us to have utf-8 characters in xgettext, but msgcomm still fails so ugh. This avoids translations messing up the formatting a bit more, at least, and makes apt build again
Diffstat (limited to 'CMake')
-rw-r--r--CMake/Translations.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/Translations.cmake b/CMake/Translations.cmake
index 24925105c..a7fe6c95b 100644
--- a/CMake/Translations.cmake
+++ b/CMake/Translations.cmake
@@ -16,6 +16,7 @@ function(apt_add_translation_domain)
set(domain ${NLS_DOMAIN})
set(xgettext_params
--add-comments
+ --from-code=utf-8
--foreign
--package-name=${PROJECT_NAME}
--package-version=${PACKAGE_VERSION}