- JOptionPane.showMessageDialog(Desktop.desktop,
- "The Secondary Structure Prediction Service named "
- + WebServiceName + " at " + WsURL
- + " couldn't be located.", "Internal Jalview Error",
- JOptionPane.WARNING_MESSAGE);
- wsInfo.setProgressText("Serious! " + WebServiceName
- + " Service location failed\nfor URL :" + WsURL + "\n"
- + ex.getMessage());
+ JOptionPane
+ .showMessageDialog(
+ Desktop.desktop,
+ MessageManager
+ .formatMessage(
+ "label.secondary_structure_prediction_service_couldnt_be_located",
+ new String[] { WebServiceName, WsURL }),
+ MessageManager
+ .getString("label.internal_jalview_error"),
+ JOptionPane.WARNING_MESSAGE);
+ wsInfo.setProgressText(MessageManager
+ .formatMessage(
+ "label.secondary_structure_prediction_service_couldnt_be_located",
+ new String[] { WebServiceName, WsURL })
+ + "\n" + ex.getMessage());