fix sms send from the chat panel.

cusax-fix
Yana Stamcheva 18 years ago
parent 38b4ca105c
commit d2b3dd5458

@ -213,7 +213,8 @@ moveContactError=&Contact cannot be moved
msgDeliveryFailure=The above message could not be delivered
msgDeliveryOfflineNotSupported=The protocol you are using doesn't support offline messages. You could try to reach this contact through another protocol or wait until he/she becomes online.
msgDeliveryInternalError=An internal error occured. This is most probably a bug. Please report it here: http://www.sip-communicator.org/index.php/Development/BugsAndIssues
msgNotDelivered=A network problem occured.
msgDeliveryUnknownError=Your message could not be delivered due to the following problem: {0}.
msgNotDelivered=A network problem occured. Please check your network configuration and try again.
msgReceived={0} has sent you a message
msgSendConnectionProblem=You should be connected to be able to send messages.
multipleLogins=You have logged in more than once with the same account. The following account: User name: {0}, Server name: {1} is currently disconnected.
@ -291,8 +292,8 @@ selectContactSupportingInfo=There is no info for this contact.
sendMessage=&Send a message
sendAsSms=Send as SMS
sendSms=S&end SMS
sendSmsDetails=Remember that you need to enter the number in international\
format i.e. starting with +44 for the UK for example, +447777000000
sendSmsDetails=Remember that you need to enter the number in international \
format e.g. starting with +44 for the UK for example, +447777000000
sendSmsNotSupported=The protocol you have selected doesn't support SMS messages.
sendVia=Send via
setStatusMessage=Set status message

@ -879,8 +879,8 @@ private void sendSmsMessage(String text)
Message message = smsOpSet.createMessage(text);
// We open the send SMS dialog.
SendSmsDialog smsDialog = new SendSmsDialog(this, message, null);
SendSmsDialog smsDialog = new SendSmsDialog(this, message, smsOpSet);
smsDialog.setPreferredSize(new Dimension(400, 200));
smsDialog.setVisible(true);
}
@ -946,8 +946,9 @@ private void sendInstantMessage(String text)
contact.getDisplayName(),
new Date(System.currentTimeMillis()),
Constants.ERROR_MESSAGE,
Messages.getI18NString("msgDeliveryInternalError")
.getText(), "text");
Messages.getI18NString("msgDeliveryUnknownError",
new String[]{ex.getMessage()})
.getText(), "text");
}
}

@ -176,7 +176,8 @@ private void sendSmsMessage(String phoneNumber, Message message)
phoneNumber,
new Date(System.currentTimeMillis()),
Constants.ERROR_MESSAGE,
Messages.getI18NString("msgDeliveryInternalError")
Messages.getI18NString("msgDeliveryUnknownError",
new String[]{ex.getMessage()})
.getText(), "text");
}

Loading…
Cancel
Save