Skip to content

Commit e4e47ed

Browse files
Moving message to messages.properties
1 parent 332bea7 commit e4e47ed

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchMessages.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ public class WorkbenchMessages extends NLS {
3636

3737
public static String UpdateUIZoomTitle;
3838

39+
public static String UpdateUIZoomDesc;
40+
3941
public static String ThemeChangeWarningText;
4042

4143
public static String ThemeChangeWarningTitle;

bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,7 @@ private void createUpdateOnRuntimeButton(Composite composite) {
215215
GridLayout layout = new GridLayout(1, false);
216216
buttonComposite.setLayout(layout);
217217
Label infoLabel = new Label(buttonComposite, SWT.WRAP);
218-
infoLabel.setText(
219-
"This preference is Windows only. Activating it will change the DPI awareness of the IDE to PerMonitorV2 and dynamically scale all windows according to the monitor it is currently assigned to. An additional effect of this preference is to set the default browser to Edge to provide the appropriate scaling of content displayed in a browser. This feature is still in development and therefore marked as experimental."); //$NON-NLS-1$
218+
infoLabel.setText(WorkbenchMessages.UpdateUIZoomDesc);
220219
GridData labelGridData = new GridData(SWT.FILL, SWT.CENTER, true, false);
221220
labelGridData.widthHint = 400; // Adjust this value to control initial wrapping width
222221
infoLabel.setLayoutData(labelGridData);

bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/messages.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ ThemingEnabled = E&nable theming
498498
ThemeChangeWarningText = Restart for the theme changes to take full effect
499499
ThemeChangeWarningTitle = Theme Changed
500500
UpdateUIZoomTitle = Update UI scaling on runtime
501+
UpdateUIZoomDesc = Activating it will dynamically scale all windows according to the monitor it is currently assigned to. An additional effect of this preference is to set the default browser to Edge to provide the appropriate scaling of content displayed in a browser. This feature is still in development and therefore marked as experimental.
501502
# --- Workbench -----
502503
WorkbenchPreference_openMode=Open mode
503504
WorkbenchPreference_doubleClick=D&ouble click

0 commit comments

Comments
 (0)