-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: pot is build in gh action and no longer needed in repository
- Loading branch information
Showing
2 changed files
with
10 additions
and
1,377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Crowdin Action | |
|
||
on: | ||
push: | ||
branches: [ 12-add-translations ] | ||
branches: [ automate_pot_creation ] | ||
|
||
jobs: | ||
synchronize-with-crowdin: | ||
|
@@ -11,8 +11,16 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- name: Install dependencies | ||
run: | | ||
python3.10 -m pip install pybabel | ||
pybabel extract -F config/babel.cfg -o messages.pot . | ||
- name: crowdin action | ||
- name: Sync GH and Crowdin | ||
uses: crowdin/[email protected] | ||
with: | ||
upload_sources: true | ||
|
Oops, something went wrong.