summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-19 16:31:55 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-19 16:31:55 +0200
commit0eaa491c63d0583812a795f872be71ea54e7f01d (patch)
tree93d1725093516a71ff3e323af4a35701f43ea70e /CMake
parentade5888b4107f3181abd2a7dd15d8b2b4a997f82 (diff)
CMake: Translations: Pass --previous to msgmerge
When updating our .po files, pass --previous to msgmerge to make it easier for translators to translate fuzzy strings. Thanks: Guillem Jover for the suggestion.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/Translations.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/Translations.cmake b/CMake/Translations.cmake
index d7e992b3e..c2d3901fd 100644
--- a/CMake/Translations.cmake
+++ b/CMake/Translations.cmake
@@ -149,7 +149,7 @@ function(apt_add_update_po)
continue()
endif()
add_custom_target(update-po-${langcode}
- COMMAND msgmerge -q --update --backup=none ${translation} ${output}
+ COMMAND msgmerge -q --previous --update --backup=none ${translation} ${output}
DEPENDS nls-${master_name}
)
add_dependencies(update-po update-po-${langcode})