Added internationalization to the proactive notification

cusax-fix
Damien Roth 18 years ago
parent e28174ada3
commit 12d4da369a

@ -253,6 +253,7 @@ paste=&Paste
previous=Previous
previousTooltip=Browse older conversations
print=&Print
proactiveNotification=is writing a message
protocol=Protocol
providerNotConnected=You must be connected to be able to communicate.
quit=&Quit

@ -223,6 +223,7 @@ passwd=Mot de passe :
paste=&Coller
previous=Précédent
print=&Imprimer
proactiveNotification=écrit un message
protocol=Protocole
providerNotConnected=Vous devez être connecté pour pouvoir communiquer.
quit=&Quitter

@ -530,7 +530,11 @@ public void typingNotificationReceived(TypingNotificationEvent evt)
// Proactive typing notification
if (!chatWindowManager.isChatOpenedForContact(metaContact))
{
NotificationManager.fireNotification(NotificationManager.PROACTIVE_NOTIFICATION, contactName.trim(), "is writing a message");
notificationMsg = Messages.getI18NString("proactiveNotification")
.getText();
NotificationManager.fireNotification(
NotificationManager.PROACTIVE_NOTIFICATION,
contactName.trim(), notificationMsg);
return;
}
}

Loading…
Cancel
Save