fix: use correct filepath

Resolves https://github.com/go-vikunja/vikunja/issues/1345
This commit is contained in:
kolaente 2025-08-29 17:20:43 +02:00
parent 136690b31e
commit fd8a36c9bb
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -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 {