Closed pixelzoom closed 11 months ago
The list above is long, and I didn't want to try to go through them individually, so I temporarily added back the "Micro" screen and ran a build. Below is the list of unused resources - all strings - that resulted from that build.
>> Unused string: key=fluxMeter.sunlight, value=Sunlight
>> Unused string: key=fluxMeter.infrared, value=Infrared
>> Unused string: key=a11y.energyLegend.sunlightRadiation, value=Sunlight radiation: yellow waves, wavelength shorter than infrared
>> Unused string: key=a11y.energyLegend.infraredRadiation, value=Infrared radiation: red waves, wavelength longer than sunlight
>> Unused string: key=a11y.infraredRadiationRedirectingWithTemperaturePattern, value={{moreOrLess}} infrared radiation redirecting back to surface, now {{quantitativeTemperature}}.
>> Unused string: key=a11y.infraredRadiationEmittedFromSurfaceWithTemperaturePattern, value={{moreOrLess}} infrared radiation emitting from surface, now {{quantitativeTemperature}}.
>> Unused string: key=a11y.nowRelativeLevelOfConcentrationPattern, value=Now {{value}} levels of greenhouse gases.
>> Unused string: key=a11y.unchanged, value=unchanged
>> Unused string: key=a11y.warmingStatement, value=Warming.
>> Unused string: key=a11y.coolingStatement, value=Cooling.
>> Unused string: key=a11y.concentrationPanel.concentration.label, value=Concentration
I have removed all of these string and regression tested Molecules and Light and Greenhouse Effect (mostly just launched them and poked around a bit). They seem fine. A build with these strings removed and the "Micro" screen present now shows no unused resources.
Unfortunately most of the items on this list will still show up until the Micro screen is integrated with Greenhouse Effect, which will probably be a while. However, I don't think there is much to be done about it, so I'm going to go ahead and close this.
For code review https://github.com/phetsims/greenhouse-effect/issues/331 ...
Building the sim results in a lot of warnings about unused sounds and strings -- see Details below. Perhaps there are related to the Micro screen? Creating this issue in case they indeed vestigial.