From 4523169549700d58780ec37c3d01e756a1361705 Mon Sep 17 00:00:00 2001 From: "Sean E. Russell" Date: Mon, 25 Jan 2021 12:18:59 -0600 Subject: Translations didn't work outside of the project directory. --- cmd/gotop/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') 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 -- cgit v1.2.3