Skip to content

Commit 90213ae

Browse files
RobPasMuelwasser
authored andcommitted
fix: aligning names and docstring improvements
1 parent 92b4c46 commit 90213ae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/translate_table.py renamed to scripts/translation_stats.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ def calculate_translation_percentage(po_path : Path, locale : str) -> dict:
2222
Returns
2323
-------
2424
dict
25-
A dictionary containing the total number of strings, the number
26-
of translated strings, the number of untranslated strings, and
27-
the translation percentage.
25+
A dictionary containing the total number of strings, translated strings,
26+
fuzzy strings, untranslated strings, and the translation percentage.
2827
"""
2928
with open(po_path, "r", encoding="utf-8") as f:
3029
catalog = pofile.read_po(f, locale=locale)

0 commit comments

Comments
 (0)