ソースを参照

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{