TextLabels interface

TextLabels describes a set of text labels used by ReactGrids internal i18n module. Each text label has its own default value.

Definition

interface TextLabels {
    legacyBrowserHeader?: string,
    legacyBrowserText?: string,
    copyLabel?: string,
    cutLabel?: string,
    pasteLabel?: string,
    macOsContextMenuPasteAlert?: string,
    otherBrowsersContextMenuPasteAlert?: string,
    contextMenuPasteAlert?: string
}
Properties
Property nameTypeProperty description
legacyBrowserHeader?stringLabel of text header when browser isn’t supported, by default: Please update to a modern browser.
legacyBrowserText?stringLabel of text paragraph when browser isn’t supported, by default: Your current browser cannot run our content, please make sure you browser is fully updated or try adifferent browser. We highly recommend using the most recent release of Google Chrome, Microsoft Edge, Firefox, Safari, and Opera browser
copyLabel?stringLabel of copy action displayed inside context menu (just PRO), by default: Copy
cutLabel?stringLabel of cut action displayed inside context menu (just PRO), by default: Cut
pasteLabel?stringLabel of paste action displayed inside context menu (just PRO), by default: Paste
macOsContextMenuPasteAlert?stringAlert label in use (e.g. MacOS) if access to the clipboard is denied (just PRO), by default: Use ⌘ + c for copy, ⌘ + x for cut and ⌘ + v for paste.
otherBrowsersContextMenuPasteAlert?stringAlert label in use (e.g. Firefox) if access to the clipboard is denied (just PRO), by default: Use ctrl + c for copy, ctrl + x for cut and ctrl + v for paste.
contextMenuPasteAlert?stringAlert label in use (e.g. Firefox) if access to the clipboard is denied (just PRO), by default: This action is not supported in this browser.