mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-25 20:38:28 +00:00
Update ci-generateTranslations.js
This commit is contained in:
parent
f43f79a6cd
commit
4992858414
2
.github/ci-generateTranslations.js
vendored
2
.github/ci-generateTranslations.js
vendored
@ -25,7 +25,7 @@ function downloadTranslation(filename, trans = {}) {
|
|||||||
console.log("Saving translation: " + filename);
|
console.log("Saving translation: " + filename);
|
||||||
const textDoc = JSON.stringify(trans, null, 2);
|
const textDoc = JSON.stringify(trans, null, 2);
|
||||||
|
|
||||||
fs.writeFile(`translations\\${filename}.json`, textDoc, function (err) {
|
fs.writeFile(`translations/${filename}.json`, textDoc, function (err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return console.log(err);
|
return console.log(err);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user