Closed Bug 941600 Opened 11 years ago Closed 10 years ago

[keyboard] notification how to change keyboard/input method is concatenated, should be completely localizable (missing whitespace)

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.4 fixed)

VERIFIED FIXED
1.4 S4 (28mar)
Tracking Status
b2g-v1.4 --- fixed

People

(Reporter: aryx, Assigned: flod)

References

Details

(Keywords: l12y)

Attachments

(3 files)

Attached image screenshot of issue
Boot2Gecko 1.2.0.0-prerelease 20131120224415 on Keon

When opening the browser and entering the url bar, I got twice a notification how to change the keyboard (see screenshot) which lacks a whitespace after the colon and the name of the keyboard.

Actual: "Integrierte Tastatur:Deutsch"

Expected: "Integrierte Tastatur: Deutsch"

This is not a string in the localization files, so two string and a colon get concatenated.
This is 

this.fakenotiMessage.textContent = current.appName + ':' + current.name;

in https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/keyboard_manager.js#L541

The 1.2-able fix is to replace ':' with ': ', but the right fix for master is to create a localizable format string that takes the appName and the current.name as arguments.
Component: Gaia::Keyboard → Gaia::System
Assignee: nobody → francesco.lodolo
Blocks: 968853
Attached file Pull request on Github
Attachment #8391838 - Flags: review?(alive)
Left English, right Italian.
Attachment #8391838 - Flags: review?(alive) → review+
Keywords: checkin-needed
Master: bff8d44240abc815fda5de90ae5d130b99b1b1df
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.4 S4 (28mar)
Verified on Keon, master git commit 3977de3c 2014-03-24
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: