Skip to content

Commit

Permalink
rename string keys, #180
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jul 22, 2019
1 parent 9250e3e commit 5dcbf26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions friction-strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@
"hot": {
"value": "hot"
},
"atWarm": {
"warm": {
"value": "warm"
},
"atCool": {
"cool": {
"value": "cool"
},
"statePattern": {
Expand Down
6 changes: 3 additions & 3 deletions js/friction/FrictionConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ define( function( require ) {
const jiggleABitString = require( 'string!FRICTION/a11y.jiggle.aBit' );
const temperatureVeryHotString = require( 'string!FRICTION/a11y.temperature.veryHot' );
const temperatureHotString = require( 'string!FRICTION/a11y.temperature.hot' );
const temperatureAtWarmString = require( 'string!FRICTION/a11y.temperature.atWarm' );
const temperatureAtCoolString = require( 'string!FRICTION/a11y.temperature.atCool' );
const temperatureWarmString = require( 'string!FRICTION/a11y.temperature.warm' );
const temperatureCoolString = require( 'string!FRICTION/a11y.temperature.cool' );

const FrictionConstants = {
TOP_BOOK_COLOR_MACRO: new Color( 'rgb(125,226,249)' ), // color of the macroscopic view of the book
Expand All @@ -48,7 +48,7 @@ define( function( require ) {

// a11y - the mappings work well divided into 9 sections (arbitrary, but @terracoda's design diagram fit into 9 well
// These are only used for the screen summary description in the PDOM, not alerts
TEMPERATURE_STRINGS: [ temperatureAtCoolString, temperatureAtCoolString, temperatureAtWarmString, temperatureAtWarmString, temperatureAtWarmString, temperatureHotString, temperatureHotString,
TEMPERATURE_STRINGS: [ temperatureCoolString, temperatureCoolString, temperatureWarmString, temperatureWarmString, temperatureWarmString, temperatureHotString, temperatureHotString,
temperatureHotString, temperatureVeryHotString ],
JIGGLE_STRINGS: [ jiggleABitString, jiggleABitString, jiggleALittleString, jiggleALittleString, jiggleALittleString,
jiggleALotString, jiggleALotString, jiggleALotString, jiggleALotString ]
Expand Down

0 comments on commit 5dcbf26

Please sign in to comment.