diff options
author | Yana Stamcheva <yana@jitsi.org> | 2008-05-27 11:05:19 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2008-05-27 11:05:19 +0000 |
commit | 07ec521947ff84f2c1bf2e7ae4e4eed3db8ec10d (patch) | |
tree | 26ae6ca7c49c1fd928ae125fb7a5d7d4a0b0f910 /src/net/java/sip | |
parent | bb997bd88ae23ef299ea3eb7e51b5476bc0670ce (diff) | |
download | jitsi-07ec521947ff84f2c1bf2e7ae4e4eed3db8ec10d.zip jitsi-07ec521947ff84f2c1bf2e7ae4e4eed3db8ec10d.tar.gz jitsi-07ec521947ff84f2c1bf2e7ae4e4eed3db8ec10d.tar.bz2 |
Missing username and server name parameters in error text in the Authentication window.
Diffstat (limited to 'src/net/java/sip')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/login/SecurityAuthorityImpl.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/login/SecurityAuthorityImpl.java b/src/net/java/sip/communicator/impl/gui/main/login/SecurityAuthorityImpl.java index b8983f0..97f497c 100644 --- a/src/net/java/sip/communicator/impl/gui/main/login/SecurityAuthorityImpl.java +++ b/src/net/java/sip/communicator/impl/gui/main/login/SecurityAuthorityImpl.java @@ -59,12 +59,16 @@ public class SecurityAuthorityImpl implements SecurityAuthority { if (reasonCode == WRONG_PASSWORD) { errorMessage - = Messages.getI18NString("authenticationFailed").getText(); + = Messages.getI18NString("authenticationFailed", + new String[]{ userCredentials.getUserName(), + realm}).getText(); } else if (reasonCode == WRONG_USERNAME) { errorMessage - = Messages.getI18NString("authenticationFailed").getText(); + = Messages.getI18NString("authenticationFailed", + new String[]{ userCredentials.getUserName(), + realm}).getText(); } AuthenticationWindow loginWindow = null; |