|
|
@@ -538,12 +538,12 @@
|
|
|
+(void) alert_view :(NSString*) msg title:(NSString*) title
|
|
|
{
|
|
|
if(title==nil)
|
|
|
- title = @"Message";
|
|
|
+ title = NSLocalizedString(@"Message", @"Message");
|
|
|
if(msg.length>0)
|
|
|
{
|
|
|
title=[NSString stringWithFormat:@"%@\n\n%@",title,msg];
|
|
|
}
|
|
|
- UIAlertView * alert = [[UIAlertView alloc] initWithTitle: title message:nil delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
|
|
|
+ UIAlertView * alert = [[UIAlertView alloc] initWithTitle: title message:nil delegate:nil cancelButtonTitle:NSLocalizedString(@"Ok", @"Ok") otherButtonTitles:nil, nil];
|
|
|
[alert show];
|
|
|
}
|
|
|
+ (long long) freeDiskSpaceInMegaBytes{
|