From 3bc89083fca64a1d096cc897f13d0a9b68433a8f Mon Sep 17 00:00:00 2001 From: Charles Kenney Date: Wed, 17 Oct 2018 20:31:51 -0400 Subject: Add GetFileLink method to plugin API (#9665) * add GetFileLink method to plugin API * Update plugin/api.go * add translations for new plugin API errors --- i18n/en.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index d5a6f519a..7f4e8c4a5 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -4842,6 +4842,14 @@ "id": "oauth.gitlab.tos.error", "translation": "GitLab's Terms of Service have updated. Please go to gitlab.com to accept them and then try logging into Mattermost again." }, + { + "id": "plugin_api.get_file_link.disabled.app_error", + "translation": "Public links have been disabled" + }, + { + "id": "plugin_api.get_file_link.no_post.app_error", + "translation": "Unable to get public link for file. File must be attached to a post that can be read." + }, { "id": "plugin.api.update_user_status.bad_status", "translation": "Unable to set the user status. Unknown user status." -- cgit v1.2.3-1-g7c22