File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33scripts/generate_status_table.py
44
55Regenerate the per-file translation status table between marker comments in
6- a markdown file (default: RESOURCE .md) from the current state of all .po
6+ a markdown file (default: SOURCE .md) from the current state of all .po
77files. Meant to run on a schedule so the table never goes stale, replacing
88the old Transifex-exported report.
99
1010Requires: pip install polib
1111
1212Usage:
1313 python3 scripts/generate_status_table.py
14- python3 scripts/generate_status_table.py --file RESOURCE .md
14+ python3 scripts/generate_status_table.py --file SOURCE .md
1515"""
1616import argparse
1717import re
@@ -58,7 +58,7 @@ def build_table() -> str:
5858
5959def main ():
6060 parser = argparse .ArgumentParser (description = __doc__ )
61- parser .add_argument ("--file" , default = "RESOURCE .md" ,
61+ parser .add_argument ("--file" , default = "SOURCE .md" ,
6262 help = "Markdown file containing the marker block to update" )
6363 args = parser .parse_args ()
6464
You can’t perform that action at this time.
0 commit comments