From: Pierre Ozoux Date: Fri, 4 Feb 2022 17:20:55 +0000 (+0100) Subject: Generates pot files automatically. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~17^2~159^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3e2d3c8f381435b6c12a49dbd6ab549eb604317f;p=nextcloud-desktop.git Generates pot files automatically. Signed-off-by: Pierre Ozoux --- diff --git a/.github/workflows/generates_locales.yml b/.github/workflows/generates_locales.yml new file mode 100644 index 000000000..2c31b2ef5 --- /dev/null +++ b/.github/workflows/generates_locales.yml @@ -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 \ No newline at end of file