mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-24 22:25:15 +00:00
fix: use correct filepath
Resolves https://github.com/go-vikunja/vikunja/issues/1345
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user