summaryrefslogtreecommitdiffstats
path: root/i18n
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-11-04 17:20:21 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2016-11-04 17:20:21 -0400
commit18745b2d5c1899bc279696548cb3ebecf7c6b90f (patch)
tree23cf9a3f8a75a89970792dd6ce0ff5b26df82850 /i18n
parent20254073cb9976e783875f997a291829e6a0d78d (diff)
downloadchat-18745b2d5c1899bc279696548cb3ebecf7c6b90f.tar.gz
chat-18745b2d5c1899bc279696548cb3ebecf7c6b90f.tar.bz2
chat-18745b2d5c1899bc279696548cb3ebecf7c6b90f.zip
Increase Channel Purpose length to 250, and add channel field length handling code to the slack importer (#4458)
* Increase Channel Purpose length to 250. This commit increases the maxmimum length of the channel purpose field to 250, including the database migration necessary. It also adds a method to the Slack importer to check the lengths of channel properties before importing, and truncate them if necessary. Fixes #4168 * Fix database migration.
Diffstat (limited to 'i18n')
-rw-r--r--i18n/en.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/i18n/en.json b/i18n/en.json
index 40259a814..53a1939be 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1672,6 +1672,22 @@
"translation": "Error parsing some slack posts. Import may work anyway."
},
{
+ "id": "api.slackimport.slack_sanitise_channel_properties.display_name_too_long.warn",
+ "translation": "Slack Importer: Channel {{.ChannelName}} has a display name which is too long. It will be truncated when imported."
+ },
+ {
+ "id": "api.slackimport.slack_sanitise_channel_properties.header_too_long.warn",
+ "translation": "Slack Importer: Channel {{.ChannelName}} has a header which is too long. It will be truncated when imported."
+ },
+ {
+ "id": "api.slackimport.slack_sanitise_channel_properties.name_too_long.warn",
+ "translation": "Slack Importer: Channel {{.ChannelName}} has a name which is too long. It will be truncated when imported."
+ },
+ {
+ "id": "api.slackimport.slack_sanitise_channel_properties.purpose_too_long.warn",
+ "translation": "Slack Importer: Channel {{.ChannelName}} has a purpose which is too long. It will be truncated when imported."
+ },
+ {
"id": "api.status.init.debug",
"translation": "Initializing status api routes"
},