Improves a chat error message by adding to it the protocol contact, which is concerned.

cusax-fix
Yana Stamcheva 14 years ago
parent 081c233064
commit 13ff1f603b

@ -294,7 +294,7 @@ service.gui.MOVE_TO_GROUP=&Move to group
service.gui.MOVE_CONTACT=Move Contact
service.gui.MOVE_CONTACT_ERROR=&Contact cannot be moved
service.gui.MSG_DELIVERY_FAILURE=The above message could not be delivered
service.gui.MSG_DELIVERY_NOT_SUPPORTED=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.
service.gui.MSG_DELIVERY_NOT_SUPPORTED=The protocol you are using doesn't support offline messages. You could try to reach {0} through another protocol or wait until he/she becomes online.
service.gui.MSG_DELIVERY_INTERNAL_ERROR=An internal error occurred. This is most probably a bug. Please report it here: http://www.jitsi.org/index.php/Development/BugsAndIssues.
service.gui.MSG_DELIVERY_ERROR=Failed to deliver message.
service.gui.MSG_DELIVERY_UNKNOWN_ERROR=Unknown error has occurred while delivering your message.

@ -1453,7 +1453,8 @@ public void messageDeliveryFailed(MessageDeliveryFailedEvent evt)
== MessageDeliveryFailedEvent.OFFLINE_MESSAGES_NOT_SUPPORTED)
{
errorMsg = GuiActivator.getResources().getI18NString(
"service.gui.MSG_DELIVERY_NOT_SUPPORTED");
"service.gui.MSG_DELIVERY_NOT_SUPPORTED",
new String[]{sourceContact.getDisplayName()});
}
else if (evt.getErrorCode()
== MessageDeliveryFailedEvent.NETWORK_FAILURE)

@ -392,7 +392,8 @@ public void messageDeliveryFailed(ChatRoomMessageDeliveryFailedEvent evt)
== MessageDeliveryFailedEvent.OFFLINE_MESSAGES_NOT_SUPPORTED)
{
errorMsg = GuiActivator.getResources().getI18NString(
"service.gui.MSG_DELIVERY_NOT_SUPPORTED");
"service.gui.MSG_DELIVERY_NOT_SUPPORTED",
new String[]{destMember.getName()});
}
else if (evt.getErrorCode()
== MessageDeliveryFailedEvent.NETWORK_FAILURE)
@ -1934,7 +1935,8 @@ public void messageDeliveryFailed(
== MessageDeliveryFailedEvent.OFFLINE_MESSAGES_NOT_SUPPORTED)
{
errorMsg = GuiActivator.getResources().getI18NString(
"service.gui.MSG_DELIVERY_NOT_SUPPORTED");
"service.gui.MSG_DELIVERY_NOT_SUPPORTED",
new String[]{destParticipant.getDisplayName()});
}
else if (evt.getErrorCode()
== MessageDeliveryFailedEvent.NETWORK_FAILURE)

@ -374,7 +374,8 @@ public void messageDeliveryFailed(MessageDeliveryFailedEvent evt)
== MessageDeliveryFailedEvent.OFFLINE_MESSAGES_NOT_SUPPORTED)
{
errorMsg = GuiActivator.getResources().getI18NString(
"service.gui.MSG_DELIVERY_NOT_SUPPORTED");
"service.gui.MSG_DELIVERY_NOT_SUPPORTED",
new String[] {sourceContact.getDisplayName()});
}
else if (evt.getErrorCode()
== MessageDeliveryFailedEvent.NETWORK_FAILURE)

Loading…
Cancel
Save