From 125884ad145d22625073a0f4b7402c92acc53e44 Mon Sep 17 00:00:00 2001 From: Jesse Date: Wed, 24 Mar 2021 17:30:43 -0400 Subject: [PATCH] selfVoicing -> voicing for strings under a11y key, see https://github.com/phetsims/tasks/issues/1083 --- gravity-force-lab-strings_en.json | 2 +- js/view/GravityForceLabAlertManager.js | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gravity-force-lab-strings_en.json b/gravity-force-lab-strings_en.json index 50debeb2..cb7f4364 100644 --- a/gravity-force-lab-strings_en.json +++ b/gravity-force-lab-strings_en.json @@ -376,7 +376,7 @@ } } }, - "selfVoicing": { + "voicing": { "briefPositionChangeInteractionPattern": { "value": "{{valueText}}. {{forceAlert}}" }, diff --git a/js/view/GravityForceLabAlertManager.js b/js/view/GravityForceLabAlertManager.js index 58524ca0..fd72dc23 100644 --- a/js/view/GravityForceLabAlertManager.js +++ b/js/view/GravityForceLabAlertManager.js @@ -25,17 +25,17 @@ import GravityForceLabModel from '../model/GravityForceLabModel.js'; const constantRadiusThinkDensityPatternString = gravityForceLabStrings.a11y.controls.constantRadiusThinkDensityPattern; const massAndForceClausesPatternString = gravityForceLabStrings.a11y.qualitative.massAndForceClausesPattern; const sentencePatternString = gravityForceLabStrings.a11y.sentencePattern; -const selfVoicingBriefMassChangeForceAlertWithValuePatternString = gravityForceLabStrings.a11y.selfVoicing.briefMassChangeForceAlertWithValuePattern; -const selfVoicingBriefMassChangeForceAlertPatternString = gravityForceLabStrings.a11y.selfVoicing.briefMassChangeForceAlertPattern; -const selfVoicingBiggerString = inverseSquareLawCommonStrings.a11y.selfVoicing.bigger; -const selfVoicingSmallerString = inverseSquareLawCommonStrings.a11y.selfVoicing.smaller; -const selfVoicingBriefMassPushAlertPatternString = gravityForceLabStrings.a11y.selfVoicing.briefMassPushAlertPattern; -const briefDensityChangeForceAlertPatternString = gravityForceLabStrings.a11y.selfVoicing.briefDensityChangeForceAlertPattern; -const selfVoicingMoreString = gravityForceLabStrings.a11y.selfVoicing.more; -const selfVoicingLessString = gravityForceLabStrings.a11y.selfVoicing.less; -const briefMassChangeAlertPatternString = gravityForceLabStrings.a11y.selfVoicing.briefMassChangeAlertPattern; -const selfVoicingBriefNewForcePatternString = gravityForceLabStrings.a11y.selfVoicing.briefNewForcePattern; -const selfVoicingBriefPositionChangeInteractionPatternString = gravityForceLabStrings.a11y.selfVoicing.briefPositionChangeInteractionPattern; +const selfVoicingBriefMassChangeForceAlertWithValuePatternString = gravityForceLabStrings.a11y.voicing.briefMassChangeForceAlertWithValuePattern; +const selfVoicingBriefMassChangeForceAlertPatternString = gravityForceLabStrings.a11y.voicing.briefMassChangeForceAlertPattern; +const selfVoicingBiggerString = inverseSquareLawCommonStrings.a11y.voicing.bigger; +const selfVoicingSmallerString = inverseSquareLawCommonStrings.a11y.voicing.smaller; +const selfVoicingBriefMassPushAlertPatternString = gravityForceLabStrings.a11y.voicing.briefMassPushAlertPattern; +const briefDensityChangeForceAlertPatternString = gravityForceLabStrings.a11y.voicing.briefDensityChangeForceAlertPattern; +const selfVoicingMoreString = gravityForceLabStrings.a11y.voicing.more; +const selfVoicingLessString = gravityForceLabStrings.a11y.voicing.less; +const briefMassChangeAlertPatternString = gravityForceLabStrings.a11y.voicing.briefMassChangeAlertPattern; +const selfVoicingBriefNewForcePatternString = gravityForceLabStrings.a11y.voicing.briefNewForcePattern; +const selfVoicingBriefPositionChangeInteractionPatternString = gravityForceLabStrings.a11y.voicing.briefPositionChangeInteractionPattern; class GravityForceLabAlertManager extends ISLCAlertManager {