mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-12 05:22:57 +00:00
Merge 903256f190
into 95a002bcd6
This commit is contained in:
commit
b4f2d07937
37
.github/workflows/update_locales.yml
vendored
Normal file
37
.github/workflows/update_locales.yml
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
name: Update locales
|
||||
|
||||
on:
|
||||
push:
|
||||
# run this workflow when someone pushes to the l10n_main branch
|
||||
branches: [ l10n_main ]
|
||||
|
||||
jobs:
|
||||
update_locales:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: main
|
||||
# Create the mock file for the update_locales command to work, otherwise
|
||||
# we'll get an 'no such file' error
|
||||
- name: Create mock .env file
|
||||
run: echo "DEBUG=true" > .env
|
||||
|
||||
- name: Run update_locales command
|
||||
run: ./bw-dev update_locales
|
||||
|
||||
- name: Create commit
|
||||
run: |
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config user.name "github-actions[bot]"
|
||||
git add -A
|
||||
git commit -a -m "[GitHub Action] Update locales"
|
||||
|
||||
- name: Push to main branch
|
||||
# we rebase it first, in case there was a push to main while running
|
||||
# update_locales above
|
||||
run: |
|
||||
git pull --rebase
|
||||
git push
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -2894,7 +2894,7 @@ msgstr "Non è un file di csv valido"
|
|||
msgid "Currently, you are allowed to import %(display_size)s books every %(import_limit_reset)s day."
|
||||
msgid_plural "Currently, you are allowed to import %(display_size)s books every %(import_limit_reset)s days."
|
||||
msgstr[0] "Attualmente, puoi importare libri %(display_size)s ogni giorno %(import_limit_reset)s."
|
||||
msgstr[1] "Al momento puoi importare %(import_size_limit)s libri ogni %(import_limit_reset)s giorni."
|
||||
msgstr[1] "Al momento puoi importare %(display_size)s libri ogni %(import_limit_reset)s giorni."
|
||||
|
||||
#: bookwyrm/templates/import/import.html:26
|
||||
#, python-format
|
||||
|
|
Loading…
Reference in a new issue