From 44b8ad8d1cd87c20b7af9e310440bf293e711e4c Mon Sep 17 00:00:00 2001 From: 6543 <6543@noreply.codeberg.org> Date: Fri, 12 Feb 2021 10:30:02 +0100 Subject: [PATCH] Add crowdin-cli config template (#827) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add example crowdin Config „crowdin.yml“ ändern now able to upload new strings.xml file add crowdin config (without API key) Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: 6543 <6543@noreply@gitea.io> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/827 Reviewed-by: M M Arif Co-Authored-By: 6543 <6543@noreply.codeberg.org> Co-Committed-By: 6543 <6543@noreply.codeberg.org> --- .gitignore | 3 +++ crowdin.example.yml | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 crowdin.example.yml diff --git a/.gitignore b/.gitignore index 93cf4a2d..7f5d55f5 100644 --- a/.gitignore +++ b/.gitignore @@ -195,3 +195,6 @@ crowdin.yml !/gradle/wrapper/gradle-wrapper.jar # End of https://www.gitignore.io/api/android,androidstudio + +# Crowdin Config +crowdin.yml diff --git a/crowdin.example.yml b/crowdin.example.yml new file mode 100644 index 00000000..a7eb755f --- /dev/null +++ b/crowdin.example.yml @@ -0,0 +1,10 @@ +"project_id": "375123" +"api_token": "-removed-" +"base_path" : "" +"preserve_hierarchy": false +files: [ + { + "source" : "app/src/main/res/values/strings.xml", + "translation" : "app/src/main/res/values-%two_letters_code%/strings.xml", + } +]