🐛 Fix use wrong config key
This commit is contained in:
parent
eaa8fb5225
commit
7d1165b87b
@ -3,10 +3,11 @@ package gap
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.solsynth.dev/hypernet/nexus/pkg/nex/localize"
|
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"git.solsynth.dev/hypernet/nexus/pkg/nex/localize"
|
||||||
|
|
||||||
"git.solsynth.dev/hypernet/nexus/pkg/nex"
|
"git.solsynth.dev/hypernet/nexus/pkg/nex"
|
||||||
"git.solsynth.dev/hypernet/nexus/pkg/nex/rx"
|
"git.solsynth.dev/hypernet/nexus/pkg/nex/rx"
|
||||||
"git.solsynth.dev/hypernet/nexus/pkg/proto"
|
"git.solsynth.dev/hypernet/nexus/pkg/proto"
|
||||||
@ -84,5 +85,5 @@ func InitializeToNexus() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func LoadLocalization() error {
|
func LoadLocalization() error {
|
||||||
return localize.LoadLocalization(viper.GetString("locales_path"), viper.GetString("templates_path"))
|
return localize.LoadLocalization(viper.GetString("locales_dir"), viper.GetString("templates_dir"))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user