1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-18 20:59:43 +02:00

Fix i18n strings

This commit is contained in:
Harvey Kandola 2022-03-22 12:14:31 -04:00
parent 6c8b10753d
commit 78932fb8c7
4 changed files with 6 additions and 6 deletions

View file

@ -99,7 +99,7 @@ func (h *Handler) SetSMTP(w http.ResponseWriter, r *http.Request) {
Message string `json:"message"`
}
result.Message = i18n.Localize(ctx.Locale, "server_smtp_test")
result.Message = i18n.Localize(ctx.Locale, "server_smtp_success")
u, err := h.Store.User.Get(ctx, ctx.UserID)
if err != nil {
@ -111,7 +111,7 @@ func (h *Handler) SetSMTP(w http.ResponseWriter, r *http.Request) {
}
cfg := GetSMTPConfig(h.Store)
h.Runtime.Log.Infof("%v", cfg)
// h.Runtime.Log.Infof("%v", cfg)
dialer, err := smtp.Connect(cfg)
em := smtp.EmailMessage{}
em.Subject = i18n.Localize(ctx.Locale, "server_smtp_test_subject")