Skip to content

Commit

Permalink
Split steps
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterWone committed Mar 9, 2024
1 parent 1e35e25 commit 5e46477
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,15 @@ jobs:
- name: Install dependencies
run: npm i

- name: Localise app
- name: Extract localisable strings from app
run: |
npx @vscode/l10n-dev export --outDir ./l10n ./src
npx @vscode/l10n-dev generate-azure -o ./l10n/ ./l10n/bundle.l10n.json ./package.nls.json -l zh-Hans ja es ru pt-br fr ko zh-Hant it pl hu cs bg tr my ca lt hy
env:
AZURE_TRANSLATOR_KEY: ${{ secrets.AZURE_TRANSLATOR_KEY }}
AZURE_TRANSLATOR_REGION: westus

- name: Translate app strings
run: |
npx @vscode/l10n-dev export --outDir ./l10n ./src
npx @vscode/l10n-dev generate-azure -o ./l10n/ ./l10n/bundle.l10n.json ./package.nls.json -l zh-Hans ja es ru pt-br fr ko zh-Hant it pl hu cs bg tr my ca lt hy
Expand Down

0 comments on commit 5e46477

Please sign in to comment.