Skip to content

Commit

Permalink
Merge pull request #619 from newfold-labs/release/2.10.0
Browse files Browse the repository at this point in the history
Release 2.10.0
  • Loading branch information
wpalani authored Jul 9, 2024
2 parents 96f511e + e105f08 commit 774d3b9
Show file tree
Hide file tree
Showing 27 changed files with 994 additions and 931 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/wp-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,25 @@ jobs:
continue-on-error: true
run: git diff --exit-code

- name: Fail if language files have changes
- name: Warning if language files have changes
if: steps.changes.outcome == 'failure'
run: |
echo "i18n files are out of date"
echo "Please run command (composer run i18n) locally to update them and commit before releasing"
exit 1
- name: Commit web files
if: steps.changes.outcome == 'failure'
run: |
git config --local user.name "${{ github.event.head_commit.author.name }}"
git config --local user.email "${{ github.event.head_commit.author.email }}"
git remote -v
git add -A
git commit -m "WordPress i18n triggered by commit ${{ github.sha }}"
git status
- name: Push changes
if: steps.changes.outcome == 'failure'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"i18n-pot": "vendor/bin/wp i18n make-pot . ./languages/wp-plugin-hostgator.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-plugin-hostgator/issues\",\"POT-Creation-Date\":\"2023-01-11T20:21:44+00:00\"}' --exclude=assets,tests,src",
"i18n-po": "vendor/bin/wp i18n update-po ./languages/wp-plugin-hostgator.pot ./languages",
"i18n-mo": "vendor/bin/wp i18n make-mo ./languages",
"i18n-json": "vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print",
"i18n-json": "rm -f languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print",
"i18n": [
"@i18n-pot",
"@i18n-po",
Expand All @@ -78,21 +78,21 @@
"newfold-labs/wp-module-context": "^1.0.1",
"newfold-labs/wp-module-data": "^2.5.3",
"newfold-labs/wp-module-deactivation": "^1.2.1",
"newfold-labs/wp-module-ecommerce": "1.3.31",
"newfold-labs/wp-module-ecommerce": "^1.3.36",
"newfold-labs/wp-module-features": "^1.4.2",
"newfold-labs/wp-module-global-ctb": "^1.0.13",
"newfold-labs/wp-module-help-center": "^2.0.0",
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "^2.2.4",
"newfold-labs/wp-module-migration": "^1.0.7",
"newfold-labs/wp-module-notifications": "^1.3.0",
"newfold-labs/wp-module-onboarding": "^2.3.4",
"newfold-labs/wp-module-marketplace": "^2.4.0",
"newfold-labs/wp-module-migration": "^1.0.8",
"newfold-labs/wp-module-notifications": "^1.4.0",
"newfold-labs/wp-module-onboarding": "^2.3.5",
"newfold-labs/wp-module-patterns": "2.0.0 as 1.9.9",
"newfold-labs/wp-module-performance": "2.0.0 as 1.9.9",
"newfold-labs/wp-module-runtime": "^1.0.11",
"newfold-labs/wp-module-secure-passwords": "^1.1.1",
"newfold-labs/wp-module-sso": "^1.0.5",
"newfold-labs/wp-module-staging": "^2.0.0",
"newfold-labs/wp-module-staging": "^2.1.0",
"wp-forge/wp-update-handler": "^1.0.2",
"wp-forge/wp-upgrade-handler": "^1.0"
}
Expand Down
172 changes: 108 additions & 64 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"translation-revision-date": "2023-08-24 18:27",
"generator": "WP-CLI\/2.10.0",
"source": "build\/2.9.3\/index.js",
"source": "build\/2.10.0\/index.js",
"domain": "messages",
"locale_data": {
"messages": {
Expand Down Expand Up @@ -629,6 +629,12 @@
],
"Wonder Blocks provides a library of customizable block patterns and page templates.": [
""
],
"Oops! Something Went Wrong": [
""
],
"An error occurred while loading the content. Please try again later.": [
""
]
}
}
Expand Down
Loading

0 comments on commit 774d3b9

Please sign in to comment.