Skip to content

Commit d23af23

Browse files
committed
chore: move strings to related strings file
1 parent 659853c commit d23af23

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

src/extensionsIntegrated/Phoenix-live-preview/live-preview.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
display: flex;
9999
align-items: center;
100100
margin-right: 4px;
101+
margin-left: 4px;
101102
max-width: 80%;
102103
text-overflow: ellipsis;
103104
overflow: hidden;

src/extensionsIntegrated/Phoenix-live-preview/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ define(function (require, exports, module) {
579579
livePreview: Strings.LIVE_DEV_STATUS_TIP_OUT_OF_SYNC,
580580
clickToReload: Strings.LIVE_DEV_CLICK_TO_RELOAD_PAGE,
581581
livePreviewSettings: Strings.LIVE_DEV_SETTINGS,
582+
livePreviewConfigureModes: Strings.LIVE_PREVIEW_CONFIGURE_MODES,
582583
clickToPopout: Strings.LIVE_DEV_CLICK_POPOUT,
583584
openInChrome: Strings.LIVE_DEV_OPEN_CHROME,
584585
openInSafari: Strings.LIVE_DEV_OPEN_SAFARI,

src/extensionsIntegrated/Phoenix-live-preview/panel.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div id="panel-live-preview">
22
<div id="live-preview-plugin-toolbar" class="plugin-toolbar" style="display: flex; align-items: center; flex-direction: row;">
3-
<div style="width: 30%;display: flex;">
3+
<div style="width: 20%;display: flex;">
44
<button id="reloadLivePreviewButton" title="{{clickToReload}}" class="btn-alt-quiet toolbar-button reload-icon"></button>
5-
<button id="livePreviewModeBtn" title="Configure Live Preview Modes" class="btn-alt-quiet toolbar-button btn-dropdown btn"><!-- Content will come here dynamically --></button>
5+
<button id="livePreviewModeBtn" title="{{livePreviewConfigureModes}}" class="btn-alt-quiet toolbar-button btn-dropdown btn"><!-- Content will come here dynamically --></button>
66
</div>
77
<div style="width: fit-content;min-width: 60%;display: flex;justify-content: center; align-items: center;">
88
<!-- these are buttons that are always invisible to help central align the panel title-->
@@ -35,7 +35,7 @@
3535
<img src="thirdparty/devicon/icons/firefox/firefox-original.svg" />
3636
</button>
3737
</div>
38-
<div style="width: 10%;display: flex;align-items: center; justify-content: flex-end">
38+
<div style="width: 20%;display: flex;align-items: center; justify-content: flex-end">
3939
<button id="livePreviewSettingsBtn" title="{{livePreviewSettings}}"
4040
class="btn-alt-quiet toolbar-button lp-settings-icon"><i class="fa-solid fa-gear"></i></button>
4141
</div>

src/nls/root/strings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ define({
195195
"LIVE_PREVIEW_MODE_EDIT": "Edit Mode",
196196
"LIVE_PREVIEW_EDIT_HIGHLIGHT_ON": "Edit Highlights on Hover",
197197
"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",
198+
"LIVE_PREVIEW_CONFIGURE_MODES": "Configure Live Preview Modes",
198199
"LIVE_PREVIEW_PRO_FEATURE_TITLE": "Pro Feature",
199200
"LIVE_PREVIEW_PRO_FEATURE_MESSAGE": "This is a Pro feature. Subscribe to Phoenix Pro to keep using this feature.",
200201
"LIVE_PREVIEW_PRO_SUBSCRIBE": "Subscribe",

0 commit comments

Comments
 (0)