Bug 1354647 - Move the eyedropper l10n strings to /devtools/shared/; r=jryans draft
authorPatrick Brosset <pbrosset@mozilla.com>
Fri, 07 Apr 2017 22:00:00 +0200
changeset 558624 25ceb960d644fea262caa4d2535f2d306f79aff2
parent 558408 8c0d69c93c1a99217dd38ed01e23750ce7c22ae4
child 623238 33bcdcdab8e250d52f9be9ba68347cfebd3a5041
push id52921
push userbmo:pbrosset@mozilla.com
push dateFri, 07 Apr 2017 20:01:18 +0000
reviewersjryans
bugs1354647
milestone55.0a1
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