mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
added placeholder files for all missing translations
This commit is contained in:
@@ -28,13 +28,14 @@ async function processFile(filePath, file) {
|
||||
for(var i in targetLangs) {
|
||||
const targetLang = targetLangs[i];
|
||||
var targetFilePath = filePath.replace(".md", "." + targetLang + ".md");
|
||||
var targetFileName = file.replace(".md", "." + targetLang + ".md");
|
||||
//var targetFileName = file.replace(".md", "." + targetLang + ".md");
|
||||
|
||||
if(fs.existsSync(targetFilePath)) {
|
||||
console.log("file already exists", targetFilePath);
|
||||
}else{
|
||||
console.log("creating file", targetFilePath);
|
||||
//fs.symlinkSync(file, targetFilePath, 'junction');
|
||||
fs.copyFileSync(filePath, targetFilePath);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user