Skip to content

Commit

Permalink
descriptionContent -> screenButtonsHelpText, see phetsims/joist#989
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Nov 5, 2024
1 parent 400095d commit 0566479
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions area-model-common-strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"horizontalPickerDescription": {
"value": "Change the dimensions of the rectangle."
},
"multiplyDescription": {
"multiplyScreenButtonsHelpText": {
"value": "Play with multiplication by interacting with an area model."
},
"onePartialProductFactorPattern": {
Expand All @@ -162,7 +162,7 @@
"onePartialProductPattern": {
"value": "No partition set. Product is {{first}}."
},
"partitionDescription": {
"partitionScreenButtonsHelpText": {
"value": "Partition your area model and explore the distributive property."
},
"partitionSelectionDescription": {
Expand Down
8 changes: 4 additions & 4 deletions js/AreaModelCommonStrings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ type StringsType = {
'horizontalPickerStringProperty': LocalizedStringProperty;
'horizontalPickerDescription': string;
'horizontalPickerDescriptionStringProperty': LocalizedStringProperty;
'multiplyDescription': string;
'multiplyDescriptionStringProperty': LocalizedStringProperty;
'multiplyScreenButtonsHelpText': string;
'multiplyScreenButtonsHelpTextStringProperty': LocalizedStringProperty;
'onePartialProductFactorPattern': string;
'onePartialProductFactorPatternStringProperty': LocalizedStringProperty;
'onePartialProductPattern': string;
'onePartialProductPatternStringProperty': LocalizedStringProperty;
'partitionDescription': string;
'partitionDescriptionStringProperty': LocalizedStringProperty;
'partitionScreenButtonsHelpText': string;
'partitionScreenButtonsHelpTextStringProperty': LocalizedStringProperty;
'partitionSelectionDescription': string;
'partitionSelectionDescriptionStringProperty': LocalizedStringProperty;
'placeholder': string;
Expand Down
2 changes: 1 addition & 1 deletion js/screens/MultiplyScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MultiplyScreen extends Screen {
} ),

// pdom
descriptionContent: AreaModelCommonStrings.a11y.multiplyDescriptionStringProperty
screenButtonsHelpText: AreaModelCommonStrings.a11y.multiplyScreenButtonsHelpText
};

const commonAreaOptions = {
Expand Down
2 changes: 1 addition & 1 deletion js/screens/PartitionScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class PartitionScreen extends Screen {
} ),

// pdom
descriptionContent: AreaModelCommonStrings.a11y.partitionDescriptionStringProperty
screenButtonsHelpText: AreaModelCommonStrings.a11y.partitionDescriptionStringProperty
};

const commonAreaOptions = {
Expand Down

0 comments on commit 0566479

Please sign in to comment.