Skip to content

Commit

Permalink
"kilometers kilometers" bug fix, #94 #101 #100
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Feb 27, 2019
1 parent 3967cff commit 27a8f50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/gravity-force-lab-basics/GFLBA11yStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ define( function( require ) {
value: '{{value}} billion kilograms'
},
massesDistanceApartPattern: {
value: '{{distance}} kilometers apart'
value: '{{distanceAndUnits}} apart'
},
spherePositionsDescriptionPattern: {
value: 'Centers of spheres, {{distanceApart}}. {{spherePositionsHelpText}}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ define( require => {
* @returns {string} - the help text for the sphere positions heading/container node
*/
getSpherePositionsHelpText() {
const quantitativeDistance = StringUtils.fillIn( massesDistanceApartPatternString, { distance: this.getDistanceAndUnits() } );
const quantitativeDistance = StringUtils.fillIn( massesDistanceApartPatternString, {
distanceAndUnits: this.getDistanceAndUnits()
} );

return StringUtils.fillIn( spherePositionsDescriptionPatternString, {
spherePositionsHelpText: spherePositionHelpTextString,
Expand Down

0 comments on commit 27a8f50

Please sign in to comment.