Skip to content

Commit

Permalink
rename ForceDescriber options for consistency, #124
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed May 6, 2019
1 parent b3aeb68 commit 141e20d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions js/gravity-force-lab-basics/GFLBA11yStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ define( function( require ) {
distanceArrowRemoved: {
value: 'Distance hidden.'
},
forceArrows: {
forceArrowsCapitalized: {
value: 'Force arrows'
},
forceArrowsLower: {
forceArrows: {
value: 'force arrows'
},
arrows: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ define( require => {
const Util = require( 'DOT/Util' );

// a11y strings
const forceArrowsCapitalizedString = GFLBA11yStrings.forceArrowsCapitalized.value;
const forceArrowsString = GFLBA11yStrings.forceArrows.value;
const forceArrowsLowerString = GFLBA11yStrings.forceArrowsLower.value;
const arrowsString = GFLBA11yStrings.arrows.value;
const basicsForceAndVectorPatternString = GFLBA11yStrings.basicsForceAndVectorPattern.value;
const basicsForceVectorMagnitudeUnitsPatternString = GFLBA11yStrings.basicsForceVectorMagnitudeUnitsPattern.value;
Expand All @@ -39,13 +39,12 @@ define( require => {
forceAndVectorPatternString: basicsForceAndVectorPatternString,
forceVectorMagnitudeUnitsPatternString: basicsForceVectorMagnitudeUnitsPatternString,

forceArrowsString: forceArrowsString,
forceArrowsLower: forceArrowsLowerString,
forceVectorsCapitalizedString: forceArrowsCapitalizedString,
forceVectorsString: forceArrowsString,
vectorsString: arrowsString,
vectorsCapitalizedString: forceArrowsString
vectorsCapitalizedString: forceArrowsCapitalizedString
};
super( model, object1Label, object2Label, positionDescriber, options );

}

/**
Expand Down

0 comments on commit 141e20d

Please sign in to comment.