aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSopot Cela2012-10-16 14:12:20 (EDT)
committerMike Rennie2012-10-16 14:12:20 (EDT)
commitdd65342c6618de77c76bb588df291b813bf52da3 (patch)
treeda92265aa640907791769b258399fcc477c7cf68
parente7d6f5f595252a37d1378c69b5f586466d2aa732 (diff)
downloadeclipse.platform.ui-dd65342c6618de77c76bb588df291b813bf52da3.zip
eclipse.platform.ui-dd65342c6618de77c76bb588df291b813bf52da3.tar.gz
eclipse.platform.ui-dd65342c6618de77c76bb588df291b813bf52da3.tar.bz2
Bug 386022 - Title of ErrorDialog in WorkbenchStatusReporter should bev20121016-181220I20121016-2240
externalized
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchStatusReporter.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchStatusReporter.java b/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchStatusReporter.java
index 99983ed..7e55b8e 100644
--- a/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchStatusReporter.java
+++ b/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/WorkbenchStatusReporter.java
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Sopot Cela (sopotcela@gmail.com) Bug 386022 - Title of ErrorDialog in WorkbenchStatusReporter should be externalized
******************************************************************************/
package org.eclipse.e4.ui.internal.workbench.swt;
@@ -18,6 +19,7 @@ import org.eclipse.e4.core.contexts.IEclipseContext;
import org.eclipse.e4.core.di.annotations.Optional;
import org.eclipse.e4.core.services.log.Logger;
import org.eclipse.e4.core.services.statusreporter.StatusReporter;
+import org.eclipse.e4.ui.workbench.swt.internal.copy.WorkbenchSWTMessages;
import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.jface.window.IShellProvider;
import org.eclipse.swt.SWT;
@@ -104,7 +106,7 @@ public class WorkbenchStatusReporter extends StatusReporter {
myShell = new Shell();
}
- dialog = new ErrorDialog(myShell, "Internal Error",
+ dialog = new ErrorDialog(myShell, WorkbenchSWTMessages.InternalError,
status.getMessage(),
status.getException() != null ? exceptionStatus : status, ERROR
| WARNING | INFO) {