Explorar el Código

1.修改Apex Drivers国际化。

Pen Li hace 7 años
padre
commit
84d83fdc7b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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{