-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Insert Cannula Slider does not work for languages that go right to left #2105
Comments
The PR for OmniBLE and OmniKit are added for cross reference. |
reproduced this in a demoapp. |
reported it upstream here: no-comment/SlideButton#4 |
In zulipchat, (in addition to recommending that this be fixed in the upstream repository), it was proposed that instead of
the "fix" should use
I tested that modification as shown in the graphic below. We do not have translations for either Arabic or Hebrew for the words in the slider - so they show up as English letters written right to left for both those languages. The slider moves correctly from right to left and inserts the cannula (as tested with the rPi DASH simulator). |
This is probably not a perfect translation, but you might try plugging in some Hebrew text (below) to verify that it doesn't flip. My sense is that |
I added your Hebrew string to the translation by inserting these lines into
Here is the result: I agree that this is probably not the correct thing to do. |
fixed upstream |
This LoopWorkspace PR pulls in the upstream fix. |
This was fixed when LoopKit/LoopWorkspace#103 was merged. |
Describe the bug
A picture is worth a thousand words:
Insert Cannula screen for Hebrew
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Be able to slide the slider from left to right or right to left - not sure what best approach is.
Right now indicator is all the way to the right and a normal attempt to move it fails.
Based on a hint from the user who complained about this, if you touch the indicator near the left side of the circle and move as fast as possible to the right, you can get it to insert, but obviously - this is not the desired behavior.
Repeated for Arabic as well as Hebrew.
LoopKit/LoopWorkspace, commit 67a4b1f
rPi DASH simulator for testing.
The text was updated successfully, but these errors were encountered: