Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-03-29 05:01:35 -0400
committerLars Vogel2017-03-29 05:02:39 -0400
commit6493f6f243b9f6ce0017dd3ba5a822f63918a648 (patch)
treefcc73f0e963eb77ae0437c8ed477a80aa4ff07c0
parent5d80db707e5e1ad4ba80efc920c58856c75c4228 (diff)
downloadrt.equinox.p2-6493f6f243b9f6ce0017dd3ba5a822f63918a648.tar.gz
rt.equinox.p2-6493f6f243b9f6ce0017dd3ba5a822f63918a648.tar.xz
rt.equinox.p2-6493f6f243b9f6ce0017dd3ba5a822f63918a648.zip
Bug 514374 - Use verb in Security dialog for unsigned content
Change-Id: Ib7624bd8415666435c1c4c7d5f6ced1f97748971 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIMessages.java1
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/messages.properties1
3 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIMessages.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIMessages.java
index 520dba197..67d80b07c 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIMessages.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIMessages.java
@@ -278,6 +278,7 @@ public class ProvUIMessages extends NLS {
public static String ServiceUI_LoginRequired;
public static String ServiceUI_unsigned_message;
public static String ServiceUI_warning_title;
+ public static String ServiceUI_InstallAnywayAction_Label;
public static String UpdateOrInstallWizardPage_Size;
public static String Updates_Label;
public static String UpdateSingleIUPage_SingleUpdateDescription;
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java
index c89aa1a1d..4e67a776b 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java
@@ -81,7 +81,7 @@ public class ValidationDialogServiceUI extends UIServices {
@Override
protected void createButtonsForButtonBar(Composite parent) {
// create OK and Details buttons
- createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
+ createButton(parent, IDialogConstants.OK_ID, ProvUIMessages.ServiceUI_InstallAnywayAction_Label, true);
createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, true);
createDetailsButton(parent);
}
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/messages.properties b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/messages.properties
index 732c3033c..1f68f4e7c 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/messages.properties
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/messages.properties
@@ -34,6 +34,7 @@ ServiceUI_LoginDetails=Please provide login details for {0}
ServiceUI_LoginRequired=Login required
ServiceUI_unsigned_message=Warning: You are installing software that contains unsigned content. The authenticity or validity of this software cannot be established. Do you want to continue with the installation?
ServiceUI_warning_title=Security Warning
+ServiceUI_InstallAnywayAction_Label=&Install anyway
UpdateIUOperationLabel=Update
UpdateIUOperationTask=Software update is in progress...
UpdateIUCommandLabel=Up&date...

Back to the top