diff --git a/app/view/make/make.js b/app/view/make/make.js index 83a6d347..e2378bb8 100644 --- a/app/view/make/make.js +++ b/app/view/make/make.js @@ -10,8 +10,8 @@ if (process.argv.indexOf("--automatic") === -1) { } } console.log("Constructing view files " + ver + ": make sure to update package.json") -const langs = ["ja", "en", "ps", "bg", "cs", "de", "es-AR"] -const langsh = ["日本語", "English", "Crowdin translate system(beta)", "български", "Česky", "Deutsch", "Spanish, Argentina"] +const langs = ["ja", "en", "bg", "cs", "de", "es-AR", "ps"] +const langsh = ["日本語", "English", "български", "Česky", "Deutsch", "Spanish, Argentina", "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"] @@ -23,7 +23,7 @@ for (let n = 0; n < langs.length; n++) { if (!fs.existsSync(targetDir)) { fs.mkdirSync(targetDir); } - langstr = langstr + '' + langsh[n] + '' + langstr = langstr + '' + langsh[n] + '' fs.writeFileSync("../" + lang + "/main.js", fs.readFileSync("language/" + lang + "/main.json", 'utf8').replace(/^{/, "var lang = {")) } for (let i = 0; i < samples.length; i++) { diff --git a/app/view/make/setting.sample.html b/app/view/make/setting.sample.html index 36d14961..27fd94d4 100644 --- a/app/view/make/setting.sample.html +++ b/app/view/make/setting.sample.html @@ -46,7 +46,7 @@