Skip to content

Commit

Permalink
Add comment to fix_ts
Browse files Browse the repository at this point in the history
  • Loading branch information
korcankaraokcu committed Aug 14, 2023
1 parent 0b25bf0 commit 8607c0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fix_ts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
tree = ET.parse(file, parser=ET.XMLParser(encoding="utf-8"))
root = tree.getroot()

# pylupdate6 doesn't set locale on creation, make sure it's there
locale = os.path.splitext(os.path.basename(file))[0]
root.set('language', locale)

Expand Down

0 comments on commit 8607c0b

Please sign in to comment.