mirror of
https://github.com/searxng/searxng.git
synced 2025-07-16 01:39:24 +02:00
[mod] manage - implement babel commands, drop update_translations.sh
In ./manage implement babel.*: - extract : extract messages from source files and generate POT file - update : update existing message catalogs from POT file - compile : compile translation catalogs into binary MO files Replace searx_extra/update/update_translations.sh by command: - ci.babel.update Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
7fa7177759
commit
900baf2eae
4 changed files with 44 additions and 37 deletions
4
.github/workflows/integration.yml
vendored
4
.github/workflows/integration.yml
vendored
|
@ -111,9 +111,7 @@ jobs:
|
|||
- name: Update transations
|
||||
id: update
|
||||
continue-on-error: true
|
||||
run: |
|
||||
pip install babel jinja2
|
||||
searx_extra/update/update_translations.sh
|
||||
run: make V=1 ci.babel.update
|
||||
- name: Open pull request
|
||||
if: steps.update.outcome == 'success'
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue