From 899ab31fff9b34bc125faf75b79a89e390deb2cf Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 1 Sep 2017 09:00:27 -0400 Subject: Implement experimental REST API endpoints for plugins (#7279) * Implement experimental REST API endpoints for plugins * Updates per feedback and rebase * Update tests * Further updates * Update extraction of plugins * Use OS temp dir for plugins instead of search path * Fail extraction on paths that attempt to traverse upward * Update pluginenv ActivePlugins() --- i18n/en.json | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) (limited to 'i18n/en.json') diff --git a/i18n/en.json b/i18n/en.json index af93ef775..794424aff 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -403,6 +403,62 @@ "id": "api.command.delete.app_error", "translation": "Invalid permissions to delete command" }, + { + "id": "app.plugin.disabled.app_error", + "translation": "Plugins have been disabled by the system admin or the server has not been restarted since they were enabled." + }, + { + "id": "app.plugin.disabled.app_error", + "translation": "" + }, + { + "id": "app.plugin.extract.app_error", + "translation": "Encountered error extracting plugin" + }, + { + "id": "app.plugin.no_files.app_error", + "translation": "No files found in the compressed folder" + }, + { + "id": "app.plugin.bad_path.app_error", + "translation": "Bad file path in extracted files" + }, + { + "id": "app.plugin.manifest.app_error", + "translation": "Unable to find manifest for extracted plugin" + }, + { + "id": "app.plugin.mvdir.app_error", + "translation": "Unable to move plugin from temporary directory to final destination" + }, + { + "id": "app.plugin.activate.app_error", + "translation": "Unable to activate extracted plugin. Plugin may already exist and be activated." + }, + { + "id": "app.plugin.get_plugins.app_error", + "translation": "Unable to get active plugins" + }, + { + "id": "app.plugin.deactivate.app_error", + "translation": "Unable to deactivate plugin" + }, + { + "id": "app.plugin.remove.app_error", + "translation": "Unable to delete plugin" + }, + { + "id": "api.plugin.upload.no_file.app_error", + "translation": "Missing file in multipart/form request" + }, + { + "id": "api.plugin.upload.array.app_error", + "translation": "File array is empty in multipart/form request" + }, + { + "id": "api.plugin.upload.file.app_error", + "translation": "Unable to open file in multipart/form request" + }, { "id": "api.command.disabled.app_error", "translation": "Commands have been disabled by the system admin." @@ -4187,6 +4243,10 @@ "id": "model.channel_member.is_valid.user_id.app_error", "translation": "Invalid user id" }, + { + "id": "model.client.writer.app_error", + "translation": "Unable to build multipart request" + }, { "id": "model.client.connecting.app_error", "translation": "We encountered an error while connecting to the server" -- cgit v1.2.3-1-g7c22