Skip to content

Commit

Permalink
update i18n command to remove old json files and run i18n.
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Jun 26, 2024
1 parent 52dcbed commit b1cabda
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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 languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print",
"i18n": [
"@i18n-pot",
"@i18n-po",
Expand Down
Original file line number Diff line number Diff line change
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
8 changes: 8 additions & 0 deletions languages/wp-plugin-hostgator-es_MX.po
Original file line number Diff line number Diff line change
Expand Up @@ -994,3 +994,11 @@ msgstr ""
#: build/2.9.3/index.js:1
msgid "Wonder Blocks provides a library of customizable block patterns and page templates."
msgstr ""

#: build/2.9.3/index.js:1
msgid "Oops! Something Went Wrong"
msgstr ""

#: build/2.9.3/index.js:1
msgid "An error occurred while loading the content. Please try again later."
msgstr ""
Original file line number Diff line number Diff line change
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
8 changes: 8 additions & 0 deletions languages/wp-plugin-hostgator-pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -994,3 +994,11 @@ msgstr ""
#: build/2.9.3/index.js:1
msgid "Wonder Blocks provides a library of customizable block patterns and page templates."
msgstr ""

#: build/2.9.3/index.js:1
msgid "Oops! Something Went Wrong"
msgstr ""

#: build/2.9.3/index.js:1
msgid "An error occurred while loading the content. Please try again later."
msgstr ""
8 changes: 8 additions & 0 deletions languages/wp-plugin-hostgator.pot
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,14 @@ msgstr ""
msgid "Load More"
msgstr ""

#: build/2.9.3/index.js:1
msgid "Oops! Something Went Wrong"
msgstr ""

#: build/2.9.3/index.js:1
msgid "An error occurred while loading the content. Please try again later."
msgstr ""

#: build/2.9.3/index.js:1
msgid "Products"
msgstr ""
Expand Down

0 comments on commit b1cabda

Please sign in to comment.