-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formulas incorrect with some locales #326
Comments
Thanks @Nancy-Salpepi. This looks like a case of phetsims/chipper#1355 so we may need to consult with @jbphet and/or @jonathanolson. |
Yes, that's almost certainly the problem. I'll investigate. |
Fixed in the above commit. I applied Back to @Nancy-Salpepi for verification. If this looks OK, please change label to "fixed-awaiting-deploy", to be verified in the next RC. |
@pixelzoom The formulas look good on both screens. However, iw is the only locale where the solute names are written first in the combobox. All other locales have formula then name. |
There's a pattern that controls the order of the name and formula, which translators can separately control. Looks like
|
Thanks @arouinfar! |
Oops, I still need to cherry-pick this into the 1.7 branches, for both beers-law-lab and concentration. Self assigning. |
Cherry-picks completed in the above commit. Ready for verification in the next RC. |
To verify for beers-law-lab in the next RC: (1) Run the sim in English. To verify for concentration in the next RC: (3) Run the sim in English. Go to the Concentration screen. Choose items from the Solute combo box. Verify that the shaker labels look OK. |
looks good in beers law lab and concentration |
Test device
MacBook Air and iPad
Operating System
13.1/16.3
Browser
safari/chrome
Problem description
For phetsims/qa#894 on the Beer's Law Screen: The location of the subscripts and parenthesis in the formulas is incorrect with locales iw and ar_MA. Also, Potassium dichromate is the only formula written completely in reverse. Potassium chromate is also out of order, but in a different way.
On the Concentration Screen, the formulas are displayed correctly on the Dropper/Shaker.
Steps to reproduce
Visuals
The text was updated successfully, but these errors were encountered: