Argh, my bad, so much commits with typo and my blindness...

This commit is contained in:
Stanislav Nikitin 2017-02-09 03:09:57 +05:00
parent fddb30b939
commit 1836c46d66

View File

@ -38,7 +38,7 @@ func (t *Translator) detectTranslationsDirectory() error {
// Translations MUST reside in directory neear binary!
// ToDo: more checks.
dir, _ := filepath.Abs(filepath.Dir(os.Args[0]))
t.translationsPath = filepath.join(dir, "translations")
t.translationsPath = filepath.Join(dir, "translations")
return nil
}