Start adding translation support for admin
This commit is contained in:
committed by
Harvey Tindall
parent
a102199d5a
commit
4ac62a107c
@@ -514,6 +514,7 @@ func start(asDaemon, firstCall bool) {
|
||||
}
|
||||
}
|
||||
app.storage.lang.FormPath = filepath.Join(app.localPath, "lang", "form")
|
||||
app.storage.lang.AdminPath = filepath.Join(app.localPath, "lang", "admin")
|
||||
err = app.storage.loadLang()
|
||||
if err != nil {
|
||||
app.info.Fatalf("Failed to load language files: %+v\n", err)
|
||||
|
||||
Reference in New Issue
Block a user