Skip to content

Commit

Permalink
make 'Electron Energy Level' accessibleName singular, #67
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Nov 6, 2024
1 parent c20861d commit b1583e2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions js/ModelsOfTheHydrogenAtomStrings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ type StringsType = {
'deBroglieRepresentationStringProperty': LocalizedStringProperty;
'deBroglieRepresentationHelpTextStringProperty': LocalizedStringProperty;
'deleteSnapshotNumberNameStringProperty': LocalizedStringProperty;
'electronEnergyLevelsStringProperty': LocalizedStringProperty;
'electronEnergyLevelsHelpTextStringProperty': LocalizedStringProperty;
'electronEnergyLevelStringProperty': LocalizedStringProperty;
'electronEnergyLevelHelpTextStringProperty': LocalizedStringProperty;
'energyLevelsScreenButtonsHelpTextStringProperty': LocalizedStringProperty;
'energyLevelsScreenSummary': {
'playAreaStringProperty': LocalizedStringProperty;
Expand Down
4 changes: 2 additions & 2 deletions js/energylevels/view/ElectronEnergyLevelAccordionBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export default class ElectronEnergyLevelAccordionBox extends AccordionBox {
expandedDefaultValue: MOTHAQueryParameters.expandAll,
fill: MOTHAColors.electronEnergyLevelAccordionBoxFillProperty,
stroke: MOTHAColors.electronEnergyLevelAccordionBoxStrokeProperty,
accessibleName: ModelsOfTheHydrogenAtomStrings.a11y.electronEnergyLevelsStringProperty,
helpText: ModelsOfTheHydrogenAtomStrings.a11y.electronEnergyLevelsHelpTextStringProperty
accessibleName: ModelsOfTheHydrogenAtomStrings.a11y.electronEnergyLevelStringProperty,
helpText: ModelsOfTheHydrogenAtomStrings.a11y.electronEnergyLevelHelpTextStringProperty
}, providedOptions );

options.titleNode = new Text( ModelsOfTheHydrogenAtomStrings.electronEnergyLevelStringProperty, {
Expand Down
6 changes: 3 additions & 3 deletions models-of-the-hydrogen-atom-strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@
"deleteSnapshotNumberName": {
"value": "Delete Snapshot {{number}}: {{name}}"
},
"electronEnergyLevels": {
"value": "Electron Energy Levels"
"electronEnergyLevel": {
"value": "Electron Energy Level"
},
"electronEnergyLevelsHelpText": {
"electronEnergyLevelHelpText": {
"value": "Observe changes in the electron’s state as shown in an energy level diagram."
},
"energyLevelsScreenButtonsHelpText": {
Expand Down

0 comments on commit b1583e2

Please sign in to comment.