Skip to content

Commit

Permalink
autotranslate hotfix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
emphasize committed Aug 16, 2023
1 parent 9df90cc commit 9918079
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,18 @@ jobs:
- 'locale/en-us/**'
- 'dialog/en-us/**'
- 'vocab/en-us/**'
# Exit the job if no relevant locale files were changed
- name: Exit Job
if: steps.filter.outputs.locales == 'false'
run: exit 0
- name: Setup Python
if: steps.filter.outputs.locales == 'true'
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Auto Translate
if: steps.filter.outputs.locales == 'true'
run: |
python -m pip install ovos-translate-plugin-deepl ovos-utils
python scripts/translate.py
- name: Commit to dev
if: steps.filter.outputs.locales == 'true'
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: autotranslate
Expand Down
6 changes: 3 additions & 3 deletions locale/fr-fr/dialog/current/current-weather-local.dialog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# auto translated from en-us to fr-fr
Il fait actuellement 0 et 1 degré.
En ce moment, il fait 0 et 1 degré.
Il fait actuellement 0 et 1 degré 2.
Il fait actuellement {condition} et {temperature} degré.
En ce moment, il fait {condition} et {temperature} degré.
Il fait actuellement {condition} et {temperature} degré {temperature_unit}.

0 comments on commit 9918079

Please sign in to comment.