Fixed double definition of service.gui.MSG_DELIVERY_UNKNOWN_ERROR key.

Now, the key for string accepting an argument (the one that reports error the to the user) is simply service.gui.MSG_DELIVERY_ERROR.
cusax-fix
Martin Andre 16 years ago
parent c8af3a727d
commit 1683103e39

@ -255,7 +255,8 @@ 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_INTERNAL_ERROR=An internal error occured. This is most probably a bug. Please report it here: http://www.sip-communicator.org/index.php/Development/BugsAndIssues. Server returned error: {0}
service.gui.MSG_DELIVERY_UNKNOWN_ERROR=Your message could not be delivered due to the following problem: {0}.
service.gui.MSG_DELIVERY_ERROR=Your message could not be delivered due to the following problem: {0}.
service.gui.MSG_DELIVERY_UNKNOWN_ERROR=Unknown error has occured while delivering your message.
service.gui.MSG_NOT_DELIVERED=A network problem occured. Please check your network configuration and try again. Server returned error: {0}.
service.gui.MSG_NOT_POSSIBLE=Messaging is not possible for this contact (it is not supported by the protocol)
service.gui.MSG_RECEIVED={0} wrote
@ -382,7 +383,6 @@ service.gui.USER_EXISTS_ERROR=This user already exists on the selected network.
service.gui.USERNAME_NULL=Please fill the name of your account.
service.gui.ACCOUNT_CREATION_FAILED=We failed to create your account due to the following error: {0}
service.gui.UNKNOWN=Unknown user
service.gui.MSG_DELIVERY_UNKNOWN_ERROR=Unknown error has occured while delivering your message.
service.gui.UNREGISTERED_MESSAGE=Unable to connect the following account: User name: {0}, Server name: {1}. You are currently offline.
service.gui.VIEW=&View
service.gui.VIEW_HISTORY=View &history

@ -1072,7 +1072,7 @@ public void catchException(Throwable ex)
addErrorMessage(
chatSession.getCurrentChatTransport().getName(),
GuiActivator.getResources().getI18NString(
"service.gui.MSG_DELIVERY_UNKNOWN_ERROR",
"service.gui.MSG_DELIVERY_ERROR",
new String[]{ex.getMessage()}));
}
}
@ -1267,7 +1267,7 @@ protected void sendInstantMessage()
this.addErrorMessage(
chatSession.getCurrentChatTransport().getName(),
GuiActivator.getResources().getI18NString(
"service.gui.MSG_DELIVERY_UNKNOWN_ERROR",
"service.gui.MSG_DELIVERY_ERROR",
new String[]{ex.getMessage()}));
}

@ -159,7 +159,7 @@ private void sendSmsMessage(String phoneNumber, String message)
chatPanel.addErrorMessage(
phoneNumber,
GuiActivator.getResources()
.getI18NString("service.gui.MSG_DELIVERY_UNKNOWN_ERROR",
.getI18NString("service.gui.MSG_DELIVERY_ERROR",
new String[]{ex.getMessage()}));
}

@ -404,7 +404,7 @@ else if (evt.getErrorCode()
else
{
errorMsg = GuiActivator.getResources().getI18NString(
"service.gui.MSG_DELIVERY_UNKNOWN_ERROR",
"service.gui.MSG_DELIVERY_ERROR",
new String[]{evt.getReason()});
}

Loading…
Cancel
Save