-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
Remove popups not related to Turkish #909
Conversation
Thanks for your contribution, really appretiate it!
You can use a case selector for things the auto caps key can't automatically do correctly. For example (copied from Colemak): { "$": "case_selector",
"lower": { "code": 59, "label": ";" },
"upper": { "code": 58, "label": ":" }
} When using the manual case selector, you have to define both the lower case and upper case popups separately in the tr.json mapping. |
I have something that solves this problem in my PR. Used here for example. I don't know if my PR is going to be merged as is or reworked or split or rejected, but at least it should be possible to do what you want using something similar. edit I typed this at the same time as the other answer. I didn't know there was a way to do it already (or maybe it's relatively new?). |
@dvrnynr Thanks for reworking the layout. I have tested out and seen several issues though:
@Hayleia Your PR will definitely be merged at some point (because the composer implementation is pretty good as far as I've seen it on the quick overview). The EDIT: @ Hanleia if you ever read this comment because I accidentally pinged you instead of @ Hayleia, please ignore this comment :) |
@patrickgold Sorry for those stupid mistakes. That's my first time actually 😅
|
Thanks for fixing the codes. I just tried it out and found that there is a bug in the popup logic, which prevents the case selector from being evaluated within a popup. I will try to fix that later and then merge your changes in! |
}, | ||
"main": { "$": "case_selector", "lower": { "code": 305, "label": "ı" }, | ||
"upper": { "code": 73, "label": "I" } | ||
}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like here is a bracket too much.
}}, | |
}, |
}, | ||
"main": { "$": "case_selector", "lower": { "code": 105, "label": "i" }, | ||
"upper": { "code": 304, "label": "İ" } | ||
}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like here is a bracket too much.
}}, | |
}, |
@dvrnynr Sorry for the long wait on bug fixing. The bug itself which prevented me from merging has been fixed quite some time ago, although the Turkish layout and its popup also got some fixes (mainly the dotless i thing). Could you review the new Turkish popups in the latest beta v0.3.13-beta08 and base your improvements on the current master branch? This would be very helpful, thanks in advance! |
I have just installed beta08 and dotless i thing works fine. But useless accents are still there. Sorry but what do you mean by "base your improvements on the current master branch". I don't know what to do as this is my very first pull request. |
No worries, as you have little experience with Git yet I've rebased the branch and squashed the commits for you. Could you still have a final look at the json file (https://github.com/florisboard/florisboard/blob/762afdeca872a294b168bba893847817d1c6164d/app/src/main/assets/ime/text/characters/extended_popups/tr.json) if I didn't mess up somewhere? Thanks! |
Thanks for your understanding. I've checked .json file and it's all good. Thank you. |
Perfect, thanks for checking. I will merge your changes in then, will be available in beta09 either tomorrow or in two days. |
Closes #882