Skip to content

Commit 362485b

Browse files
committed
refactor: move to inspect element naming convention
1 parent 56b0bb7 commit 362485b

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/LiveDevelopment/LivePreviewConstants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ define(function main(require, exports, module) {
3636

3737
exports.PREFERENCE_LIVE_PREVIEW_MODE = "livePreviewMode";
3838

39-
exports.PREFERENCE_PROJECT_ELEMENT_HIGHLIGHT = "livePreviewElementHighlights";
39+
exports.PREFERENCE_PROJECT_ELEMENT_HIGHLIGHT = "livePreviewInspectElement";
4040
exports.HIGHLIGHT_HOVER = "hover";
4141
exports.HIGHLIGHT_CLICK = "click";
4242

src/nls/root/strings.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ define({
180180
"LIVE_DEV_SETTINGS_FRAMEWORK": "Server Framework",
181181
"LIVE_DEV_SETTINGS_FRAMEWORK_CUSTOM": "Custom",
182182
"LIVE_DEV_SETTINGS_FRAMEWORK_PREFERENCES": "Server Framework, currently supports only docusaurus",
183-
"LIVE_DEV_SETTINGS_ELEMENT_HIGHLIGHT": "Show Live Preview Element Highlights on:",
184-
"LIVE_DEV_SETTINGS_ELEMENT_HIGHLIGHT_PREFERENCE": "Show live preview element highlights on 'hover' or 'click'. Defaults to 'hover'",
183+
"LIVE_DEV_SETTINGS_ELEMENT_HIGHLIGHT_PREFERENCE": "Inspect element in Live Preview on 'hover' or 'click'. Defaults to 'hover'",
185184
"LIVE_DEV_SETTINGS_SHOW_RULER_LINES_PREFERENCE": "Show measurements when elements are selected in live preview. Defaults to 'false'",
186185
"LIVE_DEV_TOOLBOX_SELECT_PARENT": "Select Parent",
187186
"LIVE_DEV_TOOLBOX_EDIT_TEXT": "Edit Text",
@@ -243,7 +242,7 @@ define({
243242
"LIVE_PREVIEW_MODE_PREVIEW": "Preview Mode",
244243
"LIVE_PREVIEW_MODE_HIGHLIGHT": "Highlight Mode",
245244
"LIVE_PREVIEW_MODE_EDIT": "Edit Mode",
246-
"LIVE_PREVIEW_EDIT_HIGHLIGHT_ON": "Edit Highlights on Hover",
245+
"LIVE_PREVIEW_EDIT_HIGHLIGHT_ON": "Inspect Element on Hover",
247246
"LIVE_PREVIEW_SHOW_RULER_LINES": "Show Measurements",
248247
"LIVE_PREVIEW_MODE_PREFERENCE": "'{0}' shows only the webpage, '{1}' connects the webpage to your code - click on elements to jump to their code and vice versa, '{2}' provides highlighting along with advanced element manipulation",
249248
"LIVE_PREVIEW_CONFIGURE_MODES": "Configure Live Preview Modes",

0 commit comments

Comments
 (0)