insert.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. const insertTrans = {
  2. import: 'Import Data',
  3. targetTip: 'Where to put your data',
  4. file: 'File',
  5. uploaderLabel: 'Choose CSV File',
  6. fileNamePlaceHolder: 'No file selected',
  7. sample: 'CSV Sample',
  8. noteTitle: 'Note',
  9. notes: [
  10. `Make sure column names in the data are same as the field label names in Schema.`,
  11. `Data size should be less than 150MB and the number of rows should be less than 100000, for the data to be imported properly.`,
  12. `The "Import Data" option will only append new records. You cannot update existing records using this option.`,
  13. ],
  14. overSizeWarning: 'File data size should less than {{size}}MB',
  15. isContainFieldNames: 'First row contains field names?',
  16. uploadFileDisableTooltip: 'Please select collection before uploading',
  17. uploadFieldNamesLenWarning:
  18. 'Uploaded data column count is not equal to schema count',
  19. uploadAutoIdFieldWarning:
  20. 'AutoId field ({{fieldName}}) does not require data',
  21. previewTipData: 'Data Preview(Top 4 rows shown)',
  22. previewTipAction: '*Change header cell selector value to edit field name',
  23. requiredFieldName: 'Field Name*',
  24. statusLoading: 'Your data is importing now...It may take few minutes',
  25. statusLoadingTip: 'Please wait patiently, thank you',
  26. statusSuccess: 'Import Data Successfully!',
  27. statusError: 'Import Data Failed!',
  28. };
  29. export default insertTrans;