Skip to content

Commit

Permalink
Merge pull request #4252 from nextcloud/feature/add-translation-for-doc
Browse files Browse the repository at this point in the history
Generates pot files automatically.
  • Loading branch information
pierreozoux authored Feb 7, 2022
2 parents 64710f0 + 3e2d3c8 commit 9116589
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/generates_locales.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: L10n
on:
push:
branches:
- master
paths:
- 'doc/**'
- '!doc/locale/**'
jobs:
generates_locales:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "doc/"
pre-build-command: pip install -r requirements.txt
build-command: make gettext
- uses: actions/checkout@v2
- name: Commit report
run: |
git config --global user.name 'Nextcloud Bot'
git config --global user.email 'bot@nextcloud.com'
git commit -am "Updates catalog templates (POT files fetched automatically by transifex)"
git push

0 comments on commit 9116589

Please sign in to comment.