Commit Graph

9 Commits

Author SHA1 Message Date
Tom Tromey
1fc208e8d8 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74

--HG--
extra : rebase_source : 475b4a2de10d65cadd6198e49e5ff5cfb4e9b871
2016-10-25 21:30:18 -06:00
Wes Kocher
41f7647994 Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey
966cb8ff85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74

--HG--
extra : rebase_source : ced0ac04663356c2e2ce315d09b5cf0e27617b4e
2016-10-25 21:30:18 -06:00
Tom Tromey
92a5c63599 Bug 1310702 - use webpack-like require.context in devtools l10n; r=jryans
MozReview-Commit-ID: 5noH0y0MgaK

--HG--
extra : rebase_source : e7a4507a89f467fa8143be1899cd5e6ba80aa6fe
2016-10-20 11:00:28 -06:00
Julian Descottes
23f5b2f6e9 Bug 1299070 - Move l10n.ELLIPSIS behind getter;r=bgrins
This avoids loading the ellipsis properties file on browser startup.

MozReview-Commit-ID: 8lfAeltfn10

--HG--
extra : rebase_source : 11995c31fb4c9238777348e0c13b07888dd3ab0c
2016-09-01 16:26:09 +02:00
Julian Descottes
883018c211 Bug 1294186 - Create localization helper for markup using data-localization attributes;r=bgrins
Create a helper designed to localize markup containing specific localization atttributes
(see the jsdoc in l10n.js)

MozReview-Commit-ID: 4ThyI1DaLQS

--HG--
extra : rebase_source : 3cb6620964c0dc27a348d4e85f93d437c2ad5d08
2016-08-30 21:40:28 +02:00
Julian Descottes
fb5906a208 Bug 1294186 - Add memoized getter for properties files in l10n.js;r=bgrins
Localization properties files should not change during a session. To allow
callers to easily localize strings without having to instanciate LocalizationHelper
objects, we should cache the already required properties files.

This will for now only be used internally by the LocalizationHelper as well as
by the markup localization utility. But we could now use this to provide static
localization methods.

MozReview-Commit-ID: 85agGNJlIk9

--HG--
extra : rebase_source : 55ef18f371fa474e575ddc15d8e3b89ceca95d6b
2016-08-25 11:22:37 +02:00
Julian Descottes
f9242cf775 Bug 1298012 - Use a shared locale file for ellipsis character;r=bgrins
MozReview-Commit-ID: 2LuirHIMiUt

--HG--
extra : rebase_source : 1b78185c4e524268a869e1dd669a4103629301c1
2016-08-26 15:16:44 +02:00
Julian Descottes
fa1078eae2 Bug 1298012 - move l10n.js from devtools/client/shared to devtools/shared;r=bgrins
MozReview-Commit-ID: 1HX0g7AoJwt

--HG--
rename : devtools/client/shared/l10n.js => devtools/shared/l10n.js
rename : devtools/client/shared/vendor/NODE_PROPERTIES_UPGRADING => devtools/shared/node-properties/UPGRADING.md
rename : devtools/client/shared/vendor/node-properties.js => devtools/shared/node-properties/node-properties.js
rename : devtools/client/shared/vendor/SPRINTF_JS_UPGRADING => devtools/shared/sprintfjs/UPGRADING.md
rename : devtools/client/shared/vendor/sprintf.js => devtools/shared/sprintfjs/sprintf.js
extra : rebase_source : 9ace2a98a0a158db502087954775971dc962a168
extra : intermediate-source : 69f9cf04d5c89d498a589e03dee73217c4adec7d
extra : source : 6b4cada962aaa543279112b01ed800f3ca9315e4
2016-08-25 17:51:42 +02:00