mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 09:10:07 -06:00
feat: crowdin.yml
This commit is contained in:
10
.github/crowdin.yml
vendored
Normal file
10
.github/crowdin.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
project_id_env: CROWDIN_PROJECT_ID
|
||||
api_token_env: CROWDIN_PERSONAL_TOKEN
|
||||
base_path: .
|
||||
preserve_hierarchy: true
|
||||
|
||||
files:
|
||||
- source: .github/translations/*.po
|
||||
translation: emhttp/languages/%locale%/*.po
|
||||
- source: emhttp/languages/en_US/*.txt
|
||||
translation: emhttp/languages/%locale%/*.txt
|
||||
7
.github/workflows/crowdin-upload.yml
vendored
7
.github/workflows/crowdin-upload.yml
vendored
@@ -47,10 +47,9 @@ jobs:
|
||||
upload_translations: false
|
||||
download_translations: false
|
||||
create_pull_request: false
|
||||
# Configure source files directly in workflow
|
||||
source: .github/translations/*.po,emhttp/languages/en_US/*.txt
|
||||
translation: emhttp/languages/%locale%/*.po,emhttp/languages/%locale%/*.txt
|
||||
|
||||
# Configuration file location
|
||||
config: .github/crowdin.yml
|
||||
|
||||
# For Crowdin Enterprise, use: base_url: 'https://{organization-name}.api.crowdin.com'
|
||||
# For standard Crowdin, this can be omitted or use: base_url: 'https://api.crowdin.com'
|
||||
base_url: 'https://unraid.api.crowdin.com'
|
||||
|
||||
Reference in New Issue
Block a user