diff --git a/webapp/components/team_import_tab.jsx b/webapp/components/team_import_tab.jsx index ab92903dbf..364190a520 100644 --- a/webapp/components/team_import_tab.jsx +++ b/webapp/components/team_import_tab.jsx @@ -4,7 +4,7 @@ import * as utils from 'utils/utils.jsx'; import SettingUpload from './setting_upload.jsx'; -import {intlShape, injectIntl, defineMessages, FormattedMessage, FormattedHTMLMessage} from 'react-intl'; +import {intlShape, injectIntl, defineMessages, FormattedMessage} from 'react-intl'; const holders = defineMessages({ importSlack: { @@ -44,12 +44,68 @@ class TeamImportTab extends React.Component { render() { const {formatMessage} = this.props.intl; + var uploadDocsLink = ( + + + + ); + + var uploadExportInstructions = ( + + + + ); + + var uploadExporterLink = ( + + + + ); + var uploadHelpText = (
- +

+ +

+

+ +

+

+ +

); diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index 8a8d3713e5..ed519a8b28 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -1790,7 +1790,12 @@ "team_export_tab.unable": " Unable to export: {error}", "team_import_tab.failure": " Import failure: ", "team_import_tab.import": "Import", - "team_import_tab.importHelp": "

Slack import to Mattermost supports importing of messages in your Slack team's public channels.

To import a team from Slack, go to Slack > Team Settings > Import/Export Data > Export > Start Export. See documentation to learn more.

To import posts with attached files, see Slack Advanced Exporter for details.

", + "team_import_tab.importHelpDocsLink": "documentation", + "team_import_tab.importHelpExporterLink": "Slack Advanced Exporter", + "team_import_tab.importHelpExportInstructions": "Slack > Team Settings > Import/Export Data > Export > Start Export", + "team_import_tab.importHelpLine1": "Slack import to Mattermost supports importing of messages in your Slack team's public channels.", + "team_import_tab.importHelpLine2": "To import a team from Slack, go to {exportInstructions}. See {uploadDocsLink} to learn more.", + "team_import_tab.importHelpLine3": "To import posts with attached files, see {slackAdvancedExporterLink} for details.", "team_import_tab.importSlack": "Import from Slack (Beta)", "team_import_tab.importing": " Importing...", "team_import_tab.successful": " Import successful: ",