From 73184b3d6dbe2413e63b808e5f50aac577815aa2 Mon Sep 17 00:00:00 2001 From: Jesse Date: Tue, 5 Nov 2024 15:33:30 -0500 Subject: [PATCH] descriptionContent -> screenButtonsHelpText, see https://github.com/phetsims/joist/issues/989 --- js/RatioAndProportionStrings.ts | 4 ++-- js/create/CreateScreen.ts | 2 +- js/discover/DiscoverScreen.ts | 2 +- ratio-and-proportion-strings_en.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/js/RatioAndProportionStrings.ts b/js/RatioAndProportionStrings.ts index 992d15ee..6073c3d3 100644 --- a/js/RatioAndProportionStrings.ts +++ b/js/RatioAndProportionStrings.ts @@ -139,7 +139,7 @@ type StringsType = { 'detailsButtonPatternStringProperty': LocalizedStringProperty; 'detailsButtonWithCurrentChallengePatternStringProperty': LocalizedStringProperty; 'discover': { - 'homeScreenDescriptionStringProperty': LocalizedStringProperty; + 'screenButtonsHelpTextStringProperty': LocalizedStringProperty; 'screenSummary': { 'paragraph1StringProperty': LocalizedStringProperty; 'paragraph2StringProperty': LocalizedStringProperty; @@ -154,7 +154,7 @@ type StringsType = { 'bothHandsGestureDescriptionHelpTextStringProperty': LocalizedStringProperty; }; 'create': { - 'homeScreenDescriptionStringProperty': LocalizedStringProperty; + 'screenButtonsHelpTextStringProperty': LocalizedStringProperty; 'screenSummary': { 'paragraph1StringProperty': LocalizedStringProperty; 'paragraph2StringProperty': LocalizedStringProperty; diff --git a/js/create/CreateScreen.ts b/js/create/CreateScreen.ts index 65f5726e..d877a672 100644 --- a/js/create/CreateScreen.ts +++ b/js/create/CreateScreen.ts @@ -28,7 +28,7 @@ class CreateScreen extends Screen { tandem: tandem, homeScreenIcon: new CreateScreenIcon(), name: RatioAndProportionStrings.screen.createStringProperty, - descriptionContent: RatioAndProportionStrings.a11y.create.homeScreenDescriptionStringProperty, + screenButtonsHelpText: RatioAndProportionStrings.a11y.create.screenButtonsHelpTextStringProperty, createKeyboardHelpNode: () => new CreateScreenKeyboardHelpContent() } ); diff --git a/js/discover/DiscoverScreen.ts b/js/discover/DiscoverScreen.ts index 2787bcb4..616cde7f 100644 --- a/js/discover/DiscoverScreen.ts +++ b/js/discover/DiscoverScreen.ts @@ -25,7 +25,7 @@ class DiscoverScreen extends Screen { tandem: tandem, homeScreenIcon: new DiscoverScreenIcon(), name: RatioAndProportionStrings.screen.discoverStringProperty, - descriptionContent: RatioAndProportionStrings.a11y.discover.homeScreenDescriptionStringProperty, + screenButtonsHelpText: RatioAndProportionStrings.a11y.discover.screenButtonsHelpTextStringProperty, createKeyboardHelpNode: () => new DiscoverScreenKeyboardHelpContent() }; diff --git a/ratio-and-proportion-strings_en.json b/ratio-and-proportion-strings_en.json index 90b53c12..7baf7fda 100644 --- a/ratio-and-proportion-strings_en.json +++ b/ratio-and-proportion-strings_en.json @@ -350,7 +350,7 @@ "value": "{{stateOfSim}} {{leftHand}} {{rightHand}} {{currentChallenge}}" }, "discover": { - "homeScreenDescription": { + "screenButtonsHelpText": { "value": "Explore and discover set challenge ratios." }, "screenSummary": { @@ -387,7 +387,7 @@ } }, "create": { - "homeScreenDescription": { + "screenButtonsHelpText": { "value": "Set your own challenge ratios to explore." }, "screenSummary": {