refactor: crowdin integration

This commit is contained in:
kastov 2025-07-21 07:02:41 +03:00
parent 5686305bee
commit b2c566aa53
No known key found for this signature in database
GPG key ID: 1B27BE29057F4C90
4 changed files with 11 additions and 1369 deletions

View file

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

View file

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

View file

@ -1363,5 +1363,7 @@
"search-by-remark": "Search by remark...",
"address": "Address"
}
}
}
},
"test": "testX",
"test2": "test2X"
}