|
|
@@ -149,7 +149,7 @@ AVCaptureDeviceInput *input = [AVCaptureDeviceInput deviceInputWithDevice:device
|
|
|
_scanLineTimer = [NSTimer scheduledTimerWithTimeInterval:0.05 target:self selector:@selector(scanLineDownAndUpFun) userInfo:nil repeats:YES];
|
|
|
|
|
|
UILabel *tipLib = [[UILabel alloc] initWithFrame:CGRectMake(_cyanEdgeImageView.hw_x, _cyanEdgeImageView.hw_max_y + 15, _cyanEdgeImageView.hw_w, 20)];
|
|
|
- tipLib.text = @"请扫描序列号二维码";
|
|
|
+ tipLib.text = NSLocalizedString(@"guide_qrcoede_tips_please",nil);
|
|
|
tipLib.font = [UIFont systemFontOfSize:14.0];
|
|
|
tipLib.textAlignment = NSTextAlignmentCenter;
|
|
|
tipLib.textColor = [UIColor whiteColor];
|
|
|
@@ -239,7 +239,7 @@ bool isDownType = YES;
|
|
|
|| resStr.length == @"0333933700223250017273".length
|
|
|
){
|
|
|
|
|
|
- [[iToast makeText:@"扫码成功!正在为你快速连接中"] show];
|
|
|
+ [[iToast makeText:NSLocalizedString(@"guide_qrcoede_tips_ok",nil)] show];
|
|
|
[_scanLineTimer invalidate];
|
|
|
|
|
|
NSDictionary *newDict = [[NSDictionary alloc] initWithObjectsAndKeys:resStr,Const_Have_Add_Device_SN, nil];
|
|
|
@@ -255,7 +255,7 @@ bool isDownType = YES;
|
|
|
}
|
|
|
}else{
|
|
|
|
|
|
- [[iToast makeText:@"小主,二维码错误,请扫描正确的序列号哦"] show];
|
|
|
+ [[iToast makeText:NSLocalizedString(@"guide_qrcoede_tips_error",nil)] show];
|
|
|
NSLog(@"没有扫描到数据");
|
|
|
|
|
|
}
|