Skip to content
Snippets Groups Projects
Commit 76cf966e authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix wording

parent 4ebb5038
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
onelab_cb("stop"); onelab_cb("stop");
UILocalNotification *localNotif = [[UILocalNotification alloc] init]; UILocalNotification *localNotif = [[UILocalNotification alloc] init];
if ([UIApplication sharedApplication].applicationState == UIApplicationStateBackground && localNotif) { if ([UIApplication sharedApplication].applicationState == UIApplicationStateBackground && localNotif) {
localNotif.alertBody = @"The computing had to stop because your device ran out of memory"; localNotif.alertBody = @"The computation had to stop because your device ran out of memory";
localNotif.alertAction = @"View"; localNotif.alertAction = @"View";
localNotif.hasAction = true; localNotif.hasAction = true;
localNotif.soundName = UILocalNotificationDefaultSoundName; localNotif.soundName = UILocalNotificationDefaultSoundName;
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
appDelegate->compute = NO; appDelegate->compute = NO;
UILocalNotification *localNotif = [[UILocalNotification alloc] init]; UILocalNotification *localNotif = [[UILocalNotification alloc] init];
if ([UIApplication sharedApplication].applicationState == UIApplicationStateBackground && localNotif) { if ([UIApplication sharedApplication].applicationState == UIApplicationStateBackground && localNotif) {
localNotif.alertBody = @"Computation finished"; localNotif.alertBody = @"Computation done!";
localNotif.alertAction = @"View"; localNotif.alertAction = @"View";
localNotif.hasAction = true; localNotif.hasAction = true;
localNotif.soundName = UILocalNotificationDefaultSoundName; localNotif.soundName = UILocalNotificationDefaultSoundName;
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
{ {
if(((AppDelegate *)[UIApplication sharedApplication].delegate)->compute) { if(((AppDelegate *)[UIApplication sharedApplication].delegate)->compute) {
UIAlertView *alert; UIAlertView *alert;
alert = [[UIAlertView alloc] initWithTitle:@"Can't show the models list" message:@"The compute have to be finished before you can select an other model." delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil]; alert = [[UIAlertView alloc] initWithTitle:@"Can't show the model list" message:@"The computation has to complete before you can select another model." delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil];
[alert show]; [alert show];
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment