Remove dead translations (#13409)
Add --clean flag to translation extraction to remove old translations automatically
This commit is contained in:
6
.github/workflows/i18n-push.yaml
vendored
6
.github/workflows/i18n-push.yaml
vendored
@ -37,9 +37,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract translations
|
- name: Extract translations
|
||||||
run: |
|
run: |
|
||||||
npx nx run twenty-server:lingui:extract
|
npx nx run twenty-server:lingui:extract --clean
|
||||||
npx nx run twenty-emails:lingui:extract
|
npx nx run twenty-emails:lingui:extract --clean
|
||||||
npx nx run twenty-front:lingui:extract
|
npx nx run twenty-front:lingui:extract --clean
|
||||||
|
|
||||||
- name: Check and commit extracted files
|
- name: Check and commit extracted files
|
||||||
id: check_extract_changes
|
id: check_extract_changes
|
||||||
|
|||||||
Reference in New Issue
Block a user