Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5dcde06

Browse files
committed
Update translate action and script
1 parentae0dca2 commit5dcde06

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:pythonscripts/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)

[8]ページ先頭

©2009-2025 Movatter.jp