Skip to content

Commit e896b36

Browse files
devvaannshabose
authored andcommitted
feat: add strings for docking of styles bar
1 parent a4c2ba4 commit e896b36

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/LiveDevelopment/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ define(function main(require, exports, module) {
7272
elemHighlights: CONSTANTS.HIGHLIGHT_HOVER, // default value, this will get updated when the extension loads
7373
showRulerLines: false, // default value, this will get updated when the extension loads
7474
showStylesBar: true, // default value, this will get updated when the extension loads
75-
stylesBarPosition: "", // saved bar position ("<cx>:<cy>"); empty = default spot
75+
stylesBarPosition: "", // saved dock side ("top"/"bottom"); empty = default bottom
7676
syncSourceAndPreview: true, // default value, this will get updated when the extension loads
7777
imageGalleryAutoOpen: true, // auto-open gallery on first image click per session
7878
isPaidUser: false, // will be updated when we fetch entitlements

src/nls/root/strings.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ define({
208208
"LIVE_DEV_STYLER_SPACING": "Margin & padding",
209209
"LIVE_DEV_STYLER_LAYOUT": "Layout",
210210
"LIVE_DEV_STYLER_TEXT_STYLE": "Text style",
211+
"LIVE_DEV_STYLER_DOCK_TOP": "Dock to top",
212+
"LIVE_DEV_STYLER_DOCK_BOTTOM": "Dock to bottom",
211213
"LIVE_DEV_STYLER_RESET": "Reset changes",
212214
"LIVE_DEV_STYLER_NOTHING_TO_RESET": "No changes to reset",
213215
"LIVE_DEV_STYLER_OVERRIDDEN": "This change is overridden by a more specific rule",
@@ -390,7 +392,7 @@ define({
390392
"LIVE_DEV_STYLER_STATE_NORMAL": "Normal",
391393
"LIVE_DEV_STYLER_STATE_BANNER": "Editing the {0} state — changes apply only to {0}",
392394
"LIVE_DEV_STYLER_STATE_EXIT": "Exit",
393-
"LIVE_DEV_STYLER_STATE_NO_BASE": "Add a class or id to this element first so the state has somewhere to live",
395+
"LIVE_DEV_STYLER_STATE_NO_BASE": "States can't be applied to inline styles",
394396
"LIVE_DEV_STYLER_STATE_HOVER": "Hover",
395397
"LIVE_DEV_STYLER_STATE_FOCUS": "Focus",
396398
"LIVE_DEV_STYLER_STATE_ACTIVE": "Active",

0 commit comments

Comments
 (0)