diff --git a/main/webapp/modules/core/langs/translation-en.json b/main/webapp/modules/core/langs/translation-en.json index df91b71ea..08a1ca6bf 100644 --- a/main/webapp/modules/core/langs/translation-en.json +++ b/main/webapp/modules/core/langs/translation-en.json @@ -69,6 +69,7 @@ "core-index-import/unknown-err": "Unknown error", "core-index-import/error": "Error:", "core-index-import/select-file": "Select Files to Import", + "core-index-import/single-project": "OpenRefine can only import multiple files into a single project if all selected files have the same file format.", "core-index-import/several-file": "There are several files available. Please select the ones to import.", "core-index-import/sel-by-extension": "Select by Extension", "core-index-import/sel-by-regex": "Select by Regex on File Names", diff --git a/main/webapp/modules/core/scripts/index/default-importing-controller/file-selection-panel.html b/main/webapp/modules/core/scripts/index/default-importing-controller/file-selection-panel.html index 2d5dc9e37..ab466f5c6 100644 --- a/main/webapp/modules/core/scripts/index/default-importing-controller/file-selection-panel.html +++ b/main/webapp/modules/core/scripts/index/default-importing-controller/file-selection-panel.html @@ -6,6 +6,9 @@
+ + + diff --git a/main/webapp/modules/core/scripts/index/default-importing-controller/file-selection-panel.js b/main/webapp/modules/core/scripts/index/default-importing-controller/file-selection-panel.js index c5c69f709..4251cb143 100644 --- a/main/webapp/modules/core/scripts/index/default-importing-controller/file-selection-panel.js +++ b/main/webapp/modules/core/scripts/index/default-importing-controller/file-selection-panel.js @@ -60,6 +60,7 @@ Refine.DefaultImportingController.prototype._prepareFileSelectionPanel = functio this._fileSelectionPanelElmts = DOM.bind(this._fileSelectionPanel); $('#or-import-select').text($.i18n('core-index-import/select-file')); + $('#or-import-singleProject').text($.i18n('core-index-import/single-project')); $('#or-import-severalFile').text($.i18n('core-index-import/several-file')); $('#or-import-selExt').text($.i18n('core-index-import/sel-by-extension')); $('#or-import-regex').text($.i18n('core-index-import/sel-by-regex'));