Explorar el Código

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 hace 10 años
padre
commit
0eaa491c63
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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})