Skip to content

Commit 6949fca

Browse files
ptzieglervogella
authored andcommitted
Rename "Close" to "Apply" in DependencyPropertiesDialog
This changes the name of the OK button to "Close", to avoid any confusion with the similarly named "Cancel" button. Closes #1632
1 parent d73bc6c commit 6949fca

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/PDEUIMessages.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2014, 2024 IBM Corporation and others.
2+
* Copyright (c) 2014, 2025 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -77,7 +77,7 @@ public class PDEUIMessages extends NLS {
7777
public static String DependenciesViewPage_showOptional;
7878

7979
public static String DependencyPropertiesDialog_exportGroupText;
80-
public static String DependencyPropertiesDialog_closeButtonLabel;
80+
public static String DependencyPropertiesDialog_applyButtonLabel;
8181

8282
public static String ExtensionsPage_toggleExpandState;
8383
public static String ExternalizeStringsOperation_editNames_addComment;

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/DependencyPropertiesDialog.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2005, 2015 IBM Corporation and others.
2+
* Copyright (c) 2005, 2025 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -83,7 +83,7 @@ protected String getGroupText() {
8383

8484
@Override
8585
protected void createButtonsForButtonBar(Composite parent) {
86-
createButton(parent, IDialogConstants.OK_ID, PDEUIMessages.DependencyPropertiesDialog_closeButtonLabel, true);
86+
createButton(parent, IDialogConstants.OK_ID, PDEUIMessages.DependencyPropertiesDialog_applyButtonLabel, true);
8787
createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
8888
}
8989

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/pderesources.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
###############################################################################
2-
# Copyright (c) 2000, 2024 IBM Corporation and others.
2+
# Copyright (c) 2000, 2025 IBM Corporation and others.
33
#
44
# This program and the accompanying materials
55
# are made available under the terms of the Eclipse Public License 2.0
@@ -1454,7 +1454,7 @@ DependencyPropertiesDialog_comboExclusive=Exclusive
14541454
DependencyPropertiesDialog_minimumVersion=&Minimum version:
14551455
DependencyPropertiesDialog_maximumVersion=Ma&ximum version:
14561456
DependencyPropertiesDialog_exportGroupText=Version exported
1457-
DependencyPropertiesDialog_closeButtonLabel=&Close
1457+
DependencyPropertiesDialog_applyButtonLabel=&Apply
14581458
DependencyAnalysisSection_plugin_notEditable = <form>\
14591459
<p><img href="hierarchy"/> <a href="hierarchy">Show the plug-in dependency hierarchy</a></p>\
14601460
<p><img href="dependencies"/> <a href="references">Show dependent plug-ins and fragments</a></p>\

0 commit comments

Comments
 (0)