We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57ec434 commit 1299e51Copy full SHA for 1299e51
merge_pot_file.py
@@ -23,7 +23,7 @@ def process_locale_directory(locale_dir: str, pot_file: str) -> None:
23
try:
24
# Run msgfmt command
25
exe = "C:\\Program Files\\gettext-iconv\\bin\\msgmerge.exe" if platform_system() == "Windows" else "msgmerge"
26
- cmd = [exe, "--update", "--no-fuzzy-matching", po_file, pot_file]
+ cmd = [exe, "--update", "--no-fuzzy-matching", "--backup=none", po_file, pot_file]
27
# pylint: disable=duplicate-code
28
subprocess.run(cmd, check=True, capture_output=True, text=True) # noqa: S603
29
msg = f"Successfully processed {locale_dir}"
0 commit comments