diff options
author | Jesús Espino <jespinog@gmail.com> | 2018-07-19 19:46:53 +0200 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2018-07-19 10:46:53 -0700 |
commit | 17c081736186816d0bc32e76432d086fc7df3809 (patch) | |
tree | 1f127ed512137cf6851eb83c399aea9ae7157a6a | |
parent | 9aab19d462cd89a31721ffb58227958057789922 (diff) | |
download | chat-17c081736186816d0bc32e76432d086fc7df3809.tar.gz chat-17c081736186816d0bc32e76432d086fc7df3809.tar.bz2 chat-17c081736186816d0bc32e76432d086fc7df3809.zip |
Add missed plugin error translation (#9131)
-rw-r--r-- | app/plugin_statuses.go | 2 | ||||
-rw-r--r-- | i18n/en.json | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/plugin_statuses.go b/app/plugin_statuses.go index 1a80beaab..4922f0fc1 100644 --- a/app/plugin_statuses.go +++ b/app/plugin_statuses.go @@ -17,7 +17,7 @@ func (a *App) GetPluginStatuses() (model.PluginStatuses, *model.AppError) { pluginStatuses, err := a.Plugins.Statuses() if err != nil { - return nil, model.NewAppError("GetPluginStatuses", "Unable to get plugin statuses", nil, err.Error(), http.StatusInternalServerError) + return nil, model.NewAppError("GetPluginStatuses", "app.plugin.get_statuses.app_error", nil, err.Error(), http.StatusInternalServerError) } // Add our cluster ID diff --git a/i18n/en.json b/i18n/en.json index aad77aeb5..b057abbf4 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -3027,6 +3027,10 @@ "translation": "Unable to get active plugins" }, { + "id": "app.plugin.get_statuses.app_error", + "translation": "Unable to get plugin statuses" + }, + { "id": "app.plugin.install.app_error", "translation": "Unable to install plugin." }, |