no force for translations

pull/540/head
Alen BOHCELYAN 2017-02-14 18:27:33 +00:00
parent 2d26b0e031
commit 2f8eaa96ec
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ var Lang = "en-US"
func T(text string) string{
if B == nil {
i18n.MustLoadTranslationFile("translations/" + strings.ToLower(Lang) + ".all.json")
i18n.LoadTranslationFile("translations/" + strings.ToLower(Lang) + ".all.json")
B, _ = i18n.Tfunc(Lang)
}