Skip to content

Commit

Permalink
selfVoicing -> voicing for strings under a11y key, see phetsims/tasks…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Mar 24, 2021
1 parent 194ce86 commit 3947165
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion inverse-square-law-common-strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
"valuePattern": {
"value": "{{value}}"
},
"selfVoicing": {
"voicing": {
"verboseMassInteractionHintPattern": {
"value": "Move {{objectLabel}}, {{objectColor}} Sphere"
},
Expand Down
16 changes: 8 additions & 8 deletions js/view/ISLCObjectNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ import ISLCPullerNode from './ISLCPullerNode.js';
import PositionDescriber from './describers/PositionDescriber.js';

// constants
const selfVoicingPositionChangePatternString = inverseSquareLawCommonStrings.a11y.selfVoicing.positionChangePattern;
const selfVoicingBiggerString = inverseSquareLawCommonStrings.a11y.selfVoicing.bigger;
const selfVoicingSmallerString = inverseSquareLawCommonStrings.a11y.selfVoicing.smaller;
const selfVoicingBriefNewForceNoValuesAlertString = inverseSquareLawCommonStrings.a11y.selfVoicing.briefNewForceNoValuesAlert;
const selfVoicingBriefNewForceAlertPatternString = inverseSquareLawCommonStrings.a11y.selfVoicing.briefNewForceAlertPattern;
const selfVoicingPositionChangePatternString = inverseSquareLawCommonStrings.a11y.voicing.positionChangePattern;
const selfVoicingBiggerString = inverseSquareLawCommonStrings.a11y.voicing.bigger;
const selfVoicingSmallerString = inverseSquareLawCommonStrings.a11y.voicing.smaller;
const selfVoicingBriefNewForceNoValuesAlertString = inverseSquareLawCommonStrings.a11y.voicing.briefNewForceNoValuesAlert;
const selfVoicingBriefNewForceAlertPatternString = inverseSquareLawCommonStrings.a11y.voicing.briefNewForceAlertPattern;
const summaryInteractionHintPatternString = inverseSquareLawCommonStrings.a11y.screenSummary.summaryInteractionHintPattern;
const selfVoicingLevelsMoveSpheresHintString = inverseSquareLawCommonStrings.a11y.selfVoicing.levels.moveSpheresHintString;
const forceArrowSizePatternString = inverseSquareLawCommonStrings.a11y.selfVoicing.levels.forceArrowSizePattern;
const grabbedString = sceneryPhetStrings.a11y.selfVoicing.grabbedAlert;
const selfVoicingLevelsMoveSpheresHintString = inverseSquareLawCommonStrings.a11y.voicing.levels.moveSpheresHintString;
const forceArrowSizePatternString = inverseSquareLawCommonStrings.a11y.voicing.levels.forceArrowSizePattern;
const grabbedString = sceneryPhetStrings.a11y.voicing.grabbedAlert;

const NEGATIVE_FILL = new Color( '#66f' );
const POSITIVE_FILL = new Color( '#f66' );
Expand Down
4 changes: 2 additions & 2 deletions js/view/describers/ForceDescriber.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ const lighlyString = inverseSquareLawCommonStrings.a11y.pullerEffort.lightly;
const aLittleString = inverseSquareLawCommonStrings.a11y.pullerEffort.aLittle;
const aTinyBitString = inverseSquareLawCommonStrings.a11y.pullerEffort.aTinyBit;

const selfVoicingLevelsForcePatternString = inverseSquareLawCommonStrings.a11y.selfVoicing.levels.forcePattern;
const selfVoicingQualitativeVectorPatternString = inverseSquareLawCommonStrings.a11y.selfVoicing.levels.qualitativeVectorPattern;
const selfVoicingLevelsForcePatternString = inverseSquareLawCommonStrings.a11y.voicing.levels.forcePattern;
const selfVoicingQualitativeVectorPatternString = inverseSquareLawCommonStrings.a11y.voicing.levels.qualitativeVectorPattern;

const SIZE_STRINGS = [
tinyString,
Expand Down
10 changes: 5 additions & 5 deletions js/view/describers/PositionDescriber.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ const lastStopLeftString = inverseSquareLawCommonStrings.a11y.position.landmarks
const trackEndLeftString = inverseSquareLawCommonStrings.a11y.position.landmarks.trackEndLeft;
const trackEndRightString = inverseSquareLawCommonStrings.a11y.position.landmarks.trackEndRight;

const selfVoicingLevelsMassQuantitativePatternString = inverseSquareLawCommonStrings.a11y.selfVoicing.levels.massQuantitativePattern;
const selfVoicingLevelsMassQualitativePatternString = inverseSquareLawCommonStrings.a11y.selfVoicing.levels.massQualitativePattern;
const selfVoicingLevelsMoveObjectPatternString = inverseSquareLawCommonStrings.a11y.selfVoicing.levels.moveObjectPattern;
const selfVoicingLevelsMassQuantitativePatternString = inverseSquareLawCommonStrings.a11y.voicing.levels.massQuantitativePattern;
const selfVoicingLevelsMassQualitativePatternString = inverseSquareLawCommonStrings.a11y.voicing.levels.massQualitativePattern;
const selfVoicingLevelsMoveObjectPatternString = inverseSquareLawCommonStrings.a11y.voicing.levels.moveObjectPattern;

const selfVoicingLevelsMassQuantitativeWithoutLabelPatternString = inverseSquareLawCommonStrings.a11y.selfVoicing.levels.massQuantitativeWithoutLabelPattern;
const selfVoicingLevelsMassQualitativeWithoutLabelPatternString = inverseSquareLawCommonStrings.a11y.selfVoicing.levels.massQualitativeWithoutLabelPattern;
const selfVoicingLevelsMassQuantitativeWithoutLabelPatternString = inverseSquareLawCommonStrings.a11y.voicing.levels.massQuantitativeWithoutLabelPattern;
const selfVoicingLevelsMassQualitativeWithoutLabelPatternString = inverseSquareLawCommonStrings.a11y.voicing.levels.massQualitativeWithoutLabelPattern;

const RELATIVE_DISTANCE_STRINGS = [
farthestFromString,
Expand Down

0 comments on commit 3947165

Please sign in to comment.