Skip to content

Commit 856af62

Browse files
authored
Merge pull request #28 from sepehr-rs/translation
Translate parts of inputoutput.po
2 parents e07e8d7 + 99cea1a commit 856af62

2 files changed

Lines changed: 169 additions & 13 deletions

File tree

scripts/translation_status.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ def collect_files(paths):
3232
for arg in paths:
3333
p = Path(arg)
3434
if p.is_dir():
35-
files.extend(sorted(p.rglob("*.po")))
35+
for f in p.rglob("*.po"):
36+
if any(part.startswith(".") for part in f.parts):
37+
continue
38+
files.append(f)
3639
elif p.suffix == ".po":
3740
files.append(p)
3841
return files

0 commit comments

Comments
 (0)