Skip to content

Improve command-line argument in msgmerge call

Karl Ove Hufthammer requested to merge improve-msgmerge-call into main

Explanation (expanded version of commit message):

  • Use long-form arguments, so that it’s actually possible to understand what the command is doing … 😃
  • Remove the --no-fuzzy-matching argument. Having this makes translation a pain! Even a single-letter change in the original English string would mean that the translation is completely deleted, instead of just marked as fuzzy. The translator would no longer have access to the original translation, and would have to retranslate the string from scratch, instead of just editing it to take into account the changes in the English string.
  • Add --previous. This embeds the original English string whenever a string is changed. Modern PO editors will then show a nice coloured word diff view of the two versions of the English string, so that the translator can easily see what has been changed.
  • Don’t create backup files and then delete them. Instead, don’t create them in the first place.

Merge request reports