Skip to content

Requisition List Dictionary

The Requisition List dictionary contains all user-facing text, labels, and messages displayed by this drop-in. Customize the dictionary to:

  • Localize the drop-in for different languages and regions
  • Customize labels and messages to match your brand voice
  • Override default text without modifying source code for the drop-in

Dictionaries use the i18n (internationalization) pattern, where each text string is identified by a unique key path.

Version: 1.4.0

Override dictionary values during drop-in initialization. The drop-in deep-merges your custom values with the defaults.

import { initialize } from '@dropins/storefront-requisition-list';
await initialize({
langDefinitions: {
en_US: {
"RequisitionList": {
"containerTitle": {
"0": "Custom value",
"1": "Custom value"
}
}
}
}
});

You only need to include the keys you want to change. For multi-language support and advanced patterns, see the Dictionary customization guide.

Below are the default English (en_US) strings provided by the Requisition List drop-in:

{
"RequisitionList": {
"containerTitle": "Requisition Lists",
"RequisitionListWrapper": {
"name": "Name & Description",
"itemsCount": "Items",
"lastUpdated": "Latest activity",
"actions": "Actions",
"loginMsg": "Please login",
"deleteRequisitionListTitle": "Are you sure you want to delete this Requisition List?",
"deleteRequisitionListMessage": "Requisition List will be permanently deleted. This action can not be undone.",
"confirmAction": "Confirm",
"cancelAction": "Cancel",
"emptyList": "No Requisition Lists found"
},
"AddNewReqList": {
"addNewReqListBtn": "Add new Requisition List"
},
"RequisitionListItem": {
"actionUpdate": "Update",
"actionDelete": "Delete"
},
"RequisitionListForm": {
"actionCancel": "Cancel",
"actionSave": "Save",
"requiredField": "This is a required field.",
"nameMinLength": "Name must be at least {min} characters long.",
"nameInvalidCharacters": "Name contains invalid characters. Only letters, numbers, spaces, and basic punctuation are allowed.",
"floatingLabel": "Requisition List Name *",
"placeholder": "Requisition List Name",
"label": "Description",
"updateTitle": "Update Requisition List",
"createTitle": "Create Requisition List",
"addToRequisitionList": "Add to Requisition List"
},
"RequisitionListSelector": {
"addToNewRequisitionList": "Add to New Requisition List",
"addToSelected": "Add to Selected List"
},
"RequisitionListAlert": {
"errorCreate": "Error creating requisition list.",
"successCreate": "Requisition list created successfully.",
"errorAddToCart": "Error adding item to cart.",
"successAddToCart": "Item(s) added to cart successfully.",
"errorUpdateQuantity": "Error updating quantity.",
"successUpdateQuantity": "Item quantity updated successfully.",
"errorUpdate": "Error updating requisition list.",
"successUpdate": "Requisition list updated successfully.",
"errorDeleteItem": "Error deleting item.",
"successDeleteItem": "Item(s) deleted successfully.",
"errorDeleteReqList": "Error deleting requisition list.",
"successDeleteReqList": "Requisition list deleted successfully.",
"errorMove": "Error moving item(s) to cart.",
"successMove": "Item(s) successfully moved to cart.",
"partialMoveSuccess": "{successCount} product(s) successfully added and {failedCount} product(s) couldn't be added to your shopping cart.",
"errorAddToRequisitionList": "Error adding item(s) to requisition list.",
"successAddToRequisitionList": "Item(s) successfully added to requisition list.",
"errorMoveToList": "Error moving item(s) to requisition list.",
"successMoveToList": "Item(s) successfully moved to {listName}.",
"errorCopyToList": "Error copying item(s) to requisition list.",
"successCopyToList": "Item(s) successfully copied to {listName}.",
"errorImport": "Error importing requisition list.",
"successImport": "Requisition list \"{listName}\" has been added to your account."
},
"SharedRequisitionList": {
"loading": "Loading shared requisition list...",
"previewTitle": "Shared Requisition List",
"senderLabel": "Shared by",
"listNameLabel": "List name",
"descriptionLabel": "Description",
"itemsCountLabel": "Items",
"importButton": "Import List",
"importingButton": "Importing...",
"errorPreview": "Unable to load the shared requisition list.",
"skuHeader": "SKU",
"qtyHeader": "Qty",
"optionsHeader": "Options"
},
"RequisitionListView": {
"actionDelete": "Delete",
"statusDeleting": "Deleting...",
"actionDeleteSelected": "Delete Selected",
"actionDeleteSelectedItems": "Delete selected items",
"actionSelect": "Select",
"actionSelectAll": "Select All",
"actionSelectNone": "Select None",
"actionAddToCart": "Add to Cart",
"statusAddingToCart": "Adding...",
"actionAddSelectedToCart": "Add Selected to Cart",
"statusBulkAddingToCart": "Adding to Cart...",
"actionUpdateQuantity": "Update",
"statusUpdatingQuantity": "Updating...",
"errorUpdateQuantity": "Error updating quantity",
"successUpdateQuantity": "Item quantity updated successfully.",
"actionBackToRequisitionListsOverview": "Back to requisition lists overview",
"actionBackToRequisitionLists": "Back to Requisition Lists",
"actionMoveToList": "Move to List",
"moveToListTitle": "Move to Requisition List",
"moveToListConfirm": "Move to requisition list",
"actionCopyToList": "Copy to List",
"copyToListTitle": "Copy to Requisition List",
"copyToListConfirm": "Copy to requisition list",
"actionRename": "Rename",
"actionDeleteList": "Delete List",
"actionShare": "Share",
"shareDisabledReason": "You cannot share an empty requisition list.",
"shareDisabledNoCompany": "Sharing is available only for company account users.",
"shareListTitle": "Share Requisition List",
"deleteListTitle": "Delete Requisition List?",
"deleteListMessage": "Are you sure you want to delete this requisition list? This action cannot be undone.",
"deleteItemsTitle": "Delete Item(s)?",
"deleteItemsMessage": "Are you sure you want to delete the selected item(s) from this requisition list? This action cannot be undone.",
"confirmAction": "Delete",
"cancelAction": "Cancel",
"emptyRequisitionList": " Requisition List is empty",
"productListTable": {
"headers": {
"productName": "Product name",
"sku": "SKU",
"price": "Price",
"quantity": "Quantity",
"subtotal": "Subtotal",
"actions": "Actions"
},
"itemQuantity": "Item quantity",
"outOfStock": "Out of stock",
"onlyXLeftInStock": "Only {count} left in stock"
},
"errorLoadPage": "Failed to load page",
"errorLoadingProducts": "Failed to load product data",
"notFoundTitle": "Requisition List Not Found",
"notFoundMessage": "The requisition list you are looking for does not exist or you do not have access to it.",
"notFoundActionLabel": "Back to Requisition Lists"
},
"ShareRequisitionListContent": {
"emailInstruction": "Select below the email addresses of the people with whom you'd like to share your list. Your name, email address and the details of your list will be shared with recipients. You can send your list with multiple recipients. Please note only registered users will be able to import lists.",
"emailLabel": "Email addresses",
"emailPlaceholder": "Select company users",
"submitLabel": "Submit",
"linkInstruction": "Copy the link below and send it to people with whom you'd like to share your list. Please note only registered users will be able to import lists.",
"copyLink": "Copy Link",
"linkCopied": "Copied!",
"loadingUsers": "Loading users...",
"loadingLink": "Generating share link...",
"noUsersAvailable": "No company colleagues available to share with.",
"usersLoadError": "Unable to load company users. Please try again.",
"maxRecipientsValidation": "You can select up to {max} recipients.",
"shareSuccessMessage": "You have shared your list with the below email addresses:"
},
"RequisitionListsNotEnabled": {
"title": "Requisition Lists Not Available",
"message": "Requisition Lists are not available. Please contact your administrator for more information.",
"actionLabel": "Go to My Account"
},
"PageSizePicker": {
"show": "Show",
"itemsPerPage": "Items per page"
},
"PaginationItemsCounter": {
"itemsCounter": "Items {from}-{to} of {total}"
}
}
}