Remove crowdin (for now)
This commit is contained in:
33
.github/workflows/crowdin.yml
vendored
33
.github/workflows/crowdin.yml
vendored
@@ -1,33 +0,0 @@
|
|||||||
name: Crowdin Action
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *'
|
|
||||||
workflow_dispatch: { }
|
|
||||||
jobs:
|
|
||||||
synchronize-with-crowdin:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
contents: write
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- name: Crowdin Action
|
|
||||||
uses: crowdin/github-action@v1
|
|
||||||
with:
|
|
||||||
upload_sources: true
|
|
||||||
config: crowdin.yml
|
|
||||||
upload_translations: false
|
|
||||||
download_sources: false
|
|
||||||
download_translations: true
|
|
||||||
skip_untranslated_strings: true
|
|
||||||
export_only_approved: true
|
|
||||||
push_translations: true
|
|
||||||
create_pull_request: true
|
|
||||||
pull_request_title: 'New Crowdin Translations'
|
|
||||||
pull_request_base_branch_name: 'master'
|
|
||||||
pull_request_body: 'New Crowdin Translations'
|
|
||||||
localization_branch_name: l10n
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
||||||
CROWDIN_PERSONAL_TOKEN: "${{ secrets.CROWDIN_TOKEN }}"
|
|
||||||
11
crowdin.yml
11
crowdin.yml
@@ -1,11 +0,0 @@
|
|||||||
project_id: "588173"
|
|
||||||
base_path: "."
|
|
||||||
api_token_env: CROWDIN_PERSONAL_TOKEN
|
|
||||||
preserve_hierarchy: false
|
|
||||||
base_url: "https://api.crowdin.com"
|
|
||||||
commit_message: "New translations"
|
|
||||||
append_commit_message: false
|
|
||||||
files:
|
|
||||||
- source: "/src/main/resources/assets/firmament/lang/en_us.json"
|
|
||||||
translation: "/src/main/resources/assets/firmament/lang/%locale_with_underscore%.json"
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user