mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 17:20:04 -06:00
fix: crowdin
This commit is contained in:
7
.github/workflows/crowdin-upload.yml
vendored
7
.github/workflows/crowdin-upload.yml
vendored
@@ -42,7 +42,7 @@ jobs:
|
||||
- name: Upload to Crowdin
|
||||
# Only upload to Crowdin on pushes to main/master branches
|
||||
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
|
||||
uses: crowdin/github-action@v1
|
||||
uses: crowdin/github-action@v2
|
||||
with:
|
||||
upload_sources: true
|
||||
upload_translations: false
|
||||
@@ -53,10 +53,7 @@ jobs:
|
||||
source: |
|
||||
.github/translations/unraid-webgui-js.po
|
||||
.github/translations/unraid-webgui.po
|
||||
translation: |
|
||||
translations/%locale%/webgui-js.po
|
||||
translations/%locale%/webgui.po
|
||||
|
||||
emhttp/languages/en_US/helptext.txt
|
||||
env:
|
||||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user