const fs = require("fs") const ver="Usamin (18.3.4)" const langs=["ja","en","ps"] const langsh=["日本語","English","Crowdin translate system(beta)"] const simples=["acct","index","setting","update","setting"] const samples=["acct.sample.html","index.sample.html","setting.sample.html","update.sample.html","setting.sample.js"] const pages=["acct.html","index.html","setting.html","update.html","setting.vue.js"] let langstr="" for(let n=0; n'+langsh[n]+'' } for(let i=0; i") } source = source.replace(/@@versionLetter@@/g, ver) source = source.replace(/@@lang@@/g, lang) source = source.replace(/@@langlist@@/g, langstr) fs.writeFileSync("../"+lang+"/"+pages[i], source) } }