Closed Bug 968778 Opened 12 years ago Closed 12 years ago

[browser] "Cancel" is hard-coded in the dialog appearing when long tapping on a link

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.3+, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)

VERIFIED FIXED
1.4 S1 (14feb)
blocking-b2g 1.3+
Tracking Status
b2g-v1.3 --- fixed
b2g-v1.3T --- fixed
b2g-v1.4 --- fixed

People

(Reporter: iacchi, Assigned: flod)

Details

Attachments

(2 files)

I don't know if the string is not localised or not localisable (I think the second case, but I'll let Francesco tell which is the right one), but here's how to reproduce: 1. Open a web page with a link 2. Tap and keep tapping on the link 3. In the page where you can choose to open the link in a new tab, the cancel button string is "Cancel" instead of "Annulla"
Sorry, I forgot: test phone: GP Keon, FFOS 1.3, build date 04/02/2014
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Assignee: l10n-it → francesco.lodolo
I can reproduce (not on 1.4, since browser is no more). My first guess is that's a Gecko string, so I can't translate it. I'm trying to look at the code to figure it out but it's quite hard https://github.com/mozilla-b2g/gaia/blob/master/apps/browser/js/browser.js#L1044
Looks hard-coded https://github.com/mozilla-b2g/gaia/blob/master/apps/browser/js/browser.js#L1143 > cancel.appendChild(this.createButton('Cancel'));
Assignee: francesco.lodolo → nobody
Component: it / Italian → Gaia::Browser
Product: Mozilla Localizations → Firefox OS
QA Contact: francesco.lodolo
Summary: [B2G][l10n][browser] it: string not localised/not localisable in open in a new tab screen → [browser] "Cancel" is hard-coded in the dialog appearing when long tapping on a link
Attachment #8371531 - Flags: review?(bfrancis)
"Cancel" is correctly localized using the string already existing in browser.properties
Setting 1.3?, since since this patch fixes a l10n problem without actually adding new strings.
blocking-b2g: --- → 1.3?
blocking-b2g: 1.3? → 1.3+
Attachment #8371531 - Flags: review?(bfrancis) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Uplifted b374f60685d624008bb55b50f0127136493d221b to: v1.3: 741869c9f0eaae242351f312c18fa6051715c086
Assignee: nobody → francesco.lodolo
Verified on Keon master (1.4 2014-03-01 git commit f6f23511).
Status: RESOLVED → VERIFIED
Target Milestone: --- → 1.4 S1 (14feb)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: