From 3c1ee1cd9e9d2c390d4c677385a1ab3f94c3fc8b Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Sat, 13 Oct 2018 17:07:52 -0500 Subject: [PATCH] Tweaks --- _locales/en/messages.json | 30 ++++++++++++++++++------------ edit/edit.css | 3 +++ options.html | 4 ++-- popup.html | 5 ++++- popup/popup.css | 4 ++-- popup/popup.js | 31 ++++++++++++------------------- 6 files changed, 41 insertions(+), 36 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 50e96dfe..c6c443c6 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -771,23 +771,29 @@ "optionsOpenManager": { "message": "Manage styles" }, + "optionsPopupActionElements": { + "message": "Action elements", + "description": "Label in the options page to alter the popup action elements to show either text or icons" + }, "optionsPopupClassicUI": { - "message": "Text and buttons" + "message": "Text and buttons", + "description": "Tooltip displayed when hovering the popup action elements option to choose the classic text & button format" }, "optionsPopupIconUI": { - "message": "Vector icons" + "message": "Vector icons", + "description": "Tooltip displayed when hovering the popup action elements option to choose displaying vector icons instead of text" }, - "optionsPopupTitleClickAction": { - "message": "Style name click action" + "optionsPopupClickAction": { + "message": "Style name click action", + "description": "Label in the options page for the action performed when clicking on a style name in the popup" }, "optionsPopupClickActionLink": { - "message": "Edit style" + "message": "Edit style", + "description": "Tooltip displayed when hovering the popup click action option to choose to edit the style when clicking on the style name in the popup" }, "optionsPopupClickActionToggle": { - "message": "Toggle style" - }, - "optionsPopupTitle": { - "message": "Action elements" + "message": "Toggle style", + "description": "Tooltip displayed when hovering the popup click action option to choose to toggle a style (on or off) when clicking the style name in the popup" }, "optionsPopupWidth": { "message": "Popup width (in pixels)" @@ -1211,7 +1217,7 @@ "description": "Note in the popup when opened on addons.mozilla.org in Firefox >= 59" }, "unreachableAMOHintNewFF": { - "message": "In Firefox 60 and newer you'll also have to to remove AMO domain from in .", + "message": "In Firefox 60 and newer you'll also have to remove AMO domain from in .", "description": "Note in the popup when opened on addons.mozilla.org in Firefox >= 59" }, "unreachableAMOHintOldFF": { @@ -1305,8 +1311,8 @@ "description": "Label for toolbar pop-up that precedes the links to write a new style" }, "writeStyleForInfo": { - "message": "Create a new style by specifying target URLs.\nAvailable options shown in hover tooltips.", - "description": "Style creation actions tooltip to accompany icon" + "message": "Create a new style by selecting a target URL.\nAvailable options shown in hover tooltips.", + "description": "Popup style creation actions tooltip to accompany icon" }, "writeStyleForURL": { "message": "this URL", diff --git a/edit/edit.css b/edit/edit.css index 9c84596d..32c10b5e 100644 --- a/edit/edit.css +++ b/edit/edit.css @@ -667,6 +667,9 @@ body[data-match-highlight="selection"]:not(.find-open) .CodeMirror-selection-hig #lint table:last-child { margin-bottom: 0; } +#lint table.empty { + display: none; +} #lint caption { text-align: left; font-weight: bold; diff --git a/options.html b/options.html index ec057cd5..0616632e 100644 --- a/options.html +++ b/options.html @@ -106,7 +106,7 @@
-
+
-
+