Skip to content

Commit

Permalink
selfVoicing -> voicing, see phetsims/tasks#1083
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Mar 25, 2021
1 parent 60459b6 commit a2beb0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/view/ISLCObjectNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand All @@ -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, {
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 @@ -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,
Expand All @@ -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
Expand Down

0 comments on commit a2beb0f

Please sign in to comment.