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 ad3a75a commit d908d26
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion john-travoltage-strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"value": "Move hand or foot with left and right arrow keys."
}
},
"selfVoicing": {
"voicing": {
"appendageObjectResponsePattern": {
"value": "{{label}}, {{valueText}}"
},
Expand Down
8 changes: 4 additions & 4 deletions js/john-travoltage/view/AppendageNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ import johnTravoltage from '../../johnTravoltage.js';
import johnTravoltageStrings from '../../johnTravoltageStrings.js';
import Leg from '../model/Leg.js';

const selfVoicingObjectResponsePatternString = johnTravoltageStrings.a11y.selfVoicing.appendageObjectResponsePattern;
const grabbedAlertString = johnTravoltageStrings.a11y.selfVoicing.grabbedAlert;
const grabDragHintPatternString = sceneryPhetStrings.a11y.selfVoicing.grabDragHintPattern;
const selfVoicingContentHintString = johnTravoltageStrings.a11y.selfVoicing.contentHint;
const selfVoicingObjectResponsePatternString = johnTravoltageStrings.a11y.voicing.appendageObjectResponsePattern;
const grabbedAlertString = johnTravoltageStrings.a11y.voicing.grabbedAlert;
const grabDragHintPatternString = sceneryPhetStrings.a11y.voicing.grabDragHintPattern;
const selfVoicingContentHintString = johnTravoltageStrings.a11y.voicing.contentHint;

class AppendageNode extends Node {
/**
Expand Down
16 changes: 8 additions & 8 deletions js/john-travoltage/view/JohnTravoltageView.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ const screenSummaryBodyDescriptionPatternString = johnTravoltageStrings.a11y.scr
const electronsSingleDescriptionString = johnTravoltageStrings.a11y.electrons.singleDescription;
const electronsMultipleDescriptionPatternString = johnTravoltageStrings.a11y.electrons.multipleDescriptionPattern;
const descriptionWithChargePatternString = johnTravoltageStrings.a11y.screenSummary.descriptionWithChargePattern;
const selfVoicingContentHintString = johnTravoltageStrings.a11y.selfVoicing.contentHint;
const selfVoicingDetailedContentHintString = johnTravoltageStrings.a11y.selfVoicing.detailedContentHint;
const overviewPatternString = johnTravoltageStrings.a11y.selfVoicing.overviewPattern;
const selfVoicingContentHintString = johnTravoltageStrings.a11y.voicing.contentHint;
const selfVoicingDetailedContentHintString = johnTravoltageStrings.a11y.voicing.detailedContentHint;
const overviewPatternString = johnTravoltageStrings.a11y.voicing.overviewPattern;
const resetAllString = sceneryPhetStrings.a11y.resetAll.label;
const resetAllAlertString = sceneryPhetStrings.a11y.resetAll.alert;
const screenSummarySingleScreenIntroPatternString = sceneryPhetStrings.a11y.selfVoicing.simSection.screenSummary.singleScreenIntroPattern;
const previousDischargePatternString = johnTravoltageStrings.a11y.selfVoicing.previousDischargePattern;
const screenSummaryWithPreviousDischargePatternString = johnTravoltageStrings.a11y.selfVoicing.screenSummaryWithPreviousDischargePattern;
const handInteractionHintString = johnTravoltageStrings.a11y.selfVoicing.handInteractionHint;
const footInteractionHintString = johnTravoltageStrings.a11y.selfVoicing.footInteractionHint;
const screenSummarySingleScreenIntroPatternString = sceneryPhetStrings.a11y.voicing.simSection.screenSummary.singleScreenIntroPattern;
const previousDischargePatternString = johnTravoltageStrings.a11y.voicing.previousDischargePattern;
const screenSummaryWithPreviousDischargePatternString = johnTravoltageStrings.a11y.voicing.screenSummaryWithPreviousDischargePattern;
const handInteractionHintString = johnTravoltageStrings.a11y.voicing.handInteractionHint;
const footInteractionHintString = johnTravoltageStrings.a11y.voicing.footInteractionHint;

// constants
const OUCH_EXCLAMATION_DELAY = 0.5; // in seconds
Expand Down

0 comments on commit d908d26

Please sign in to comment.