-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Decoupled translations using `afragen/translations-updater` dependency (#178) Moved translations into separate repo and using git updater code to load translations off github repo translations. --------- Signed-off-by: Andy Fragen <[email protected]> * Change textdomain from mixed case to lowercase (#191) * update mixed case textdomain to lowercase of aspireupdate references * rename `AspireUpdate` repository to `aspireupdate` * change text domain header * add composer script to more easily create POT file * requires WP-CLI installed locally Signed-off-by: Andy Fragen <[email protected]> * update referenced to mixed case repository (#193) * add GA to generate POT on tag/release (#196) * run GA on push to `main` and feature branch (#197) * update afragen/translations-updater with error caching/logging (#199) * update afragen/translations-updater with error caching/logging * fix return of false due to validation failure * return WP_Error instead of false * better error handling * updates to afragen/translations-updater * composer update * update error log messaging * update library * Fix version number in POT workflow (#202) * Set POT generation action version to `2.0`. (#204) * Add write permissions to POT generation workflow. (#205) * 💬 POT File Regenerated --------- Signed-off-by: Andy Fragen <[email protected]> Co-authored-by: Colin Stewart <[email protected]> Co-authored-by: WordPress BOT <[email protected]>
- Loading branch information
1 parent
63dcbc5
commit f4326db
Showing
44 changed files
with
1,511 additions
and
1,228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Generate POT | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- translations | ||
|
||
jobs: | ||
WP_POT_Generator: | ||
if: github.repository == 'aspirepress/aspireupdate' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: WordPress POT Generator | ||
uses: varunsridharan/[email protected] | ||
with: | ||
save_path: "./languages" | ||
item_slug: "${{ github.event.repository.name }}" | ||
domain: "${{ github.event.repository.name }}" | ||
package_name: "${{ github.event.repository.name }}" | ||
headers: '{"Report-Msgid-Bugs-To":"https://github.com/${{ github.event.repository.full_name }}/issues"}' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.