mirror of
https://github.com/remnawave/frontend.git
synced 2026-08-04 15:19:44 +00:00
refactor: crowdin integration
This commit is contained in:
parent
5686305bee
commit
b2c566aa53
4 changed files with 11 additions and 1369 deletions
3
.github/workflows/release-dev.yml
vendored
3
.github/workflows/release-dev.yml
vendored
|
|
@ -82,7 +82,10 @@ jobs:
|
|||
- name: Install dependencies and build with Crowdin
|
||||
env:
|
||||
CROWDIN: 1
|
||||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}
|
||||
run: |
|
||||
npx crowdin download translations --language=af --branch=dev
|
||||
npm ci
|
||||
npm run start:build
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@ project_id_en: 'CROWDIN_PROJECT_ID'
|
|||
api_token_env: 'CROWDIN_API_TOKEN'
|
||||
preserve_hierarchy: true
|
||||
|
||||
base_path: .
|
||||
|
||||
files:
|
||||
- source: /public/locales/en/remnawave.json
|
||||
translation: /public/locales/%two_letters_code%/remnawave.json
|
||||
|
||||
export_languages: ['ru', 'fa', 'zh']
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1363,5 +1363,7 @@
|
|||
"search-by-remark": "Search by remark...",
|
||||
"address": "Address"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"test": "testX",
|
||||
"test2": "test2X"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue