Skip to content

Commit

Permalink
Also check on Uranium.pot
Browse files Browse the repository at this point in the history
Contribute to CURA-10376
  • Loading branch information
jellespijker committed Apr 5, 2023
1 parent 1763b9b commit 01d22d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fix_translation_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def main(tmx_source_path: Path, tmx_target_path: Path, i18n_path: Path):
to_be_removed = []
for tu in root.iter("tu"):
# TODO: also add logic for other pot files
if [t.text for t in tu.findall("prop") if t.attrib["type"] == "x-smartling-file"][0] not in ("cura.pot", "fdmprinter.def.json.pot", "fdmextruder.def.json.pot"):
if [t.text for t in tu.findall("prop") if t.attrib["type"] == "x-smartling-file"][0] not in ("cura.pot", "fdmprinter.def.json.pot", "fdmextruder.def.json.pot", "uranium.pot"):
continue
tuvs = tu.findall("tuv")
key_source = tuvs[0].find("seg").text
Expand Down

0 comments on commit 01d22d1

Please sign in to comment.