diff options
author | Sean E. Russell <ser@ser1.net> | 2021-01-25 12:18:59 -0600 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2021-01-25 12:18:59 -0600 |
commit | 4523169549700d58780ec37c3d01e756a1361705 (patch) | |
tree | 4df0116fc2cc2d787bd361b29e23ecb35436cd42 /cmd | |
parent | 9e33fa1f0b9d7b97c56d8819bd9fc9d61f733ebb (diff) |
Translations didn't work outside of the project directory.v4.1.0
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gotop/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go index 3545470..cfb8ab8 100644 --- a/cmd/gotop/main.go +++ b/cmd/gotop/main.go @@ -354,7 +354,7 @@ func main() { } func run() int { - ling, err := lingo.New("en_US", "translations", translations.AssetFile()) + ling, err := lingo.New("en_US", "", translations.AssetFile()) if err != nil { fmt.Printf("failed to load language files: %s\n", err) return 2 |