Skip to content

Commit

Permalink
Bump eslint-config-amo from 5.9.0 to 5.10.0 (#12785)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored and KevinMind committed Jan 19, 2024
1 parent e04408f commit cf51b9f
Show file tree
Hide file tree
Showing 5 changed files with 246 additions and 515 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/localization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Install node_modules
run: yarn install --frozen-lockfile --prefer-offline
- name: Extract locales
run: yarn extract-locales
- name: Inspect file
run: cat ./locale/templates/LC_MESSAGES/amo.pot
- id: diff
name: Diff changes
run: |
echo "short stat"
git diff --shortstat
echo "long"
git diff
echo "quiet diff"
git diff --quiet HEAD -- ./locale/templates/LC_MESSAGES/amo.pot
4 changes: 2 additions & 2 deletions locale/templates/LC_MESSAGES/amo.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: amo\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-01-09 16:55+0000\n"
"POT-Creation-Date: 2024-01-19 14:02+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -13,7 +13,7 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"

#: src/amo/components/AddAddonToCollection/index.js:187
msgid "Loading…"
msgid "Test"
msgstr ""

#: src/amo/components/AddAddonToCollection/index.js:189
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"eslint": "^8.56.0",
"eslint-config-amo": "^5.9.0",
"eslint-config-amo": "^5.10.0",
"eslint-plugin-amo": "^1.24.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.33.2",
Expand Down
2 changes: 1 addition & 1 deletion src/amo/components/AddAddonToCollection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export class AddAddonToCollectionBase extends React.Component<InternalProps> {
let progressMessage;

if (loadingUserCollections) {
progressMessage = i18n.gettext('Loading…');
progressMessage = i18n.gettext('Test');
} else if (loadingAddonsInCollections) {
progressMessage = i18n.gettext('Adding…');
}
Expand Down

0 comments on commit cf51b9f

Please sign in to comment.