From f4071b8af132e88294f12f3a78e06a0b0910fdb3 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Tue, 8 Mar 2022 10:54:31 +0800 Subject: [PATCH] Create crowdin.yml --- crowdin.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 crowdin.yml diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 0000000..1ed8c25 --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,26 @@ +# +# Your Crowdin credentials +# +"project_id_env": "CROWDIN_PROJECT_ID" +"api_token_env": "CROWDIN_API_TOKEN" +"base_path": "." +"base_url": "https://lsposed.crowdin.com/api/v2" +"pull_request_title": "[translation] Update translation from Crowdin" +# +# Choose file structure in Crowdin +# e.g. true or false +# +"preserve_hierarchy": true + +# +# Files configuration +# +files: [ + { + "source": "/manager/src/main/res/values/strings.xml", + "translation": "/manager/src/main/res/values-%two_letters_code%/%original_file_name%", + "type": "android", + "dest": "/manager/strings.xml", + "skip_untranslated_strings": true + } +]