Skip to content

Commit

Permalink
Fix Crowdin integration
Browse files Browse the repository at this point in the history
This patch fixes the crowdin integration. The previous Actions workflow
would generate the necessary patches gut never stage commit them to the
repository.

This also renames the workflows so they have names identical to what we
use in the admin interface.
  • Loading branch information
lkiesow committed Nov 19, 2024
1 parent b8c97c6 commit 234e49f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update translations
name: Crowdin » Download translations

on:
schedule:
Expand Down Expand Up @@ -28,14 +28,14 @@ jobs:
run: |
crowdin download --config .crowdin.yaml -b main
- name: add new translations
run: |
git add src/i18n/locales
- name: update language list
working-directory: src/i18n/locales
run: $GITHUB_WORKSPACE/.github/generate-lngs.sh > ../lngs-generated.ts

- name: add new translations
run: |
git add src/i18n/
- name: upload translations
run: |
if git commit -m "Automatically update translation keys"; then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Crowdin keys
name: Crowdin » Upload keys

on:
push:
Expand Down

0 comments on commit 234e49f

Please sign in to comment.