Closed Bug 830527 Opened 12 years ago Closed 12 years ago

[Cost Control] Dates in Cost Control application are not localizable

Categories

(Firefox OS Graveyard :: Gaia::Cost Control, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.0 fixed)

VERIFIED FIXED
blocking-b2g tef+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.0 --- fixed

People

(Reporter: stas, Assigned: arcturus)

Details

(Keywords: l12y, late-l10n, Whiteboard: [EU_TPE_TRIAGED][triaged:1/15])

Attachments

(2 files, 1 obsolete file)

Attached image Screenshot
The chart in the cost control app has uses dates to annotate the horizontal axis. The format is not localizable. See attached screenshot.
Keywords: late-l10n
blocking-b2g: tef? → tef+
Whiteboard: [EU_TPE_TRIAGED]
Summary: Dates in the chart labels are not localizable → [Cost Control] Dates in the chart labels are not localizable
Assignee: nobody → salva
Whiteboard: [EU_TPE_TRIAGED] → [EU_TPE_TRIAGED][triaged:1/15]
Stealing :)
Assignee: salva → francisco.jordano
Attachment #703283 - Flags: review?(salva)
Attachment #703283 - Flags: review?(stas)
Comment on attachment 703283 [details] Pointer to GitHub PR 7665 Adding Kaze as reviewer as he has some input for this patch
Attachment #703283 - Flags: review?(kaze)
New version on github with comments from Kaze added. Salva we modified the format to '%b %e' to avoid dates like 'FEB 01', if that was on purpose, please let me know and will amend the commit. Thanks folks!
Comment on attachment 703283 [details] Pointer to GitHub PR 7665 Stealing review from stas. Can you make the comment on the dateformat include a link to http://pubs.opengroup.org/onlinepubs/007908799/xsh/strftime.html ? Then localizers don't need to remember that link from elsewhere. I didn't dive into the details of the flow, is the l10n data loaded for sure when that code is triggered? Also, the upperCase is concerning me. Do we *really* want that? We just removed the text transform elsewhere, but didn't dive into js ways of doing the same thing. Clearing the review request, this isn't much of an r- or r+, but a few things for the fellow reviewers to take into account.
Attachment #703283 - Flags: review?(stas)
Rewording to clarify the nature of the bug and solve it once for all.
Summary: [Cost Control] Dates in the chart labels are not localizable → [Cost Control] Dates in Cost Control application are not localizable
Comment on attachment 703283 [details] Pointer to GitHub PR 7665 Axel, I'm asking you again for review cause we modified the scope, not just a single piece, but all the missing l10n for cost control. Thanks
Attachment #703283 - Flags: review?(l10n)
Comment on attachment 703283 [details] Pointer to GitHub PR 7665 I think from an l10n pov this looks OK, relying on the other reviewers for the actual code pieces.
Attachment #703283 - Flags: review?(l10n) → review+
Comment on attachment 703283 [details] Pointer to GitHub PR 7665 The `short-date-format' l10n entity doesn’t look right, see my comments on github. Feel free to r? me when your PR is updated.
Attachment #703283 - Flags: review?(kaze) → review-
Comment on attachment 703283 [details] Pointer to GitHub PR 7665 PR updated with requested changes. Thanks guys!
Attachment #703283 - Flags: review- → review?(kaze)
Attachment #703283 - Flags: review?(salva) → review+
Attachment #703831 - Flags: review?(francisco.jordano)
Comment on attachment 703831 [details] Removing NO-SIM scenario due to lack of madurity It has been necessary to bump some l10n strings. As they are used dynamically on code, this code has been modified as well.
(In reply to Salvador de la Puente González [:salva] from comment #12) > Comment on attachment 703831 [details] > Removing NO-SIM scenario due to lack of madurity > > It has been necessary to bump some l10n strings. As they are used > dynamically on code, this code has been modified as well. salva, attach that PR over in bug 831274?
Comment on attachment 703831 [details] Removing NO-SIM scenario due to lack of madurity Please, can someone delete this attachment. It is missplaced.
Attachment #703831 - Flags: review?(francisco.jordano)
Comment on attachment 703831 [details] Removing NO-SIM scenario due to lack of madurity Not a real patch for this bug, just a tragic error ;)
Attachment #703831 - Attachment is obsolete: true
Comment on attachment 703283 [details] Pointer to GitHub PR 7665 Thanks for the fixes! :-)
Attachment #703283 - Flags: review?(kaze) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Verified fixed in pvt b2g18 user build. Gaia: Rev 7cacbcb8042b49d816a34de8e9767dcedefa6d84 B-D 2013-01-25 02:57:10 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/32c2cc3e19ff BuildID 20130124140859 Version 18.0 The format of data in different lang looks like a different lang for me.
Status: RESOLVED → VERIFIED
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Landed on mozilla-b2g18/gaia master prior to the 1/25 branching to mozilla-b2g18_v1_0_0/v1.0.0, updating status-b2g-v1.0.0 to fixed.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: