Closed
Bug 1182406
Opened 9 years ago
Closed 9 years ago
Serialize L20n resources into an object
Categories
(Firefox OS Graveyard :: Gaia::L10n, defect)
Firefox OS Graveyard
Gaia::L10n
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stas, Assigned: stas)
Details
Attachments
(2 files)
A follow-up to bug 1169361: the serialized JSON for entries should be an object and not an array with an object.
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8632024 [details] [review] [gaia] stasm:1182406-serialize-l20n-to-object > mozilla-b2g:master https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=5e106e06030cd91a7bc718d01ad44769f837fef0
Attachment #8632024 -
Flags: review?(gandalf)
Comment 3•9 years ago
|
||
Can you use r? on a PR against l20n.js? The webpack output is so mingled that reviewing this is close to impossible.
Flags: needinfo?(stas)
Assignee | ||
Comment 4•9 years ago
|
||
Flags: needinfo?(stas)
Attachment #8632266 -
Flags: review?(gandalf)
Comment 5•9 years ago
|
||
Comment on attachment 8632266 [details] [review] Pull request against l20n.js Thanks! I left two minor nits that you may want to consider.
Attachment #8632266 -
Flags: review?(gandalf) → review+
Comment 6•9 years ago
|
||
Comment on attachment 8632024 [details] [review] [gaia] stasm:1182406-serialize-l20n-to-object > mozilla-b2g:master Damn, webpack is making the history of build/l10n/l20n.js worthless. Is there a way to prevent it from mingling module order on each build?
Attachment #8632024 -
Flags: review?(gandalf) → review+
Assignee | ||
Comment 7•9 years ago
|
||
I don't suppose there is. I did like your suggestion of splitting l20n into separate files in build/l10n though. I'll wait for https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=5a2c517584cd4121d29acf6225f0718a0faf341f to pass and land.
Comment 8•9 years ago
|
||
(In reply to Staś Małolepszy :stas from comment #7) > I don't suppose there is. I did like your suggestion of splitting l20n into > separate files in build/l10n though. Cool. Let's talk about this next week. I like this option as well more than the webpack.
Assignee: nobody → stas
Assignee | ||
Comment 9•9 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/2fc6289cd0afdcbf6370e06353459bba250ff3c4 https://github.com/l20n/l20n.js/commit/1d3952d55ae08a51e357831a03f821c99fbbfe80
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•