Skip to content

Commit

Permalink
"Slow Motion" strings updated to "Slow". #151
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Dec 5, 2017
1 parent feff026 commit b3f3811
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions js/common/view/SpringView.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ define( function( require ) {

// strings
var normalString = require( 'string!MASSES_AND_SPRINGS/normal' );
var slowMotionString = require( 'string!MASSES_AND_SPRINGS/slowMotion' );
var slowString = require( 'string!MASSES_AND_SPRINGS/slow' );
var springConstantString = require( 'string!MASSES_AND_SPRINGS/springConstant' );

// constants
Expand Down Expand Up @@ -159,22 +159,22 @@ define( function( require ) {
};
var speedSelectionButtonRadius = 8;
var normalText = new Text( normalString, speedSelectionButtonOptions, { tandem: tandem.createTandem( 'normalString' ) } );
this.normalMotionRadioBox = new AquaRadioButton( model.simSpeedProperty, 'normal', normalText, {
this.normalRadioBox = new AquaRadioButton( model.simSpeedProperty, 'normal', normalText, {
radius: speedSelectionButtonRadius,
tandem: tandem.createTandem( 'normalMotionRadioBox' )
tandem: tandem.createTandem( 'normalRadioBox' )
} );

var slowText = new Text( slowMotionString, speedSelectionButtonOptions, { tandem: tandem.createTandem( 'slowText' ) } );
this.slowMotionRadioBox = new AquaRadioButton( model.simSpeedProperty, 'slow', slowText, {
var slowText = new Text( slowString, speedSelectionButtonOptions, { tandem: tandem.createTandem( 'slowText' ) } );
this.slowRadioBox = new AquaRadioButton( model.simSpeedProperty, 'slow', slowText, {
radius: speedSelectionButtonRadius,
tandem: tandem.createTandem( 'normalMotionRadioBox' )
tandem: tandem.createTandem( 'slowRadioBox' )
} );

var radioButtonSpacing = 4;
this.speedControl = new VBox( {
align: 'left',
spacing: radioButtonSpacing,
children: [ this.normalMotionRadioBox, this.slowMotionRadioBox ],
children: [ this.normalRadioBox, this.slowRadioBox ],
right: this.resetAllButton.left - 30,
centerY: this.resetAllButton.centerY,
tandem: tandem.createTandem( 'speedControl' )
Expand Down
4 changes: 2 additions & 2 deletions masses-and-springs-strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
"normal": {
"value": "Normal"
},
"slowMotion": {
"value": "Slow Motion"
"slow": {
"value": "Slow"
},
"naturalLength": {
"value": "Natural Length"
Expand Down

0 comments on commit b3f3811

Please sign in to comment.