phetsims / number-compare

"Number Compare" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 0 forks source link

Fix secondLocale strings on Compare Screen #4

Closed chrisklus closed 2 years ago

chrisklus commented 2 years ago

For some reason, the unfilled templating string is loading instead of the actual string for whatever is the second locale for the compare statement.

chrisklus commented 2 years ago

@marlitas and I figured this out yesterday! We found that the control that was setting the second locale was setting the Number Play-specific preference for the second locale, so only things listening to that were updating (like all of the links to second locale in Number Play). But since the listeners in Number Compare were correctly linking to the NC instance of preferences, they weren't firing because nothing was changing for that instance. Closing.