Skip to content

Commit

Permalink
add "supportsDynamicLocale": true to sims that support it but didn't …
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jan 27, 2025
1 parent c651eec commit f6eda83
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 39 deletions.
3 changes: 2 additions & 1 deletion gravity-and-orbits-tests.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"colorProfiles": [
"default",
"projector"
]
],
"supportsDynamicLocale": true
},
"supportsOutputJS": true,
"generatedUnitTests": true,
Expand Down
3 changes: 2 additions & 1 deletion gravity-and-orbits_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"colorProfiles": [
"default",
"projector"
]
],
"supportsDynamicLocale": true
},
"supportsOutputJS": true,
"generatedUnitTests": true,
Expand Down
36 changes: 0 additions & 36 deletions js/GravityAndOrbitsStrings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,82 +13,46 @@ import gravityAndOrbits from './gravityAndOrbits.js';

type StringsType = {
'gravity-and-orbits': {
'title': string;
'titleStringProperty': LocalizedStringProperty;
};
'earth': string;
'earthStringProperty': LocalizedStringProperty;
'earthMasses': string;
'earthMassesStringProperty': LocalizedStringProperty;
'ourSun': string;
'ourSunStringProperty': LocalizedStringProperty;
'planet': string;
'planetStringProperty': LocalizedStringProperty;
'planetMass': string;
'planetMassStringProperty': LocalizedStringProperty;
'velocity': string;
'velocityStringProperty': LocalizedStringProperty;
'earthDays': string;
'earthDaysStringProperty': LocalizedStringProperty;
'measuringTape': string;
'measuringTapeStringProperty': LocalizedStringProperty;
'billionBillionSpaceStationMasses': string;
'billionBillionSpaceStationMassesStringProperty': LocalizedStringProperty;
'spaceStationMass': string;
'spaceStationMassStringProperty': LocalizedStringProperty;
'gravityForce': string;
'gravityForceStringProperty': LocalizedStringProperty;
'model': string;
'modelStringProperty': LocalizedStringProperty;
'moon': string;
'moonStringProperty': LocalizedStringProperty;
'moonMass': string;
'moonMassStringProperty': LocalizedStringProperty;
'thousandEarthMasses': string;
'thousandEarthMassesStringProperty': LocalizedStringProperty;
'on': string;
'onStringProperty': LocalizedStringProperty;
'kilometers': string;
'kilometersStringProperty': LocalizedStringProperty;
'pattern': {
'0value': {
'1units': string;
'1unitsStringProperty': LocalizedStringProperty;
}
};
'clear': string;
'clearStringProperty': LocalizedStringProperty;
'spaceStation': string;
'spaceStationStringProperty': LocalizedStringProperty;
'satellite': string;
'satelliteStringProperty': LocalizedStringProperty;
'satelliteMass': string;
'satelliteMassStringProperty': LocalizedStringProperty;
'earthMinutes': string;
'earthMinutesStringProperty': LocalizedStringProperty;
'gravity': string;
'gravityStringProperty': LocalizedStringProperty;
'grid': string;
'gridStringProperty': LocalizedStringProperty;
'mass': string;
'massStringProperty': LocalizedStringProperty;
'off': string;
'offStringProperty': LocalizedStringProperty;
'path': string;
'pathStringProperty': LocalizedStringProperty;
'ourMoon': string;
'ourMoonStringProperty': LocalizedStringProperty;
'returnObjects': string;
'returnObjectsStringProperty': LocalizedStringProperty;
'star': string;
'starStringProperty': LocalizedStringProperty;
'starMass': string;
'starMassStringProperty': LocalizedStringProperty;
'earthMass': string;
'earthMassStringProperty': LocalizedStringProperty;
'toScale': string;
'toScaleStringProperty': LocalizedStringProperty;
'v': string;
'vStringProperty': LocalizedStringProperty;
};

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"colorProfiles": [
"default",
"projector"
]
],
"supportsDynamicLocale": true
},
"supportsOutputJS": true,
"generatedUnitTests": true,
Expand Down

0 comments on commit f6eda83

Please sign in to comment.