Skip to content

Rename to "Report a bug" in the menu. fix 2668 #149

Rename to "Report a bug" in the menu. fix 2668

Rename to "Report a bug" in the menu. fix 2668 #149

Workflow file for this run

name: Extract new translation strings
on:
push:
branches: [master]
jobs:
i18n:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install npm v7
run: |
npm --global install npm@latest-7
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: |
~/.node-gyp
~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install dependencies
run: npm ci
- name: Extract strings
run: |
npm run i18n:extract
- name: Reformat plural strings for Weblate
run: |
npm run i18n:fix-weblate
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
default_author: github_actions
message: 'Exctract locales [skip ci]'
add: 'public/locales/en/*.json'