Fix: Update Crowdin configuration for Unraid project ID and base URL

This commit is contained in:
Eli Bosley
2025-07-18 12:04:37 -04:00
parent 012267d4f1
commit 0e9a80eb0d
2 changed files with 7 additions and 6 deletions

11
.github/crowdin.yml vendored
View File

@@ -1,12 +1,13 @@
project_id_env: CROWDIN_PROJECT_ID
project_id_env: CROWDIN_UNRAID_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
base_path: "../"
preserve_hierarchy: false
project_id: 1
base_url: 'https://unraid.api.crowdin.com'
files:
- source: ".github/translations/unraid-webgui.po"
translation: "emhttp/languages/%locale%/unraid-webgui.po"
translation: "%locale%/unraid-webgui.po"
- source: ".github/translations/unraid-webgui-js.po"
translation: "emhttp/languages/%locale%/unraid-webgui-js.po"
translation: "%locale%/unraid-webgui-js.po"
- source: "emhttp/languages/en_US/helptext.txt"
translation: "emhttp/languages/%locale%/helptext.txt"
translation: "%locale%/helptext.txt"

View File

@@ -64,7 +64,7 @@ jobs:
# For standard Crowdin, this can be omitted or use: base_url: 'https://api.crowdin.com'
base_url: 'https://unraid.api.crowdin.com'
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_UNRAID_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: Upload artifacts