| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,7 @@ jobs: | |||
| 32 | 32 | run: python3 scripts/generate_status_table.py | |
| 33 | 33 | ||
| 34 | 34 | - name: Update PO file headers | |
| 35 | - run: python3 scripts/update_po_headers.py --merge | ||
| 35 | + run: python3 scripts/update_po_headers.py --merge --no-last-translator | ||
| 36 | 36 | ||
| 37 | 37 | - name: Update TEAM.md contributor counts | |
| 38 | 38 | run: python3 scripts/team_stats.py --update-teammd | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -291,6 +291,11 @@ def main(): | |||
| 291 | 291 | action="store_true", | |
| 292 | 292 | help="show what would change without writing files", | |
| 293 | 293 | ) | |
| 294 | + parser.add_argument( | ||
| 295 | + "--no-last-translator", | ||
| 296 | + action="store_true", | ||
| 297 | + help="skip updating the Last-Translator: header field", | ||
| 298 | + ) | ||
| 294 | 299 | args = parser.parse_args() | |
| 295 | 300 | ||
| 296 | 301 | files = collect_files(args.paths) | |
@@ -319,7 +324,9 @@ def main(): | |||
| 319 | 324 | new_comment = merge_comment_block(comment, translators) | |
| 320 | 325 | else: | |
| 321 | 326 | new_comment = update_comment_block(comment, translators) | |
| 322 | - rebuilt = update_header_entry(entry, last, None) | ||
| 327 | + rebuilt = update_header_entry( | ||
| 328 | + entry, None if args.no_last_translator else last, None | ||
| 329 | + ) | ||
| 323 | 330 | if rebuilt is not None: | |
| 324 | 331 | new_entry = rebuilt | |
| 325 | 332 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments