GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update translate action and script · python/python-docs-tr@5dcde06

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • translate.yaml
  • scripts
    • translate.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/translate.yaml‎

Copy file name to clipboardExpand all lines: .github/workflows/translate.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: pip install -r requirements.txt && sudo apt update && sudo apt install gettext -y
2626

2727
- name: Run translate.py
28-
run: python translate.py ${{ github.event.inputs.file }} -t google -s
28+
run: python scripts/translate.py ${{ github.event.inputs.file }} -t google -s
2929

3030
- name: Commit changes
3131
run: |
Collapse file

‎scripts/translate.py‎

Copy file name to clipboardExpand all lines: scripts/translate.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
parser.add_argument(
2828
"-s",
2929
"--skip-translated-entries",
30-
choices=[True, False],
31-
default=True,
30+
action="store_true",
3231
help="Skip already translated entries",
3332
)
3433

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.