Added a new label service.gui.INCOMING_CALL for incoming call i18n

cusax-fix
Matthieu Casanova 16 years ago
parent f4974e130a
commit 00e3654963

@ -204,6 +204,7 @@ service.gui.HOUR=Hour
service.gui.IDENTIFIER=Identifier
service.gui.IGNORE=&Ignore
service.gui.INSERT_SMILEY=Insert smiley
service.gui.INCOMING_CALL=Incoming call received from: {0}
service.gui.INVITATION=Invitation text
service.gui.INVITATION_RECEIVED=Invitation received
service.gui.INVITATION_RECEIVED_MSG={0} has invited you to join {1} chat room. You could accept, reject or ignore this invitation.

@ -60,12 +60,13 @@ public void incomingCallReceived(CallEvent event)
receivedCallDialog.pack();
receivedCallDialog.setVisible(true);
// FIXME: I18N
NotificationManager.fireNotification(
NotificationManager.INCOMING_CALL,
"",
"Incoming call received from: "
+ sourceCall.getCallPeers().next());
GuiActivator.getResources()
.getI18NString("service.gui.INCOMING_CALL",
new String[]{sourceCall.getCallPeers()
.next().toString()}));
}
/**

Loading…
Cancel
Save