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)
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)
100.33 KB,
image/x-png
|
Details | |
387 bytes,
patch
|
Details | Diff | Splinter Review |
+++ 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:
Updated•11 years ago
|
Component: Gaia → Gaia::Calendar
Comment 3•11 years ago
|
||
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"..
Comment 6•11 years ago
|
||
triage: not blocking for 1.1, will nominate and consider for 1.2
blocking-b2g: leo? → koi?
Comment 8•11 years ago
|
||
triage: not blocking, backlogged for 1.3
blocking-b2g: 1.3? → ---
tracking-b2g18:
--- → 28+
Updated•11 years ago
|
Summary: [Buri][Calendar]The translation is abnormal after change language and restart. → [Buri][fugu][Calendar]The translation is abnormal after change language and restart.
Updated•11 years ago
|
Attachment #8341573 -
Flags: review?(ehung)
Updated•11 years ago
|
blocking-b2g: --- → fugu+
Comment 10•11 years ago
|
||
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)
Comment 11•11 years ago
|
||
After discussed with our partner, it will not block fugu.
blocking-b2g: fugu+ → ---
Comment 12•11 years ago
|
||
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)
Updated•11 years ago
|
blocking-b2g: --- → backlog
Comment 13•11 years ago
|
||
Can you fix it on v1.3?
Comment 14•10 years ago
|
||
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
status-b2g-v2.0:
--- → unaffected
status-b2g-v2.1:
--- → unaffected
status-b2g-v2.2:
--- → unaffected
Resolution: --- → FIXED
See Also: → 1061140
Assignee | ||
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•