Skip to content

Commit

Permalink
remove rename language step
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Jan 12, 2024
1 parent 2f9cca9 commit 5a4576a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/wp-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ jobs:
continue-on-error: true
run: git diff --exit-code

- name: Rename language json files
if: steps.changes.outcome == 'failure'
shell: bash
run: |
composer run-script i18n-json
composer run-script i18n-json-rename
- name: Commit updated language files
if: steps.changes.outcome == 'failure'
run: |
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
"scripts-descriptions": {
"fix": "Automatically fix coding standards issues where possible.",
"lint": "Check files against coding standards.",
"i18n": "Generate new language files",
"i18n": "Generate new language files.",
"i18n-pot": "Generate a .pot file for translation.",
"i18n-po": "Update existing .po files.",
"i18n-mo": "Generate new language .mo files",
"i18n-json": "Generate new language .json files",
"i18n-json-rename": "Rename the language json files to remove the pesky hash"
"i18n-mo": "Generate new language .mo files.",
"i18n-json": "Generate new language .json files.",
"i18n-json-rename": "Rename the language json files to remove the pesky hash."
},
"require": {
"doctrine/inflector": "1.4.4 as 1.3.1",
Expand Down

0 comments on commit 5a4576a

Please sign in to comment.