js-draw
Version:
Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.
46 lines (45 loc) • 1.61 kB
TypeScript
export interface ToolLocalization {
keyboardPanZoom: string;
penTool: (penId: number) => string;
selectionTool: string;
selectAllTool: string;
eraserTool: string;
touchPanTool: string;
twoFingerPanZoomTool: string;
undoRedoTool: string;
pipetteTool: string;
rightClickDragPanTool: string;
autocorrectedTo: (description: string) => string;
autocorrectionCanceled: string;
textTool: string;
enterTextToInsert: string;
changeTool: string;
pasteHandler: string;
soundExplorer: string;
disableAccessibilityExploreTool: string;
enableAccessibilityExploreTool: string;
soundExplorerUsageAnnouncement: string;
findLabel: string;
toNextMatch: string;
closeDialog: string;
findDialogShown: string;
findDialogHidden: string;
focusedFoundText: (currentMatchNumber: number, totalMatches: number) => string;
anyDevicePanning: string;
selectionMenu__show: string;
selectionMenu__copyToClipboard: string;
selectionMenu__duplicate: string;
selectionMenu__delete: string;
selectionMenu__paste: string;
copied: (count: number) => string;
pasted: (count: number) => string;
copyPasteError__heading: string;
copyPasteError__description: string;
copyPasteError__pasteRetry: string;
copyPasteError__copyRetry: string;
copyPasteError__copyMe: string;
copyPasteError__errorDetails: string;
toolEnabledAnnouncement: (toolName: string) => string;
toolDisabledAnnouncement: (toolName: string) => string;
}
export declare const defaultToolLocalization: ToolLocalization;