♻️ Replace i18n services with nexus one
This commit is contained in:
@ -3,6 +3,7 @@ package gap
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"git.solsynth.dev/hypernet/nexus/pkg/nex/localize"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@ -81,3 +82,7 @@ func InitializeToNexus() error {
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
func LoadLocalization() error {
|
||||
return localize.LoadLocalization(viper.GetString("locales_path"), viper.GetString("templates_path"))
|
||||
}
|
||||
|
Reference in New Issue
Block a user