Closed Bug 875667 Opened 11 years ago Closed 10 years ago

[Buri][fugu][Calendar]The translation is abnormal after change language and restart.

Categories

(Firefox OS Graveyard :: Gaia::Calendar, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(tracking-b2g:backlog, b2g1828+, b2g-v2.0 unaffected, b2g-v2.1 unaffected, b2g-v2.2 unaffected)

RESOLVED FIXED
tracking-b2g backlog
Tracking Status
b2g18 28+ ---
b2g-v2.0 --- unaffected
b2g-v2.1 --- unaffected
b2g-v2.2 --- unaffected

People

(Reporter: sync-1, Unassigned)

References

Details

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #457961 +++ Created an attachment (id=416737) Snapshot DEFECT DESCRIPTION: The translation is abnormal after change language and restart. REPRODUCING PROCEDURES: 1.DT perso:change system language from English to Polish->calendar->click drawer icon->display in Polish->restart MS->calendar->click drawer icon->display in English==>KO1 2.TEF perso:change system language from Spanish to English->calendar->click drawer icon->display in English->restart MS->calendar->click drawer icon->display in Spanish==>KO2 EXPECTED BEHAVIOUR: KO1==>Should display in Polish. KO2==>Should display in English. ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED:SW12C+DT/TEF USER IMPACT:Medium REPRODUCING RATE:5/5 For FT PR, Please list reference mobile's behavior: ++++++++++ end of initial bug #457961 description ++++++++++ CONTACT INFO (Name,Phone number): DEFECT DESCRIPTION: REPRODUCING PROCEDURES: EXPECTED BEHAVIOUR: ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT: REPRODUCING RATE: For FT PR, Please list reference mobile's behavior:
Clone from brother
Attached image Snapshot
Clone from brother
Component: Gaia → Gaia::Calendar
I thought there was a bug on this, apparently not.
yes, I have checked code.. in calendar/js/templates/calendar.js (function(window) { var Cal = Calendar.Template.create({ item: function() { var id = this.h('_id'); var l10n = ''; // hack localize the only default calendar if (id && Calendar.Provider.Local.calendarId === id) { // localize the default calendar name l10n = 'data-l10n-id="calendar-local"'; } return '<li id="calendar-' + id + '">' + '<div class="calendar-id-' + id + ' calendar-color"></div>' + '<label>' + '<span ' + l10n + ' class="name">' + this.h('name') + '</span>' + '<input ' + 'value="' + id + '" ' + 'type="checkbox" ' + this.bool('localDisplayed', 'checked') + ' />' + '<span></span>' + '</label>' + '</li>'; } }); I don't know why add this hack... This bug mainly caused by above "if"..
Please fix it in v1.1 per comment#4.
blocking-b2g: --- → leo?
triage: not blocking for 1.1, will nominate and consider for 1.2
blocking-b2g: leo? → koi?
triage: moving to consideration for 1.3
blocking-b2g: koi? → 1.3?
triage: not blocking, backlogged for 1.3
blocking-b2g: 1.3? → ---
Summary: [Buri][Calendar]The translation is abnormal after change language and restart. → [Buri][fugu][Calendar]The translation is abnormal after change language and restart.
Maybe We need a manual translation here? See the patch.
Attachment #8341573 - Flags: review?(ehung)
blocking-b2g: --- → fugu+
Comment on attachment 8341573 [details] [diff] [review] calendar_l10n.patch Evan, can you check out this patch and give some feedback?
Attachment #8341573 - Flags: review?(ehung) → feedback?(evanxd)
After discussed with our partner, it will not block fugu.
blocking-b2g: fugu+ → ---
Comment on attachment 8341573 [details] [diff] [review] calendar_l10n.patch Let us fix the bug once it has a project flag, or we have time for this bug.
Attachment #8341573 - Flags: feedback?(evanxd)
blocking-b2g: --- → backlog
Can you fix it on v1.3?
looks like this problem was fixed since 2.0, and we will also solve another problem related to the "offline calendar" for 2.2 on Bug 1061140. so I'm marking it as resolved.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
See Also: → 1061140
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: