Skip to content

Commit

Permalink
rename some fields in FMWDerivedStrings, #235
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jun 5, 2023
1 parent d7efaf3 commit 6d16100
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions js/common/FMWDerivedStrings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@ const FMWDerivedStrings = {
tandem: DERIVED_STRINGS_TANDEM.createTandem( 'xMillisecondsStringProperty' )
} ),

spaceXStringProperty: new PatternStringProperty( FourierMakingWavesStrings.spaceSymbolStringProperty, {
functionOfSpaceStringProperty: new PatternStringProperty( FourierMakingWavesStrings.spaceSymbolStringProperty, {
symbol: FMWSymbols.xMarkupStringProperty
}, {
tandem: DERIVED_STRINGS_TANDEM.createTandem( 'spaceXStringProperty' )
tandem: DERIVED_STRINGS_TANDEM.createTandem( 'functionOfSpaceStringProperty' )
} ),

timeTStringProperty: new PatternStringProperty( FourierMakingWavesStrings.timeSymbolStringProperty, {
functionOfTimeStringProperty: new PatternStringProperty( FourierMakingWavesStrings.timeSymbolStringProperty, {
symbol: FMWSymbols.tMarkupStringProperty
}, {
tandem: DERIVED_STRINGS_TANDEM.createTandem( 'timeTStringProperty' )
tandem: DERIVED_STRINGS_TANDEM.createTandem( 'functionOfTimeStringProperty' )
} ),

spaceAndTimeXTStringProperty: new PatternStringProperty( FourierMakingWavesStrings.spaceAndTimeSymbolsStringProperty, {
functionOfSpaceAndTimeStringProperty: new PatternStringProperty( FourierMakingWavesStrings.spaceAndTimeSymbolsStringProperty, {
spaceSymbol: FMWSymbols.xMarkupStringProperty,
timeSymbol: FMWSymbols.tMarkupStringProperty
}, {
tandem: DERIVED_STRINGS_TANDEM.createTandem( 'spaceAndTimeXTStringProperty' )
tandem: DERIVED_STRINGS_TANDEM.createTandem( 'functionOfSpaceAndTimeStringProperty' )
} ),

lambdaAndTStringProperty: new PatternStringProperty( FourierMakingWavesStrings.symbolAndSymbolStringProperty, {
Expand Down
6 changes: 3 additions & 3 deletions js/common/view/DomainComboBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ import FMWDerivedStrings from '../FMWDerivedStrings.js';
const CHOICES: FMWComboBoxChoice<Domain>[] = [
{
value: Domain.SPACE,
stringProperty: FMWDerivedStrings.spaceXStringProperty,
stringProperty: FMWDerivedStrings.functionOfSpaceStringProperty,
tandemName: `space${ComboBox.ITEM_TANDEM_NAME_SUFFIX}`
},
{
value: Domain.TIME,
stringProperty: FMWDerivedStrings.timeTStringProperty,
stringProperty: FMWDerivedStrings.functionOfTimeStringProperty,
tandemName: `time${ComboBox.ITEM_TANDEM_NAME_SUFFIX}`
},
{
value: Domain.SPACE_AND_TIME,
stringProperty: FMWDerivedStrings.spaceAndTimeXTStringProperty,
stringProperty: FMWDerivedStrings.functionOfSpaceAndTimeStringProperty,
tandemName: `spaceAndTime${ComboBox.ITEM_TANDEM_NAME_SUFFIX}`
}
];
Expand Down

0 comments on commit 6d16100

Please sign in to comment.