A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Chore: Implement crowdin GHA (#4706)
shamoon76ac8883865e
diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.ymlnew file mode 100644index 000000000..050c83f26--- /dev/null+++ b/.github/workflows/crowdin.yml@@ -0,0 +1,31 @@+name: Crowdin Action++on:+ push:+ paths: [+ 'src/locale/**',+ 'src-ui/src/locale/**'+ ]+ branches: [ dev ]++jobs:+ synchronize-with-crowdin:+ runs-on: ubuntu-latest++ steps:++ - name: Checkout+ uses: actions/checkout@v4++ - name: crowdin action+ uses: crowdin/github-action@v1+ with:+ upload_translations: false+ download_translations: true+ crowdin_branch_name: 'dev'+ localization_branch_name: l10n_dev+ pull_request_labels: 'skip-changelog, translation'+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}+ CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}diff --git a/crowdin.yml b/crowdin.ymlindex 0c5fc8c98..0118d6b6e 100644--- a/crowdin.yml+++ b/crowdin.yml@@ -1,8 +1,6 @@-commit_message: '[ci skip]'-pull_request_labels: [- "skip-changelog",- "translation"-]+project_id_env: CROWDIN_PROJECT_ID+api_token_env: CROWDIN_PERSONAL_TOKEN+preserve_hierarchy: truefiles:- source: /src/locale/en_US/LC_MESSAGES/django.potranslation: /src/locale/%locale_with_underscore%/LC_MESSAGES/django.po