-
Notifications
You must be signed in to change notification settings - Fork 217
Show correct enter key label based on input IME options #1175
Conversation
Fixes #60 |
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.
thanks for working on this. found a few problematic issues:
If there are missing localisations in geckoview, we should probably back this change out for v1.2, since it's preferable to have at least the enter key localised correctly rather than having enter/search/go incorrectly localised. Comments? @MortimerGoro @bluemarvin |
@philip-lamb the localizations are in Firefox Reality. Geckoview is localization agnostic for that, they just use a enum for the type of action. |
I'm ok with delaying this if we don't have the localizations ready. BTW we need to add a entry for the |
we should probably still land this so the strings are in |
@MortimerGoro read your mind 😄... #1184 is landed and we can link the labels once the translations are in. |
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.
per #1175 (review):
- I am unable to load URLs anymore in the URL bar by typing with the keyboard and pressing
Go
/Enter.
I pulled this again, rebased against master, and I can still reproduce this bug. after typing something in the URL bar, the navigation action doesn't get triggered. it does on master.
Ready for review again: The new texts are landed and I fixed the unable to load URLs problem |
Unblocked as l10ns are in for key locales. |
Interesting. I can't reproduce this problem from |
@daoshengmu Would you have a look at https://pontoon.mozilla.org/zh-CN/android-l10n/MozillaReality/FirefoxReality/app/src/main/res/values/strings.xml/?string=198958 and see if what is there makes sense.
That string is determined by the UI locale, which is not changed by changing the keyboard, so that is not unexpected. |
Yes, that string is expected to be fixed to the device locale. It's not specific for the current keyboard. I see the same behavior on other platforms such as iOS and Android. I'm going to merge this for today's release candidate. @cvan follow-up if you find something else |
go
.search
action: https://developer.mozilla.org/es/docs/Web/HTML/Elemento/input/searchIt seems that GV reports action
go
for Amazon and Google searches. iPhone browser reportssearch
for both pages. May that be another GV bug @bluemarvin @cvan ?