-
Notifications
You must be signed in to change notification settings - Fork 7
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
radio button labels are not localized #110
Comments
@amanda-phet Also wondering why we're using "All" instead of "100". Why not just use the value so that students know how many balls they are adding? |
It's not necessarily 100.. if they dropped 3, then xAll would drop 97 more. We want students to be able to run trials of 100 over and over, and the bins can't really handle more than that, so if someone drops 50 then 100 more, we'd be in trouble. |
@amanda-phet I don't understand your logic here. The same argument applies to ×10. Drop 91 balls by doing ×10 nine times, then ×1. Then do ×10 and it will only release 9 balls. It's not at all obvious that the upper limit is 100, or when/why the "Play" button is disabled. |
You're right, I forgot the same thing applies to x10. As for the Play button, we are aware that the design choice was problematic and I'm always open to discussing alternatives. Since this sim is being designed for a11y and we are making some minor design changes anyway, we could use this opportunity to make some other changes. |
Zoom discussion with @pixelzoom . Decided to change the third radio button to ×100. This is helpful for translations and is also consistent with how the ×10 radio button behaves, so it doesn't seem inconsistent. |
Signed-off-by: Chris Malley <[email protected]>
Signed-off-by: Chris Malley <[email protected]>
Change '× All' to '× 100' in above commit. Also use MathSymbols.TIMES. |
This change will be picked up the next time the sim is published from master. Leaving issues open and "ready for review" until then. |
Signed-off-by: Chris Malley <[email protected]>
One more thing that I noticed... There is a |
@amanda-phet please review 1.2.0-dev.4, then assign back to me. The only UI change is that "×All" is now "×100" by default. Or "×50" if you run with |
This looks like it's working well. |
👍🏻 Closing |
This was discovered while investigating #109.
The Intro screen has this control panel:
The labels for the radio buttons are not localized. I expected to find a string for each label in the translations file. But instead, I find only the word "All", and code that is doing string concatenation to create the labels. I.e. in
IntroPlayPanel
:There's seems to be an assumption here that these are mathematical expression and therefore do not need to be localization. But in this case we're using mathematical expressions as a (possibly locale-specific) shortcut for describing the radio buttons, and that may not translate well. For example, a translation of "one ball" may work better than "×1" in some languages.
So I think the following strings should be in the translated strings file (where
\u00D7
is Unicode for the times operator):@amanda-phet Do you agree?
The text was updated successfully, but these errors were encountered: