mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 12:10:18 +03:00
chore(localization): Automatically update language metadata from Tolgee (#1508)
This commit is contained in:
parent
e54ee20427
commit
a220588427
2 changed files with 12 additions and 2 deletions
7
.github/workflows/build-release.yml
vendored
7
.github/workflows/build-release.yml
vendored
|
@ -51,12 +51,17 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Update locales
|
||||
- name: Update locales data
|
||||
run: |
|
||||
curl -H 'X-API-KEY: ${{ secrets.TOLGEE_TOKEN }}' 'https://app.tolgee.io/v2/projects/export' -o locales.zip
|
||||
unzip -o -d ./src/locales locales.zip
|
||||
rm locales.zip
|
||||
|
||||
- name: Update locales metadata
|
||||
uses: VueTorrent/tolgee-action@v1
|
||||
with:
|
||||
tolgee_secret: ${{ secrets.TOLGEE_TOKEN }}
|
||||
|
||||
- name: Build VueTorrent
|
||||
run: npm run build
|
||||
|
||||
|
|
7
.github/workflows/translations.yml
vendored
7
.github/workflows/translations.yml
vendored
|
@ -32,12 +32,17 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Update locales
|
||||
- name: Update locales data
|
||||
run: |
|
||||
curl -H 'X-API-KEY: ${{ secrets.TOLGEE_TOKEN }}' 'https://app.tolgee.io/v2/projects/export' -o locales.zip
|
||||
unzip -o -d ./src/locales locales.zip
|
||||
rm locales.zip
|
||||
|
||||
- name: Update locales metadata
|
||||
uses: VueTorrent/tolgee-action@v1
|
||||
with:
|
||||
tolgee_secret: ${{ secrets.TOLGEE_TOKEN }}
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue