Closed
Bug 818015
Opened 12 years ago
Closed 12 years ago
Order of variables for date elements is wrong for locales in Homescreen
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect, P3)
Firefox OS Graveyard
Gaia::Homescreen
Tracking
(blocking-basecamp:-)
RESOLVED
FIXED
blocking-basecamp | - |
People
(Reporter: pascalc, Assigned: stas)
References
Details
Attachments
(2 files)
On the Home Screen, the date is badly displayed in French, the words are translated but the format uses English syntax. The lockscreen does not have this bug. Lockscreen: mardi 4 décembre Homescreen: mardi, décembre 4 I see that with a Firefox OS Desktop client based on the mozilla-beta repo + the gaia repo I have a small patch that fixes that locally. Will do a pull request referencing this bug
Reporter | ||
Comment 1•12 years ago
|
||
Pointer to Github pull-request
Reporter | ||
Updated•12 years ago
|
Attachment #689185 -
Flags: review?(kaze)
Comment 2•12 years ago
|
||
Comment on attachment 689185 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/6804 Unless I miss something, the fix you propose would not work in English. The real fix would be to understand why the _('longDateFormat') string is not properly returned. This looks like an initialization issue (e.g. init before l10n is ready).
Attachment #689185 -
Flags: review?(kaze) → review-
Comment 3•12 years ago
|
||
However, this bug remains valid and should be fixed ASAP. Nominating for blocking-basecamp.
blocking-basecamp: --- → ?
Updated•12 years ago
|
Assignee: nobody → kaze
Updated•12 years ago
|
Target Milestone: --- → B2G C2 (20nov-10dec)
Updated•12 years ago
|
blocking-basecamp: ? → +
Priority: -- → P3
Comment 5•12 years ago
|
||
OK, turns out the problem is a pure l10n one: the code works fine but the homescreen/locales/*.properties files are not up-to-date. As _('longDateFormat') is not defined for French (nor for any other supported locale in this repository…), the English format is used instead. Pike and/or Staś, would you please update the Gaia repository with the *.properties files for [ar], [fr] and [zh-TW] from your repo?
Assignee: kaze → l10n
Target Milestone: B2G C2 (20nov-10dec) → ---
Comment 6•12 years ago
|
||
stas said that he's doing another migration before going on PTO
Assignee: l10n → stas
Assignee | ||
Comment 7•12 years ago
|
||
I opened https://github.com/mozilla-b2g/gaia/pull/6863. I'll probably open a new bug, too.
Comment 8•12 years ago
|
||
From our read, this doesn't impact any 1.0 shipping locales. We can revisit for a future version.
blocking-basecamp: + → -
Comment 9•12 years ago
|
||
fixed by bug 818999
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•