Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -42,7 +42,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle | @@ -42,7 +42,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle | ||
| 42 | if (this.pendingResult !== null) { | 42 | if (this.pendingResult !== null) { |
| 43 | result.error(new FlutterError( | 43 | result.error(new FlutterError( |
| 44 | 'wechat_authorization_in_progress', | 44 | 'wechat_authorization_in_progress', |
| 45 | - 'WeChat authorization is already in progress.', | 45 | + '微信授权进行中', |
| 46 | 'WeChatError', | 46 | 'WeChatError', |
| 47 | )); | 47 | )); |
| 48 | return; | 48 | return; |
| @@ -50,7 +50,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle | @@ -50,7 +50,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle | ||
| 50 | if (!this.wxApi.isWXAppInstalled()) { | 50 | if (!this.wxApi.isWXAppInstalled()) { |
| 51 | result.error(new FlutterError( | 51 | result.error(new FlutterError( |
| 52 | 'wechat_not_installed', | 52 | 'wechat_not_installed', |
| 53 | - 'WeChat is not installed.', | 53 | + '微信未安装', |
| 54 | 'WeChatError', | 54 | 'WeChatError', |
| 55 | )); | 55 | )); |
| 56 | return; | 56 | return; |
| @@ -91,7 +91,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle | @@ -91,7 +91,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle | ||
| 91 | } | 91 | } |
| 92 | this.finishWithError( | 92 | this.finishWithError( |
| 93 | 'wechat_authorization_cancelled', | 93 | 'wechat_authorization_cancelled', |
| 94 | - 'WeChat authorization was cancelled.', | 94 | + '微信授权已取消', |
| 95 | ); | 95 | ); |
| 96 | } | 96 | } |
| 97 | 97 |
-
Please register or login to post a comment