Skip to content

Commit

Permalink
composer update
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Jan 12, 2024
1 parent 9d33a07 commit 6310f9c
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wp-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Add text domains
run: npx node-wp-i18n addtextdomain

- name: Generate POT file
- name: Generate language files
run: composer run-script i18n

- name: Check if there are file changes
Expand Down
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,18 @@
"@i18n-pot",
"@i18n-po",
"@i18n-mo",
"@i18n-json",
"@i18n-json-rename"
"@i18n-json"
]
},
"scripts-descriptions": {
"fix": "Automatically fix coding standards issues where possible.",
"lint": "Check files against coding standards.",
"i18n": "Generate new language files",
"i18n-pot": "Generate a .pot file for translation.",
"i18n-po": "Update existing .po files.",
"i18n": "Generate new .pot file and update .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"
},
"require": {
"doctrine/inflector": "1.4.4 as 1.3.1",
Expand All @@ -83,4 +85,4 @@
"wp-forge/wp-update-handler": "^1.0",
"wp-forge/wp-upgrade-handler": "^1.0"
}
}
}
134 changes: 97 additions & 37 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6310f9c

Please sign in to comment.