Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Aug 9, 2023
1 parent f392965 commit 635e881
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/builder/convertfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ def _convert_apple_file(self, src_file, tgt_file, id):
output_file = os.path.join(self.convert_dir, f"ca-apple-{id}.po")
cmd = f"prop2po -t {src_file} -i {tgt_file} -o {output_file} --personality strings --duplicates merge --encoding utf-8"
os.system(cmd)
logging.info(f"Convert apple file cmd: {cmd}")

def _convert_apple_resources_files_to_po(self):
filenames = self.findFiles.find_recursive(
Expand All @@ -300,7 +299,6 @@ def _convert_apple_resources_files_to_po(self):
# Remove subdir where file was found a/b/c/strings.xml becomes en.lproj/Localizable.strings
dir = os.path.dirname(dir)
if len(dir) > 0 and dir not in subdirs:

subdirs.add(dir)
src = os.path.join(dir, "en.lproj/Localizable.strings")
tgt = os.path.join(dir, "ca.lproj/Localizable.strings")
Expand Down

0 comments on commit 635e881

Please sign in to comment.