summaryrefslogtreecommitdiffstats
path: root/i18n
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2016-10-12 14:31:05 +0100
committerHarrison Healey <harrisonmhealey@gmail.com>2016-10-12 09:31:05 -0400
commit5ca05124cf2c4f106f0fef95546bd4b9d376af3e (patch)
tree544b778a73411a0c84671f22bd82e5d0bddc27ed /i18n
parent1b0c1eb3ae53218c05ff77719230bd91cb7883d9 (diff)
downloadchat-5ca05124cf2c4f106f0fef95546bd4b9d376af3e.tar.gz
chat-5ca05124cf2c4f106f0fef95546bd4b9d376af3e.tar.bz2
chat-5ca05124cf2c4f106f0fef95546bd4b9d376af3e.zip
Import Slack uploads if present in zip archive. (#4088)
* Import Slack uploads if present in zip archive. This is part 3 of PLT-4280, to support importing file uploads when importing from Slack. It is assumed the uploads in the zip archive will be present as per the output of slack-advanced-exporter: https://github.com/grundleborg/slack-advanced-exporter If the uploads are not present (ie. this is a vanilla Slack export archive) uploads are treated in the same way as before this patch, providing only a link to the upload on Slack's servers. * Update to new Files API.
Diffstat (limited to 'i18n')
-rw-r--r--i18n/en.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/i18n/en.json b/i18n/en.json
index 02c0901d4..be92ee0b8 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1536,6 +1536,10 @@
"translation": "Merged with existing channel: {{.DisplayName}}\r\n"
},
{
+ "id": "api.slackimport.slack_add_posts.attach_files.error",
+ "translation": "Encountered error attaching files to post, post_id=%s, file_ids=%v, err=%v"
+ },
+ {
"id": "api.slackimport.slack_add_posts.bot.warn",
"translation": "Slack bot posts are not imported yet"
},
@@ -1552,6 +1556,22 @@
"translation": "Unsupported post type: %v, %v"
},
{
+ "id": "api.slackimport.slack_add_posts.upload_file_not_found.warn",
+ "translation": "No file found in Slack export for file upload message with file ID {{.FileId}}"
+ },
+ {
+ "id": "api.slackimport.slack_add_posts.upload_file_not_in_json.warn",
+ "translation": "Cannot import file for upload post with no \"file\" section present in export."
+ },
+ {
+ "id": "api.slackimport.slack_add_posts.upload_file_open_failed.warn",
+ "translation": "Could not open the upload file with ID {{.FileId}} in the export archive with error: {{.Error}}"
+ },
+ {
+ "id": "api.slackimport.slack_add_posts.upload_file_upload_failed.warn",
+ "translation": "Uploading the file for upload message with file ID {{.FileId}} failed with error: {{.Error}}"
+ },
+ {
"id": "api.slackimport.slack_add_posts.user_no_exists.debug",
"translation": "User: %v does not exist!"
},