From: Julian Andres Klode Date: Fri, 19 Aug 2016 14:31:55 +0000 (+0200) Subject: CMake: Translations: Pass --previous to msgmerge X-Git-Tag: 1.3_rc3~37 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/0eaa491c63d0583812a795f872be71ea54e7f01d 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. --- 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})