From 94c35d86e2ebaeb4528a6937be0348fb7cb7a60a Mon Sep 17 00:00:00 2001 From: Cody Henthorne Date: Tue, 6 Dec 2022 15:11:20 -0500 Subject: [PATCH] Update post translation qa tasks. --- app/translations.gradle | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/app/translations.gradle b/app/translations.gradle index d94dc5e197..08f7d2b13e 100644 --- a/app/translations.gradle +++ b/app/translations.gradle @@ -29,12 +29,6 @@ def autoResConfig() { .sort() } -task pullTranslations(type: Exec) { - group 'Translate' - description 'Pull translations, requires transifex client and api key.' - commandLine 'tx', 'pull', '-a', '--minimum-perc=79', '--force', '--parallel' -} - task replaceEllipsis { group 'Translate' description 'Process strings for ellipsis characters.' @@ -48,7 +42,6 @@ task replaceEllipsis { } } } - mustRunAfter pullTranslations } task cleanApostropheErrors { @@ -64,7 +57,6 @@ task cleanApostropheErrors { } } } - mustRunAfter replaceEllipsis } task excludeNonTranslatables { @@ -120,14 +112,12 @@ task excludeNonTranslatables { } } } - mustRunAfter cleanApostropheErrors } task postTranslateQa { group 'Translate' description 'Runs QA to check validity of updated strings, and ensure presence of any new languages in internal lists.' dependsOn ':qa' - mustRunAfter excludeNonTranslatables } task postTranslateIpFetch { @@ -147,8 +137,8 @@ task postTranslateIpFetch { } } -task translate { +task translateQa { group 'Translate' - description 'Pull translations and post-process for ellipsis, apostrophes and non-translatables.' - dependsOn pullTranslations, replaceEllipsis, cleanApostropheErrors, excludeNonTranslatables, postTranslateIpFetch, postTranslateQa + description 'Post-process for ellipsis, apostrophes and non-translatables.' + dependsOn replaceEllipsis, cleanApostropheErrors, excludeNonTranslatables, postTranslateIpFetch, postTranslateQa }