add core.Localizer
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ func main() {
|
||||
// make sure it exists so we can start working with files in it
|
||||
os.MkdirAll(dataPath, os.ModePerm)
|
||||
|
||||
err := core.Init(dataPath)
|
||||
err := core.Init(dataPath, localizer)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error in initialization: %v\n", err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user