Преглед на файлове

1.修改Apex Drivers国际化。

Pen Li преди 7 години
родител
ревизия
84d83fdc7b
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      RedAnt ERP Mobile/common/RAUtils.m

+ 2 - 2
RedAnt ERP Mobile/common/RAUtils.m

@@ -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{