Skip to content

Commit

Permalink
Translations
Browse files Browse the repository at this point in the history
  • Loading branch information
AiroPi authored Dec 6, 2023
1 parent c48689a commit 66b0694
Show file tree
Hide file tree
Showing 4 changed files with 584 additions and 479 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/generate-pot-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
ref: master
path: master/

- uses: actions/setup-python@v4
with:
Expand All @@ -28,21 +25,14 @@ jobs:
pip install babel
sh ./bin/pot-generation.sh
- uses: actions/checkout@v3
with:
ref: auto/translations-source
path: translations/

- name: setup git
run: |
cd translations
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: commit
run: |
mv -f master/resources/locale/mybot.pot translations/resources/locale/mybot.pot
cd translations
git add ./resources/locale/mybot.pot
git switch -c auto/translations-source
git add ./data/locale/mybot.pot
git commit -m "POT file generated"
git push origin auto/translations-source
git push origin auto/translations-source --force
Binary file modified resources/locale/fr/LC_MESSAGES/mybot.mo
Binary file not shown.
Loading

0 comments on commit 66b0694

Please sign in to comment.