Added Crowdin sync task

This commit is contained in:
M66B 2023-12-01 07:51:23 +01:00
parent 834c08bb00
commit 9a92d633fd
1 changed files with 7 additions and 0 deletions

View File

@ -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"