From b4731e4c2aa0541754807e14f6dd3729c53b635a Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 9 Nov 2023 14:18:18 +0100 Subject: [PATCH] Switched to Crowdin CLI Because: https://github.com/crowdin/android-studio-plugin/issues/115 --- .gitignore | 1 - crowdin.yml | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 crowdin.yml diff --git a/.gitignore b/.gitignore index ed112de4a2..5ed89defcd 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ tools/config.sh local.properties keystore.properties crowdin.properties -crowdin.yml .gradle .idea/caches .idea/dictionaries diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 0000000000..6c44515da0 --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,19 @@ +#https://crowdin.github.io/crowdin-cli/installation#debian +#https://developer.crowdin.com/configuration-file/ +#crowdin download --branch=master + +"project_id_env": "CROWDIN_PROJECT_ID" +"api_token_env": "CROWDIN_PERSONAL_TOKEN" +"base_path": "/home/marcel/email" +"base_url": "https://api.crowdin.com" + +files: [ + { + "source": "/SETUP.md", + "translation": "/app/src/main/assets/SETUP-%android_code%.md", + }, + { + "source": "/app/src/main/res/values/strings.xml", + "translation": "/app/src/main/res/values-%android_code%/%original_file_name%", + } +]