diff --git a/Classes/BuschJaegerMainView.m b/Classes/BuschJaegerMainView.m index 56cad40f2..85629a97d 100644 --- a/Classes/BuschJaegerMainView.m +++ b/Classes/BuschJaegerMainView.m @@ -318,8 +318,8 @@ static BuschJaegerMainView* mainViewInstance=nil; - (void)displayMessage:(id)message { if (![[UIDevice currentDevice] respondsToSelector:@selector(isMultitaskingSupported)] || [UIApplication sharedApplication].applicationState == UIApplicationStateActive) { - UIAlertView* error = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Dring !",nil) - message: [NSString stringWithFormat:NSLocalizedString(@"%@ ring!",nil), [LinphoneManager instance].configuration.levelPushButton.name] + UIAlertView* error = [[UIAlertView alloc] initWithTitle:@"Welcome" + message: [NSString stringWithFormat:@"%@", [LinphoneManager instance].configuration.levelPushButton.name] delegate:nil cancelButtonTitle:NSLocalizedString(@"Continue",nil) otherButtonTitles:nil,nil]; diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index a3f5d1d86..b2b23229b 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -474,7 +474,7 @@ static void linphone_iphone_display_status(struct _LinphoneCore * lc, const char data->notification = [[UILocalNotification alloc] init]; if (data->notification) { data->notification.repeatInterval = 0; - data->notification.alertBody = [NSString stringWithFormat:NSLocalizedString(@"%@ ring!",nil), address]; + data->notification.alertBody = [NSString stringWithFormat:@"%@", address]; data->notification.alertAction = NSLocalizedString(@"Answer", nil); data->notification.soundName = ringtone; data->notification.userInfo = [NSDictionary dictionaryWithObject:callId forKey:@"callId"]; @@ -601,7 +601,7 @@ static void linphone_iphone_registration_state(LinphoneCore *lc, LinphoneProxyCo UILocalNotification* notif = [[[UILocalNotification alloc] init] autorelease]; if (notif) { notif.repeatInterval = 0; - notif.alertBody = [NSString stringWithFormat:NSLocalizedString(@"%@ ring!",nil), configuration.levelPushButton.name]; + notif.alertBody = [NSString stringWithFormat:@"%@", configuration.levelPushButton.name]; notif.alertAction = NSLocalizedString(@"Show", nil); notif.soundName = ringtone;