Skip to content

Commit 801f937

Browse files
committed
feat: add styles bar states strings
1 parent 518279a commit 801f937

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

src/nls/root/strings.js

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ define({
202202
"LIVE_DEV_STYLER_FONT": "Font family",
203203
"LIVE_DEV_STYLER_SIZE": "Font size",
204204
"LIVE_DEV_STYLER_WEIGHT": "Font weight",
205+
"LIVE_DEV_STYLER_WEIGHT_CYCLE_HINT": "Click to cycle Regular / Bold / Black · Shift-click for all weights",
205206
"LIVE_DEV_STYLER_ALIGN": "Text alignment",
206207
"LIVE_DEV_STYLER_BORDER": "Border",
207208
"LIVE_DEV_STYLER_SPACING": "Margin & padding",
@@ -214,6 +215,8 @@ define({
214215
"LIVE_DEV_STYLER_DOCK_RIGHT": "Move bar to right",
215216
"LIVE_DEV_STYLER_RESET": "Reset changes",
216217
"LIVE_DEV_STYLER_NOTHING_TO_RESET": "No changes to reset",
218+
"LIVE_DEV_STYLER_OVERRIDDEN": "This change is overridden by a more specific rule",
219+
"LIVE_DEV_STYLER_APPLY_INLINE": "Apply anyway",
217220
"LIVE_DEV_STYLER_CLOSE_SAVED": "Done",
218221
"LIVE_DEV_STYLER_MIXED": "Mixed",
219222
"LIVE_DEV_STYLER_SIDES_MIXED": "Sides differ — edit each side separately",
@@ -237,10 +240,14 @@ define({
237240
"LIVE_DEV_STYLER_LINE_HEIGHT": "Line height",
238241
"LIVE_DEV_STYLER_LETTER_SPACING": "Letter spacing",
239242
"LIVE_DEV_STYLER_WORD_SPACING": "Word spacing",
243+
"LIVE_DEV_STYLER_TEXT_INDENT": "Text indent",
244+
"LIVE_DEV_STYLER_FORMAT_TAB": "Format",
245+
"LIVE_DEV_STYLER_SPACING_TAB": "Spacing",
240246
"LIVE_DEV_STYLER_CASE": "Case",
241247
"LIVE_DEV_STYLER_BOLD": "Bold",
242248
"LIVE_DEV_STYLER_ITALIC": "Italic",
243249
"LIVE_DEV_STYLER_UNDERLINE": "Underline",
250+
"LIVE_DEV_STYLER_OVERLINE": "Overline",
244251
"LIVE_DEV_STYLER_STRIKETHROUGH": "Strikethrough",
245252
"LIVE_DEV_STYLER_NONE": "None",
246253
"LIVE_DEV_STYLER_UPPERCASE": "Uppercase",
@@ -348,10 +355,31 @@ define({
348355
"LIVE_DEV_STYLER_NEW_SAVES_MANY": "Saves the style in {0} - styles {1} elements on the page",
349356
"LIVE_DEV_STYLER_NEW_ERR_ID_TAKEN": "Another element already has that id - try a class instead",
350357
"LIVE_DEV_STYLER_NEW_ERR_NO_MATCH": "This doesn't match the selected element, so your edits wouldn't change it",
351-
"LIVE_DEV_STYLER_NEW_ERR_STATE": "Styles like \":hover\" can't be edited live here yet",
358+
"LIVE_DEV_STYLER_NEW_ERR_PSEUDO_ELEMENT": "Pseudo-elements like \"::before\" can't be styled here",
359+
"LIVE_DEV_STYLER_NEW_ERR_STATE_BASE": "Add a class or id before the state, like .button:hover",
360+
"LIVE_DEV_STYLER_NEW_STATE_SAVES": "Creates \"{0}\" - edits apply in the {1} state",
361+
"LIVE_DEV_STYLER_NEW_STATE_ADDS_CLASS": "Adds class \"{0}\" to this element and styles its {1} state",
362+
"LIVE_DEV_STYLER_NEW_STATE_ADDS_ID": "Gives this element the id \"{0}\" and styles its {1} state",
352363
"LIVE_DEV_STYLER_NEW_ERR_INVALID": "That doesn't look like a valid style name - try a class like .card or an id like #hero",
353364
"LIVE_DEV_STYLER_CREATE": "Create",
354365
"LIVE_DEV_STYLER_SELECTOR_PLACEHOLDER": "e.g. .card or #hero",
366+
"LIVE_DEV_STYLER_STATE": "State",
367+
"LIVE_DEV_STYLER_STATE_PICK": "Edit a state (hover, focus, …)",
368+
"LIVE_DEV_STYLER_STATE_NORMAL": "Normal",
369+
"LIVE_DEV_STYLER_STATE_BANNER": "Editing the {0} state — changes apply only to {0}",
370+
"LIVE_DEV_STYLER_STATE_EXIT": "Exit",
371+
"LIVE_DEV_STYLER_STATE_NO_BASE": "Add a class or id to this element first so the state has somewhere to live",
372+
"LIVE_DEV_STYLER_STATE_HOVER": "Hover",
373+
"LIVE_DEV_STYLER_STATE_FOCUS": "Focus",
374+
"LIVE_DEV_STYLER_STATE_ACTIVE": "Active",
375+
"LIVE_DEV_STYLER_STATE_FOCUS_WITHIN": "Focus within",
376+
"LIVE_DEV_STYLER_STATE_FOCUS_VISIBLE": "Focus visible",
377+
"LIVE_DEV_STYLER_STATE_VISITED": "Visited",
378+
"LIVE_DEV_STYLER_STATE_TARGET": "Target",
379+
"LIVE_DEV_STYLER_STATE_CHECKED": "Checked",
380+
"LIVE_DEV_STYLER_STATE_DISABLED": "Disabled",
381+
"LIVE_DEV_STYLER_STATE_ENABLED": "Enabled",
382+
"LIVE_DEV_STYLER_STATE_PLACEHOLDER_SHOWN": "Placeholder shown",
355383
"LIVE_DEV_STYLER_HEIGHT": "Height",
356384
"LIVE_DEV_STYLER_SIZE_TAB": "Size",
357385
"LIVE_DEV_STYLER_MIN_WIDTH": "Min width",

0 commit comments

Comments
 (0)