From f33cff21cf41ed060783e1eaad6c1c4838216ed2 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Mon, 25 Jan 2016 10:22:12 -0300 Subject: PLT-7: Refactoring models to use translations (chunk 6) - Add spanish translations --- model/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'model/utils.go') diff --git a/model/utils.go b/model/utils.go index a18ca760e..70b7e3bbd 100644 --- a/model/utils.go +++ b/model/utils.go @@ -67,7 +67,7 @@ func AppErrorFromJson(data io.Reader) *AppError { if err == nil { return &er } else { - return NewAppError("AppErrorFromJson", "could not decode", err.Error()) + return NewLocAppError("AppErrorFromJson", "model.utils.decode_json.app_error", nil, err.Error()) } } -- cgit v1.2.3-1-g7c22