BrowserSupport: Translate

This commit is contained in:
LoveEevee
2019-01-26 21:29:13 +03:00
parent 4e0d220182
commit 8d50b9ceea
10 changed files with 201 additions and 87 deletions

View File

@@ -98,6 +98,9 @@ class Titlescreen{
this.langId.setAttribute("alt", strings.id.toUpperCase())
loader.screen.style.fontFamily = strings.font
loader.screen.style.fontWeight = strings.font === "Microsoft YaHei, sans-serif" ? "bold" : ""
if(failedTests.length !== 0){
showUnsupported(strings)
}
}
addLangs(){
for(var i in allStrings){