Argh, my bad, so much commits with typo and my blindness...
This commit is contained in:
1 parent
fddb30b939
commit
1836c46d66
1 file changed
+1
-1
@@ -38,7 +38,7 @@ func (t *Translator) detectTranslationsDirectory() error {
|
|||||||
// Translations MUST reside in directory neear binary!
|
// Translations MUST reside in directory neear binary!
|
||||||
// ToDo: more checks.
|
// ToDo: more checks.
|
||||||
dir, _ := filepath.Abs(filepath.Dir(os.Args[0]))
|
dir, _ := filepath.Abs(filepath.Dir(os.Args[0]))
|
||||||
t.translationsPath = filepath.join(dir, "translations")
|
t.translationsPath = filepath.Join(dir, "translations")
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user