Argh, my bad, so much commits with typo and my blindness...
This commit is contained in:
parent
fddb30b939
commit
1836c46d66
@ -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