From 2f8eaa96ecee581b33e6406e6d81ac31e6925947 Mon Sep 17 00:00:00 2001 From: Alen BOHCELYAN Date: Tue, 14 Feb 2017 18:27:33 +0000 Subject: [PATCH] no force for translations --- translations/translations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations/translations.go b/translations/translations.go index 944b12fc..a548ec1d 100644 --- a/translations/translations.go +++ b/translations/translations.go @@ -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) }