forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
localization.gradle
44 lines (38 loc) · 1.27 KB
/
localization.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
repositories {
jcenter()
}
configurations {
jython
}
dependencies {
jython 'org.python:jython-standalone:2.7.0'
}
task checkTranslations(type: JavaExec) {
description "Print empty and duplicate translations."
main 'org.python.util.jython'
classpath project.configurations.jython.asPath
args file("scripts/syncLang.py")
args "-d"
}
task checkTranslationsSummary(type: JavaExec) {
description "Print summary of empty and duplicate translations."
main 'org.python.util.jython'
classpath project.configurations.jython.asPath
args file("scripts/syncLang.py")
args "-c"
}
task compareTranslationsWithEnglishTranslation(type: JavaExec) {
description "Prints differences between the English translation and translations in other languages."
main 'org.python.util.jython'
classpath project.configurations.jython.asPath
args file("scripts/syncLang.py")
args "-t"
}
task compareAndUpdateTranslationsWithEnglishTranslation(type: JavaExec) {
description "Prints differences between the English translation and translations in other languages, and updates translations if possible."
main 'org.python.util.jython'
classpath project.configurations.jython.asPath
args file("scripts/syncLang.py")
args "-t"
args "-u"
}