diff options
author | Julian Andres Klode <jak@debian.org> | 2016-08-19 16:31:55 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-08-19 16:31:55 +0200 |
commit | 0eaa491c63d0583812a795f872be71ea54e7f01d (patch) | |
tree | 93d1725093516a71ff3e323af4a35701f43ea70e /CMake/Translations.cmake | |
parent | ade5888b4107f3181abd2a7dd15d8b2b4a997f82 (diff) | |
download | apt-0eaa491c63d0583812a795f872be71ea54e7f01d.tar.gz |
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/Translations.cmake')
-rw-r--r-- | CMake/Translations.cmake | 2 |
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}) |