mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-27 21:38:31 +00:00
move script
This commit is contained in:
parent
e91d972753
commit
c7bb3f8acf
@ -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