Author: adietish
Date: 2010-10-26 05:47:27 -0400 (Tue, 26 Oct 2010)
New Revision: 26050
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnection.java
Log:
[JBIDE-7402] cleanup: internationalized messages
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java 2010-10-26
09:46:52 UTC (rev 26049)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java 2010-10-26
09:47:27 UTC (rev 26050)
@@ -62,6 +62,7 @@
public class CloudConnectionPage extends WizardPage {
private static final int CLOUDTYPE_CHECK_DELAY = 500;
+
private static final String DESCRIPTION = "NewCloudConnection.desc";
//$NON-NLS-1$
private static final String TITLE = "NewCloudConnection.title"; //$NON-NLS-1$
private static final String URL_LABEL = "Url.label"; //$NON-NLS-1$
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnection.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnection.java 2010-10-26
09:46:52 UTC (rev 26049)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnection.java 2010-10-26
09:47:27 UTC (rev 26050)
@@ -47,11 +47,12 @@
mainPage = new CloudConnectionPage(WizardMessages.getString(MAINPAGE_NAME),
cloud.getName(), cloud.getURL(), cloud.getUsername(), password,
cloud.getType(), this);
+ addPage(mainPage);
} catch (MalformedURLException e) {
Status status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, IStatus.ERROR,
e.getMessage(), e);
- ErrorDialog.openError(getShell(), "Error", "Could not open connection
wizard", status);
+ ErrorDialog.openError(getShell(),
WizardMessages.getString("EditCloudConnectionError.title"),
+ WizardMessages.getString("EditCloudConnectionError.message"), status);
}
- addPage(mainPage);
}
private String getPassword() {
Show replies by date