added placeholder files for all missing translations

This commit is contained in:
Nuno Coração
2024-03-19 23:20:22 +00:00
parent 8b93b9960a
commit e6a8167b11
124 changed files with 11711 additions and 1 deletions

View File

@@ -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);
}
}