Closed
Bug 916293
Opened 11 years ago
Closed 11 years ago
[Clock]: Changes to nRemainHours need ID change to get picked up by l10n
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect)
Firefox OS Graveyard
Gaia::Clock
Tracking
(blocking-b2g:koi+, b2g-v1.2 fixed)
People
(Reporter: Pike, Assigned: gnarf)
Details
Attachments
(1 file, 1 obsolete file)
10.21 KB,
patch
|
jugglinmike
:
review+
|
Details | Diff | Splinter Review |
https://github.com/mozilla-b2g/gaia/commit/718c7638b05697b2d7f761f7462a62aa6ff7dc97 doesn't mention bug nor review, so it's hard to track down. It did change the context in which nRemainHours is used, though, and this won't be picked up by l10n for 1.2.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gnarf37
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #809355 -
Flags: review?(mike)
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 809355 [details] [diff] [review] patch v1 Axel - Could you please take a look at this and let me know if I interpreted the meaning of this bug correctly? Thanks!
Attachment #809355 -
Flags: review?(l10n)
Assignee | ||
Comment 3•11 years ago
|
||
This seems to be a request from the l10n team for 1.2 - marking koi?
blocking-b2g: --- → koi?
Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 809355 [details] [diff] [review] patch v1 Review of attachment 809355 [details] [diff] [review]: ----------------------------------------------------------------- Yep, this is the intention.
Attachment #809355 -
Flags: review?(l10n) → feedback+
Comment 6•11 years ago
|
||
Comment on attachment 809355 [details] [diff] [review] patch v1 Review of attachment 809355 [details] [diff] [review]: ----------------------------------------------------------------- This looks good to me. I have some questions about process for the localization team, but (since they've already given this "feedback+") it shouldn't block this patch. I'll flag them for "needsinfo" in just a moment.
Attachment #809355 -
Flags: review?(mike) → review+
Comment 7•11 years ago
|
||
Does this bug require the "late-l10n" flag? Also, would you mind verifying/assigning bug 921093, which I have created to track the "staleness" of the test localization files hosted in the Gaia repository? Thanks!
Flags: needinfo?(community)
Reporter | ||
Comment 8•11 years ago
|
||
This is a question for release management at which point they want to track and nail down late-l10n bugs. PS: community@localization.bugs is an alias, and there's no real ownership on requests on that alias.
Flags: needinfo?(community)
Assignee | ||
Comment 9•11 years ago
|
||
Same as the last patch only I added units to cover all of the render cases.
Attachment #809355 -
Attachment is obsolete: true
Attachment #811108 -
Flags: review?(mike)
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 811108 [details] [diff] [review] patch v2 Review of attachment 811108 [details] [diff] [review]: ----------------------------------------------------------------- ::: apps/clock/test/unit/banner_test.js @@ +21,5 @@ > + > + // +10 hours +12 minutes + 20 seconds > + this.hours = this.minutes + (10 * 60 * 60 * 1000); > + > + // +2 day +10 hours + 12 minutes + 20 seconds In my local copy I've fixed all of the +x ____ to be + right before the number (no space) @@ +41,5 @@ > suite('#show', function() { > test('should make notification visible ', function(done) { > var visible; > > this.banner.show(this.fourish); In my local copy I've also updated this.fourish to be this.hours
Comment 11•11 years ago
|
||
Comment on attachment 811108 [details] [diff] [review] patch v2 Review of attachment 811108 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for adding these unit tests, Corey! This should be good to land, provided you make the changes you described (plus the one I've requested). ::: apps/clock/test/unit/banner_test.js @@ +54,5 @@ > suite('#render', function() { > + setup(function() { > + this._ = this.sinon.spy(navigator.mozL10n, 'get'); > + }); > + test('minutes ahead', function(done) { Since these tests are synchronous, we don't have to use the `done` callback. (I don't know why it was used in the previous test.)
Attachment #811108 -
Flags: review?(mike) → review+
Assignee | ||
Comment 12•11 years ago
|
||
Thanks for catching the `done` -- copy pasta gets me every time!
Assignee | ||
Comment 13•11 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/7c372b9919ae0de5843e2f842c0c99b7d628126d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 15•11 years ago
|
||
Uplifted 7c372b9919ae0de5843e2f842c0c99b7d628126d to: v1.2: ad8b627e15819acf5526d6e213615ba3cffbb211
status-b2g-v1.2:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•