Skip to content

Commit 8ce4ab1

Browse files
committed
Tools: Update the context string to match existing file
1 parent da96a4b commit 8ce4ab1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/i18n.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
token: ${{ secrets.GITHUB_TOKEN }}
2222
args: --taxonomies=wporg-pattern-category,wporg-pattern-flag-reason --post_types=page --url=https://wordpress.org/patterns/wp-json/wp/v2/ --textdomain=wporg-patterns
2323

24+
- name: Update the translation context
25+
run: |
26+
sed -i "s/, 'page title'/, 'Page title'/" extra/translation-strings.php
27+
2428
- name: Commit and push
2529
# Using a specific hash here instead of a tagged version, for risk mitigation, since this action modifies our repo.
2630
uses: actions-js/push@a52398fac807b0c1e5f1492c969b477c8560a0ba

0 commit comments

Comments
 (0)