File tree Expand file tree Collapse file tree 4 files changed +12
-27
lines changed Expand file tree Collapse file tree 4 files changed +12
-27
lines changed Original file line number Diff line number Diff line change 20
20
permissions :
21
21
contents : write
22
22
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
24
24
with :
25
25
text_domain : ' wp-module-performance'
26
+ i18n-script-location : ' npm'
26
27
secrets :
27
28
TRANSLATOR_API_KEY : ${{ secrets.TRANSLATOR_API_KEY }}
28
- NEWFOLD_ACCESS_TOKEN : ${{ secrets.NEWFOLD_ACCESS_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 54
54
"i18n" : [
55
55
" @i18n-pot" ,
56
56
" @i18n-po" ,
57
- " @i18n-mo" ,
57
+ " @i18n-json" ,
58
+ " @i18n-php"
59
+ ],
60
+ "i18n-ci-pre" : [
61
+ " @i18n-pot" ,
62
+ " @i18n-po"
63
+ ],
64
+ "i18n-ci-post" : [
58
65
" @i18n-json" ,
59
66
" @i18n-php"
60
67
],
Original file line number Diff line number Diff line change 45
45
"i18n-build" : " composer run-script i18n" ,
46
46
"i18n-rename-json" : " node ./translations-json-rename.js" ,
47
47
"i18n" : " npm run -s i18n-build && npm run i18n-rename-json" ,
48
+ "i18n-ci-pre" : " composer run-script i18n-ci-pre" ,
49
+ "i18n-ci-post" : " composer run-script i18n-ci-post && npm run i18n-rename-json" ,
48
50
"lint-js" : " wp-scripts lint-js"
49
51
}
50
52
}
You can’t perform that action at this time.
0 commit comments