From a393bcdcc6918b44018fdf7aad96076a21bba2f2 Mon Sep 17 00:00:00 2001 From: JingMatrix Date: Wed, 24 Jul 2024 10:45:10 +0200 Subject: [PATCH] [skip ci] Config crowdin Close #2 as completed. --- .github/workflows/crowdin.yml | 4 ++-- README.md | 4 ++-- crowdin.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index dc22203d..26da619d 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@main - name: crowdin action uses: crowdin/github-action@master with: - upload_translations: false + upload_translations: true download_translations: false upload_sources: true config: 'crowdin.yml' diff --git a/README.md b/README.md index db31f03c..cef8ee98 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # LSPatch Framework -[![Build](https://img.shields.io/github/actions/workflow/status/JingMatrix/LSPatch/main.yml?branch=master&logo=github&label=Build&event=push)](https://github.com/JingMatrix/LSPatch/actions/workflows/main.yml?query=event%3Apush+is%3Acompleted+branch%3Amaster) [![Crowdin](https://img.shields.io/badge/Localization-Crowdin-blueviolet?logo=Crowdin)](https://lsposed.crowdin.com/lspatch) [![Download](https://img.shields.io/github/v/release/JingMatrix/LSPatch?color=orange&logoColor=orange&label=Download&logo=DocuSign)](https://github.com/JingMatrix/LSPatch/releases/latest) [![Total](https://shields.io/github/downloads/JingMatrix/LSPatch/total?logo=Bookmeter&label=Counts&logoColor=yellow&color=yellow)](https://github.com/JingMatrix/LSPatch/releases) +[![Build](https://img.shields.io/github/actions/workflow/status/JingMatrix/LSPatch/main.yml?branch=master&logo=github&label=Build&event=push)](https://github.com/JingMatrix/LSPatch/actions/workflows/main.yml?query=event%3Apush+is%3Acompleted+branch%3Amaster) [![Crowdin](https://img.shields.io/badge/Localization-Crowdin-blueviolet?logo=Crowdin)](https://crowdin.com/project/lspatch_jingmatrix) [![Download](https://img.shields.io/github/v/release/JingMatrix/LSPatch?color=orange&logoColor=orange&label=Download&logo=DocuSign)](https://github.com/JingMatrix/LSPatch/releases/latest) [![Total](https://shields.io/github/downloads/JingMatrix/LSPatch/total?logo=Bookmeter&label=Counts&logoColor=yellow&color=yellow)](https://github.com/JingMatrix/LSPatch/releases) ## Introduction @@ -29,7 +29,7 @@ Note: debug builds are only available in Github Actions ## Translation Contributing -You can contribute translation [here](https://lsposed.crowdin.com/lspatch). +You can contribute translation [here](https://crowdin.com/project/lspatch_jingmatrix). ## Credits diff --git a/crowdin.yml b/crowdin.yml index 1ed8c25a..7e19d3e1 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -4,7 +4,7 @@ "project_id_env": "CROWDIN_PROJECT_ID" "api_token_env": "CROWDIN_API_TOKEN" "base_path": "." -"base_url": "https://lsposed.crowdin.com/api/v2" +"base_url": "https://api.crowdin.com" "pull_request_title": "[translation] Update translation from Crowdin" # # Choose file structure in Crowdin