mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 15:20:56 +00:00
784129e1cf
* Normalize EOL before EOF. * Import current Transifex state, only translated. Skip duplicated and completely empty languages. * Re-add untranslated strings to JSON files. These are now treated correctly as untranslated, but present with the original (English) translation key. * Update valid language codes and names. * Refer to Weblate instead of Transifex for translations. * lang-es: Copy untranslated strings from es-ES. * Integrate translation changes from Weblate. Translated using Weblate (Polish) Currently translated at 100.0% (512 of 512 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/pl/ Translated using Weblate (Danish) Currently translated at 98.6% (505 of 512 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/da/ Translated using Weblate (Lithuanian) Currently translated at 85.4% (441 of 516 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/lt/ Translated using Weblate (French) Currently translated at 100.0% (516 of 516 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/fr/ Translated using Weblate (Danish) Currently translated at 98.6% (509 of 516 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/da/ Translated using Weblate (Spanish) Currently translated at 100.0% (516 of 516 strings) Translation: Syncthing/GUI strings Translate-URL: https://hosted.weblate.org/projects/syncthing/gui/es/ * translation update uses weblate --------- Co-authored-by: Jakob Borg <jakob@kastelo.net>
29 lines
850 B
YAML
29 lines
850 B
YAML
name: Update translations and documentation
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '42 3 * * 1'
|
|
|
|
jobs:
|
|
|
|
update_transifex_docs:
|
|
runs-on: ubuntu-latest
|
|
name: Update translations and documentation
|
|
steps:
|
|
- uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
|
|
with:
|
|
fetch-depth: 0
|
|
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
|
|
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v2
|
|
with:
|
|
go-version: ^1.18.4
|
|
- run: |
|
|
set -euo pipefail
|
|
git config --global user.name 'Syncthing Release Automation'
|
|
git config --global user.email 'release@syncthing.net'
|
|
bash build.sh translate
|
|
bash build.sh prerelease
|
|
git push
|
|
env:
|
|
WEBLATE_TOKEN: ${{ secrets.WEBLATE_TOKEN }}
|