From 9a92d633fd43b1db6c658e84e65b6fa8ed431196 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 1 Dec 2023 07:51:23 +0100 Subject: [PATCH] Added Crowdin sync task --- app/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index a53bd14c7a..69c2a8eab1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -400,6 +400,13 @@ task updatePrivacy(type: Exec) { commandLine 'sh', '-c', 'pandoc --standalone --metadata title="FairEmail" --css=privacy.css PRIVACY.md -o privacy.html' } +task updateCrowdin(type: Exec) { + // https://crowdin.github.io/crowdin-cli/ + // https://developer.crowdin.com/configuration-file/ + workingDir "${rootDir}" + commandLine 'sh', '-c', 'crowdin download --branch=master' +} + task downloadPSL(type: Download) { // https://github.com/michel-kraemer/gradle-download-task src "https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat"