Add a warning about the importer being in beta and to report issues

pull/5052/head
Bradley Hilton 10 years ago
parent 5d22f9a662
commit 8e327df7a5
  1. 1
      packages/rocketchat-i18n/i18n/en.i18n.json
  2. 13
      packages/rocketchat-importer-hipchat-enterprise/main.js

@ -570,6 +570,7 @@
"Importer_Archived": "Archived",
"Importer_CSV_Information": "The CSV importer requires a specific format, please read the documentation for how to structure your zip file:",
"Importer_HipChatEnterprise_Information": "The file uploaded must be a decrypted tar.gz, please read the documentation for further information:",
"Importer_HipChatEnterprise_BetaWarning": "Please be aware that this import is still a work in progress, please report any errors which occur in GitHub:",
"Importer_done": "Importing complete!",
"Importer_finishing": "Finishing up the import.",
"Importer_From_Description": "Imports __from__ data into Rocket.Chat.",

@ -2,9 +2,14 @@
Importer.addImporter('hipchatenterprise', Importer.HipChatEnterprise, {
name: 'HipChat Enterprise',
warnings: [{
text: 'Importer_HipChatEnterprise_Information',
href: 'https://rocket.chat/docs/administrator-guides/import/hipchat/enterprise/'
}],
warnings: [
{
text: 'Importer_HipChatEnterprise_Information',
href: 'https://rocket.chat/docs/administrator-guides/import/hipchat/enterprise/'
}, {
text: 'Importer_HipChatEnterprise_BetaWarning',
href: 'https://github.com/RocketChat/Rocket.Chat/issues/new'
}
],
fileTypeRegex: new RegExp('application\/.*?gzip')
});

Loading…
Cancel
Save