Bug 1354647 - Move the eyedropper l10n strings to /devtools/shared/; r=jryans
authorPatrick Brosset <pbrosset@mozilla.com>
Fri, 07 Apr 2017 22:00:00 +0200
changeset 351914 15538e73c15ee23143c1fb0cd2937af9715de672
parent 351913 e850b9c21333558fe6dc63bf3313e74a0afc099b
child 351915 11b27254f15229afc276141714a1d94557db5fd5
push id31623
push userarchaeopteryx@coole-files.de
push dateSat, 08 Apr 2017 20:46:02 +0000
treeherdermozilla-central@21c4aca1ae60 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1354647
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1354647 - Move the eyedropper l10n strings to /devtools/shared/; r=jryans MozReview-Commit-ID: Fgu72wGpFK1
devtools/client/locales/en-US/eyedropper.properties
devtools/server/actors/highlighters/eye-dropper.js
devtools/shared/locales/en-US/eyedropper.properties
--- a/devtools/server/actors/highlighters/eye-dropper.js
+++ b/devtools/server/actors/highlighters/eye-dropper.js
@@ -13,17 +13,17 @@ const {CanvasFrameAnonymousContentHelper
 const Services = require("Services");
 const EventEmitter = require("devtools/shared/event-emitter");
 const {rgbToHsl, rgbToColorName} = require("devtools/shared/css/color").colorUtils;
 const {getCurrentZoom, getFrameOffsets} = require("devtools/shared/layout/utils");
 
 loader.lazyGetter(this, "clipboardHelper",
   () => Cc["@mozilla.org/widget/clipboardhelper;1"].getService(Ci.nsIClipboardHelper));
 loader.lazyGetter(this, "l10n",
-  () => Services.strings.createBundle("chrome://devtools/locale/eyedropper.properties"));
+  () => Services.strings.createBundle("chrome://devtools-shared/locale/eyedropper.properties"));
 
 const ZOOM_LEVEL_PREF = "devtools.eyedropper.zoom";
 const FORMAT_PREF = "devtools.defaultColorUnit";
 // Width of the canvas.
 const MAGNIFIER_WIDTH = 96;
 // Height of the canvas.
 const MAGNIFIER_HEIGHT = 96;
 // Start position, when the tool is first shown. This should match the top/left position
rename from devtools/client/locales/en-US/eyedropper.properties
rename to devtools/shared/locales/en-US/eyedropper.properties