mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Also check on Uranium.pot
Contribute to CURA-10376
This commit is contained in:
parent
1763b9bf9d
commit
01d22d1ad4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue