Skip to content

Commit 5dcde06

Browse files
committed
Update translate action and script
1 parent ae0dca2 commit 5dcde06

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/translate.yaml

Lines 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: |

scripts/translate.py

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy