Use lang file in typescript
This commit is contained in:
committed by
Harvey Tindall
parent
4ac62a107c
commit
c72282613d
@@ -34,6 +34,7 @@ func (app *appContext) AdminPage(gc *gin.Context) {
|
||||
"username": !app.config.Section("email").Key("no_username").MustBool(false),
|
||||
"strings": app.storage.lang.Admin[lang]["strings"],
|
||||
"quantityStrings": app.storage.lang.Admin[lang]["quantityStrings"],
|
||||
"language": app.storage.lang.AdminJSON[lang],
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user