From 0eaa491c63d0583812a795f872be71ea54e7f01d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 19 Aug 2016 16:31:55 +0200 Subject: 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. --- CMake/Translations.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMake') 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}) -- cgit v1.2.3