From fd8a36c9bb89b1510906cad805ca782956a42e9e Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 29 Aug 2025 17:20:43 +0200 Subject: [PATCH] fix: use correct filepath Resolves https://github.com/go-vikunja/vikunja/issues/1345 --- pkg/i18n/i18n.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/i18n/i18n.go b/pkg/i18n/i18n.go index 2017e85af..ff2307ebd 100644 --- a/pkg/i18n/i18n.go +++ b/pkg/i18n/i18n.go @@ -21,7 +21,7 @@ import ( "encoding/json" "fmt" "io/fs" - "path/filepath" + "path" "strings" "sync" @@ -97,7 +97,7 @@ func Init() { continue } - filePath := filepath.Join(dir, entry.Name()) + filePath := path.Join(dir, entry.Name()) err = translator.loadFile(localeFS, langCode, filePath) if err != nil {