Update download-translations.js

This commit is contained in:
Bram Kragten 2023-07-05 17:23:24 +02:00
parent cc8ab184e3
commit c95232fecb
No known key found for this signature in database
GPG Key ID: FBE2DFDB363EF55B

View File

@ -64,7 +64,7 @@ gulp.task("convert-backend-translations", function () {
return gulp return gulp
.src([`${inDirBackend}/*.json`]) .src([`${inDirBackend}/*.json`])
.pipe(transform((data, file) => convertBackendTranslations(data, file))) .pipe(transform((data, file) => convertBackendTranslations(data, file)))
.pipe(gulp.dest(`${inDirBackend}/converted`)); .pipe(gulp.dest(inDirBackend));
}); });
gulp.task("check-translations-html", function () { gulp.task("check-translations-html", function () {
@ -92,9 +92,5 @@ gulp.task("check-all-files-exist", async function () {
gulp.task( gulp.task(
"check-downloaded-translations", "check-downloaded-translations",
gulp.series( gulp.series("check-translations-html", "check-all-files-exist")
"convert-backend-translations",
"check-translations-html",
"check-all-files-exist"
)
); );