From a506e6b2a15a7ced63f03a4aed42fe5e6c418140 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Tue, 14 Aug 2012 17:58:38 +0200 Subject: [PATCH] Use same call/message incoming message --- Classes/PhoneMainView.m | 4 ++-- Resources/en.lproj/Localizable.strings | Bin 13344 -> 12992 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/PhoneMainView.m b/Classes/PhoneMainView.m index 657ac740a..d86226176 100644 --- a/Classes/PhoneMainView.m +++ b/Classes/PhoneMainView.m @@ -587,7 +587,7 @@ static PhoneMainView* phoneMainViewInstance=nil; UILocalNotification* notif = [[[UILocalNotification alloc] init] autorelease]; if (notif) { notif.repeatInterval = 0; - notif.alertBody = [NSString stringWithFormat:NSLocalizedString(@"%@ sent you a message",nil), address]; + notif.alertBody = [NSString stringWithFormat:NSLocalizedString(@"IM_MSG",nil), address]; notif.alertAction = NSLocalizedString(@"Show", nil); notif.soundName = @"msg.caf"; notif.userInfo = [NSDictionary dictionaryWithObject:[chat remoteContact] forKey:@"chat"]; @@ -638,7 +638,7 @@ static PhoneMainView* phoneMainViewInstance=nil; appData->notification = [[UILocalNotification alloc] init]; if (appData->notification) { appData->notification.repeatInterval = 0; - appData->notification.alertBody =[NSString stringWithFormat:NSLocalizedString(@" %@ is calling you",nil), address]; + appData->notification.alertBody =[NSString stringWithFormat:NSLocalizedString(@"IC_MSG",nil), address]; appData->notification.alertAction = NSLocalizedString(@"Answer", nil); appData->notification.soundName = @"ring.caf"; appData->notification.userInfo = [NSDictionary dictionaryWithObject:[NSData dataWithBytes:&call length:sizeof(call)] forKey:@"call"]; diff --git a/Resources/en.lproj/Localizable.strings b/Resources/en.lproj/Localizable.strings index 91e033ae9682c01b725ca7d25905f1628393d07a..78ad42e2428add4689948467a112c894b92dbfc4 100644 GIT binary patch delta 15 XcmZ3GaUgX<=*IsG7&nJ9pEdvhKvoB8 delta 191 zcmX?*x*%ghsJ|+M1A_uXCPOihOlC-A$N|DkhCGIJAit6!pP`gN3COYqVh~MG_2dUU zksE^-F@`GuO-u!vQvx?f0cg4cLoQIX7zh)AHl!k%4KbOZp2-*ZqBnnJJZ}I19YiLy