@spartacus/cart
Version:
`@spartacus/cart` is a package that you can include in your application, which allows you to use various cart features.
71 lines (66 loc) • 2.67 kB
JavaScript
const exportEntries = {
exportToCsv: 'Export to CSV',
exportMessage: 'CSV file will download automatically to your device, if it does not please check your browser settings',
columnNames: {
code: 'Code',
quantity: 'Quantity',
name: 'Name',
price: 'Price',
},
};
const importEntries = {
importProducts: 'Import Products',
};
const importEntriesDialog = {
importProducts: 'Import Products',
importProductsSubtitle: 'Add products by importing a .CSV file.',
importProductsNewSavedCartSubtitle: 'Add products by importing a .CSV file and creating a new saved cart.',
importProductFileDetails: 'Text file should contain list of products with required columns separated by comma: SKU and quantity.',
selectFile: 'Select File',
savedCartName: 'Saved Cart Name',
savedCartDescription: 'Saved Cart Description',
optional: 'optional',
charactersLeft: 'characters left: {{count}}',
cancel: 'Cancel',
upload: 'Upload',
close: 'Close',
summary: {
info: 'Do not close or refresh this window while products are being imported.',
loadedToCart: 'Products has been loaded to cart {{ cartName }}',
loaded: 'Products has been loaded',
loading: 'Products are being processed... ({{ count }}/{{ total }})',
successes: '{{ successesCount }} out of {{ total }} products have been imported successfully.',
warning: '{{ count }} product was not imported totally.',
warning_plural: '{{ count }} products were not imported totally.',
error: '{{ count }} product was not imported.',
error_plural: '{{ count }} products were not imported.',
messages: {
unknownIdentifier: 'Product SKU "{{ productCode}}" does not exist.',
lowStock: 'Quantity for {{ productName }}: {{ quantity }} has been reduced to {{ quantityAdded }}.',
noStock: '{{ productName }} is currently out of stock.',
unknownError: 'Unrecognized problem with "{{ productCode }}".',
limitExceeded: 'Can not add "{{ productCode }}". Limit exceeded.',
},
show: 'Show',
hide: 'Hide',
},
};
const importExport = {
exportEntries,
importEntries,
importEntriesDialog,
};
const en = {
importExport,
};
const importExportTranslations = {
en,
};
const importExportTranslationChunksConfig = {
importExport: ['exportEntries', 'importEntries', 'importEntriesDialog'],
};
/**
* Generated bundle index. Do not edit.
*/
export { importExportTranslationChunksConfig, importExportTranslations };
//# sourceMappingURL=spartacus-cart-import-export-assets.js.map