Skip to content

Commit

Permalink
fix: npm build (#101)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions <[email protected]>
  • Loading branch information
arzola and actions-user authored May 22, 2024
1 parent 75af00d commit 32abb90
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-pot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ on:
paths:
- '**.php'
- '**.js'
workflow_dispatch:

jobs:
update-pot-file:
uses: pressbooks/reusable-workflows/.github/workflows/update-pot.yml@main
uses: pressbooks/reusable-workflows/.github/workflows/update-pot.yml@fix/pot-trigger
secrets: inherit
with:
domain: 'pressbooks-fake-plugin'
slug: 'pressbooks-fake-plugin'
package_name: 'Pressbooks Fake Plugin'
headers: '{"Report-Msgid-Bugs-To": "https://github.com/pressbooks/fake-plugin/issues"}'
pull_request_number: ${{ github.event.pull_request.number }}
4 changes: 2 additions & 2 deletions languages/fake-plugin.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-05-21T21:05:58+00:00\n"
"POT-Creation-Date: 2024-05-22T23:45:05+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.10.0\n"
"X-Domain: pressbooks-fake-plugin\n"
Expand Down Expand Up @@ -40,7 +40,7 @@ msgid "Hello, people!"
msgstr ""

#: src/App.php:14
msgid "Hello, world!"
msgid "Hello, world 2!"
msgstr ""

#: src/App.php:19
Expand Down
2 changes: 1 addition & 1 deletion src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function __construct()

public function __toString()
{
return __('Hello, world!', 'pressbooks-fake-plugin');
return __('Hello, world 2!', 'pressbooks-fake-plugin');
}

public function hi()
Expand Down

0 comments on commit 32abb90

Please sign in to comment.