Skip to content

Commit

Permalink
Update translate action and script
Browse files Browse the repository at this point in the history
  • Loading branch information
egeakman committed Sep 22, 2023
1 parent ae0dca2 commit 5dcde06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/translate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: pip install -r requirements.txt && sudo apt update && sudo apt install gettext -y

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

- name: Commit changes
run: |
Expand Down
3 changes: 1 addition & 2 deletions scripts/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
parser.add_argument(
"-s",
"--skip-translated-entries",
choices=[True, False],
default=True,
action="store_true",
help="Skip already translated entries",
)

Expand Down

0 comments on commit 5dcde06

Please sign in to comment.