Closed Bug 1036298 Opened 10 years ago Closed 10 years ago

[Keyboard] “Alt” key UI consistency

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 verified)

VERIFIED FIXED
Tracking Status
b2g-v2.1 --- verified

People

(Reporter: Carol, Assigned: ShellHacker, Mentored)

References

Details

(Whiteboard: [good first bug][lang=js][mentor-lang=zh])

Attachments

(2 files)

Capitalization issue. Need to change "ALT" to "Alt"
Please change "ALT" to "Alt" for all the build-in keyboards, thanks!!!
Whiteboard: [good first bug][lang=js][mentor-lang=zh][mentor=Rudy]
Mentor: rlu
Whiteboard: [good first bug][lang=js][mentor-lang=zh][mentor=Rudy] → [good first bug][lang=js][mentor-lang=zh]
Can I take this up ?
I figured out that the path is : apps/keyboard/js/layouts/en.js where the string

{ value: 'ALT', ratio: 1.5, keyCode: KeyEvent.DOM_VK_ALT },

has to be converted to

{ value: 'Alt', ratio: 1.5, keyCode: KeyEvent.DOM_VK_ALT },

And this has to be done for all Locales, Am I in the right direction ? Or is there an easier procedure ?
Flags: needinfo?(chuang)
Assignee: nobody → sudheesh1995
Attachment #8465931 - Flags: review?(rlu)
Flags: needinfo?(chuang)
Comment on attachment 8465931 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/22383

Looks good to me, r+.
Thanks for the contribution!

--
Sorry that didn't respond to your previous comments, generally, I won't be notified unless you set review flag to or "needinfo" me. 

Will land this once the CI passes.
https://tbpl.mozilla.org/?rev=149f3b32d7d3a1afdee8c5bb5048006abc378867&tree=Gaia-Try
Attachment #8465931 - Flags: review?(rlu) → review+
Landed to Gaia master,
https://github.com/mozilla-b2g/gaia/commit/e880a4c0666d5dc575c8ea25770c3c5c4cdfab82
--
The CI failure should be irrelevant to this change.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Attached video video
This issue has been verified successfully on Flame 2.1
See attachment: Verify_1036298.MP4
Reproducing rate: 0/5
Reproducing steps:
1.	Launch Settings -> Tap “Keyboards” -> Tap “Select keyboards” and enable all the build-in keyboards.
2.	Enter any compose view and bring up keyboard.
3.	Switch all the build-in keyboard types.
** All the "ALT" are change to "Alt".

Flame 2.1 build:
Gaia-Rev        ccb49abe412c978a4045f0c75abff534372716c4
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/18fb67530b22
Build-ID        20141202001201
Version         34.0
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: