From a2beb0f553920072c88b00cf787b6a07c56838db Mon Sep 17 00:00:00 2001 From: Jesse Date: Thu, 25 Mar 2021 13:23:37 -0400 Subject: [PATCH] selfVoicing -> voicing, see https://github.com/phetsims/tasks/issues/1083 --- js/view/ISLCObjectNode.js | 4 ++-- js/view/describers/ForceDescriber.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/view/ISLCObjectNode.js b/js/view/ISLCObjectNode.js index 5dd1413..8aa4ef2 100644 --- a/js/view/ISLCObjectNode.js +++ b/js/view/ISLCObjectNode.js @@ -170,7 +170,7 @@ class ISLCObjectNode extends Node { let objectResponse; if ( model.showForceValuesProperty.get() ) { - objectResponse = forceDescriber.getSelfVoicingForceVectorMagnitudeText( config.label, config.otherObjectLabel ); + objectResponse = forceDescriber.getVoicingForceVectorMagnitudeText( config.label, config.otherObjectLabel ); // for the voicing, we always want to include arrow size objectResponse = StringUtils.fillIn( forceArrowSizePatternString, { @@ -181,7 +181,7 @@ class ISLCObjectNode extends Node { else { // custom response for voicing when force values are hidden - objectResponse = forceDescriber.getSelfVoicingQualitativeForceVectorText( config.otherObjectLabel ); + objectResponse = forceDescriber.getVoicingQualitativeForceVectorText( config.otherObjectLabel ); } const helpText = StringUtils.fillIn( summaryInteractionHintPatternString, { diff --git a/js/view/describers/ForceDescriber.js b/js/view/describers/ForceDescriber.js index 6aa0db4..fcda58a 100644 --- a/js/view/describers/ForceDescriber.js +++ b/js/view/describers/ForceDescriber.js @@ -230,7 +230,7 @@ class ForceDescriber extends ISLCDescriber { * @param {string} otherObjectLabel * @returns {string} */ - getSelfVoicingForceVectorMagnitudeText( thisObjectLabel, otherObjectLabel ) { + getVoicingForceVectorMagnitudeText( thisObjectLabel, otherObjectLabel ) { return StringUtils.fillIn( voicingLevelsForcePatternString, { object1: thisObjectLabel, object2: otherObjectLabel, @@ -247,7 +247,7 @@ class ForceDescriber extends ISLCDescriber { * @param otherObjectLabel * @returns {string} */ - getSelfVoicingQualitativeForceVectorText( otherObjectLabel ) { + getVoicingQualitativeForceVectorText( otherObjectLabel ) { return StringUtils.fillIn( voicingQualitativeVectorPatternString, { size: this.getVectorSize(), otherObject: otherObjectLabel