diff --git a/js/QuadrilateralStrings.ts b/js/QuadrilateralStrings.ts index 228f95e2..8b521932 100644 --- a/js/QuadrilateralStrings.ts +++ b/js/QuadrilateralStrings.ts @@ -68,6 +68,8 @@ type StringsType = { 'moveASideOrCornerStringProperty': LinkableProperty; 'moveASideOrCornerInSmallerSteps': string; 'moveASideOrCornerInSmallerStepsStringProperty': LinkableProperty; + 'mouse': string; + 'mouseStringProperty': LinkableProperty; 'shapeShortcuts': string; 'shapeShortcutsStringProperty': LinkableProperty; 'resetShape': string; diff --git a/js/quadrilateral/view/MoveShapeHelpSection.ts b/js/quadrilateral/view/MoveShapeHelpSection.ts index 1fd99abc..37068cac 100644 --- a/js/quadrilateral/view/MoveShapeHelpSection.ts +++ b/js/quadrilateral/view/MoveShapeHelpSection.ts @@ -37,7 +37,7 @@ class MoveShapeHelpSection extends KeyboardHelpSection { [ KeyboardHelpIconFactory.shiftPlusIcon( KeyboardHelpIconFactory.arrowKeysRowIcon() ), KeyboardHelpIconFactory.shiftPlusIcon( KeyboardHelpIconFactory.wasdRowIcon() ), - KeyboardHelpIconFactory.shiftPlusIcon( new Text( 'Mouse', { + KeyboardHelpIconFactory.shiftPlusIcon( new Text( QuadrilateralStrings.keyboardHelpDialog.mouse, { font: KeyboardHelpSectionRow.LABEL_FONT } ) ) ], { diff --git a/quadrilateral-strings_en.json b/quadrilateral-strings_en.json index dd3e46d8..37cb583c 100644 --- a/quadrilateral-strings_en.json +++ b/quadrilateral-strings_en.json @@ -80,6 +80,9 @@ "keyboardHelpDialog.moveASideOrCornerInSmallerSteps": { "value": "To move in smaller steps add Shift key" }, + "keyboardHelpDialog.mouse": { + "value": "Mouse" + }, "keyboardHelpDialog.shapeShortcuts": { "value": "Shape Shortcuts" },