Skip to content

Commit 3f6f496

Browse files
committed
Adjust new translation workflow
1 parent dbf4335 commit 3f6f496

File tree

3 files changed

+9
-26
lines changed

3 files changed

+9
-26
lines changed

.github/workflows/auto-translate.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ jobs:
2020
permissions:
2121
contents: write
2222
pull-requests: write
23-
uses: newfold-labs/workflows/.github/workflows/reusable-azure-ai-translate.yml@main
23+
uses: newfold-labs/workflows/.github/workflows/reusable-translations.yml@main
2424
with:
2525
text_domain: 'wp-module-sso'
2626
secrets:
2727
TRANSLATOR_API_KEY: ${{ secrets.TRANSLATOR_API_KEY }}
28-
NEWFOLD_ACCESS_TOKEN: ${{ secrets.NEWFOLD_ACCESS_TOKEN }}

.github/workflows/i18n-update.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@
6464
"@i18n-php",
6565
"@i18n-json"
6666
],
67+
"i18n-ci-pre": [
68+
"@i18n-pot",
69+
"@i18n-po"
70+
],
71+
"i18n-ci-post": [
72+
"@i18n-json",
73+
"@i18n-php"
74+
],
6775
"lint": "vendor/bin/phpcs --standard=phpcs.xml -s ."
6876
}
6977
}

0 commit comments

Comments
 (0)