mirror of https://github.com/gophish/gophish
no force for translations
parent
2d26b0e031
commit
2f8eaa96ec
|
@ -10,7 +10,7 @@ var Lang = "en-US"
|
||||||
|
|
||||||
func T(text string) string{
|
func T(text string) string{
|
||||||
if B == nil {
|
if B == nil {
|
||||||
i18n.MustLoadTranslationFile("translations/" + strings.ToLower(Lang) + ".all.json")
|
i18n.LoadTranslationFile("translations/" + strings.ToLower(Lang) + ".all.json")
|
||||||
B, _ = i18n.Tfunc(Lang)
|
B, _ = i18n.Tfunc(Lang)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue