fix: crowdin

This commit is contained in:
Eli Bosley
2025-07-02 15:36:19 -04:00
parent 963d42c1fe
commit 472e26c020

View File

@@ -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 }}