Просмотр исходного кода

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.
Julian Andres Klode лет назад: 10
Родитель
Сommit
0eaa491c63
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      CMake/Translations.cmake

+ 1 - 1
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})