Generate Translations #9
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
name: Generate Translations | |
on: workflow_dispatch | |
jobs: | |
generate-translations: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: WordPress POT/PO/MO Generator | |
uses: strangerstudios/action-wp-pot-po-mo-generator@main | |
with: | |
generate_pot: 1 | |
generate_po: 1 | |
generate_mo: 1 | |
generate_lang_packs: 1 | |
merge_changes: 1 | |
headers: '{"Report-Msgid-Bugs-To":"[email protected]","Last-Translator":"Paid Memberships Pro <[email protected]>","Language-Team":"Paid Memberships Pro <[email protected]>"}' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |