Variable TOOL_MESSAGES_ENConst
TOOL_MESSAGES_EN: {
"tool.arc": "Arc";
"tool.arc.end": "Arc: click the end point.";
"tool.arc.mid": "Arc: click a point on the arc.";
"tool.arc.start": "Arc: click the start point.";
"tool.circle": "Circle";
"tool.circle.center": "Circle: click the center.";
"tool.circle.radius": "Circle: click a point on the circle or type the radius.";
"tool.dimension": "Dimension";
"tool.dimension.first": "Dimension: click the first point (snap to an object to keep it associated).";
"tool.dimension.place": "Dimension: click where the dimension line goes.";
"tool.dimension.second": "Dimension: click the second point.";
"tool.extend": "Extend";
"tool.extend.pick": "Extend: click near the end to extend.";
"tool.line": "Line";
"tool.line.end": "Line: click the end point or type a length (Shift = horizontal/vertical).";
"tool.line.start": "Line: click the start point.";
"tool.move": "Move";
"tool.move.base": "Move: click the base point.";
"tool.move.select": "Move: select objects first (click one).";
"tool.move.target": "Move: click the destination or type dx,dy.";
"tool.pan": "Pan";
"tool.path": "Path";
"tool.path.next": "Path: click or drag the next point; Enter finishes, click the start to close.";
"tool.path.start": "Path: click to start; drag to pull a curve handle.";
"tool.polyline": "Polyline";
"tool.polyline.next": "Polyline: click the next point; Enter or double-click finishes, click the first point to close.";
"tool.polyline.start": "Polyline: click the first point.";
"tool.rect": "Rectangle";
"tool.rect.end": "Rectangle: click the opposite corner or type width,height.";
"tool.rect.start": "Rectangle: click or drag from a corner.";
"tool.rotate": "Rotate";
"tool.rotate.center": "Rotate: click the center or type an angle after it.";
"tool.rotate.reference": "Rotate: click the reference direction or type an angle in degrees.";
"tool.rotate.select": "Rotate: select objects first (click one).";
"tool.rotate.target": "Rotate: click the new direction.";
"tool.scale": "Scale";
"tool.scale.base": "Scale: click the base point.";
"tool.scale.reference": "Scale: click a reference point or type a factor.";
"tool.scale.select": "Scale: select objects first (click one).";
"tool.scale.target": "Scale: click the new position of the reference point.";
"tool.select": "Select";
"tool.select.dragging": "Release to place.";
"tool.select.dragRejected": "This position breaks a rule; the nearest allowed position is shown.";
"tool.select.prompt": "Click to select, drag to select an area (right-to-left touches), drag objects to move.";
"tool.split": "Split";
"tool.split.pick": "Split: click a curve where it should be cut.";
"tool.text": "Text";
"tool.text.position": "Text: click where the text starts.";
"tool.text.type": "Text: type, then Enter (Shift+Enter for a new line, Escape cancels).";
"tool.trim": "Trim";
"tool.trim.pick": "Trim: click the piece to remove.";
} = ...
Type Declaration
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Readonlytool.text: "Text"
-
Readonlytool.text.position: "Text: click where the text starts."
-
Readonlytool.text.type: "Text: type, then Enter (Shift+Enter for a new line, Escape cancels)."
-
-
Labels and prompts of the built-in tools in English and Turkish.
Tools report message keys (
tool.line,tool.line.start) instead of text, so any UI — the React editor or a plain DOM page — shows them in its language with [toolText]. Plugin tools may use plain text; unknown keys come back unchanged.