basically new readme and more languages

- indonesian localization by @LyfeV
- rewrote readme
- added new line at the end for files that were missing it
This commit is contained in:
wukko
2022-08-01 21:48:37 +06:00
parent ca1a5a32b4
commit c0289b6a8c
26 changed files with 73 additions and 44 deletions

View File

@@ -8,4 +8,4 @@ export function md5(string) {
}
export function UUID() {
return randomUUID();
}
}

View File

@@ -7,4 +7,4 @@ export function getCommitInfo() {
let d = execSync(`git show -s --format='%s;;;%B'`).toString().trim().replace(/[\r\n]/gm, '\n').split(';;;')
d[1] = d[1].replace(d[0], '').trim().toString().replace(/[\r\n]/gm, '<br>')
return d
}
}

View File

@@ -8,4 +8,4 @@ export function errorUnsupported(lang) {
}
export function genericError(lang, host) {
return loc(lang, 'ErrorBrokenLink', host);
}
}

View File

@@ -6,4 +6,4 @@ export default function(path) {
} catch(e) {
return false
}
}
}

View File

@@ -56,4 +56,4 @@ export function unicodeDecode(str) {
return str.replace(/\\u[\dA-F]{4}/gi, (unicode) => {
return String.fromCharCode(parseInt(unicode.replace(/\\u/g, ""), 16));
});
}
}