| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,15 +3,15 @@ | |||
| 3 | 3 | scripts/generate_status_table.py | |
| 4 | 4 | ||
| 5 | 5 | Regenerate the per-file translation status table between marker comments in | |
| 6 | - a markdown file (default: SOURCE.md) from the current state of all .po | ||
| 6 | + a markdown file (default: STATUS.md) from the current state of all .po | ||
| 7 | 7 | files. Meant to run on a schedule so the table never goes stale, replacing | |
| 8 | 8 | the old Transifex-exported report. | |
| 9 | 9 | ||
| 10 | 10 | Requires: pip install polib | |
| 11 | 11 | ||
| 12 | 12 | Usage: | |
| 13 | 13 | python3 scripts/generate_status_table.py | |
| 14 | - python3 scripts/generate_status_table.py --file SOURCE.md | ||
| 14 | + python3 scripts/generate_status_table.py --file STATUS.md | ||
| 15 | 15 | """ | |
| 16 | 16 | import argparse | |
| 17 | 17 | import re | |
@@ -58,7 +58,7 @@ def build_table() -> str: | |||
| 58 | 58 | ||
| 59 | 59 | def main(): | |
| 60 | 60 | parser = argparse.ArgumentParser(description=__doc__) | |
| 61 | - parser.add_argument("--file", default="SOURCE.md", | ||
| 61 | + parser.add_argument("--file", default="STATUS.md", | ||
| 62 | 62 | help="Markdown file containing the marker block to update") | |
| 63 | 63 | args = parser.parse_args() | |
| 64 | 64 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments