From 5bcd5a5d2efd2a5fe545b18fbf3a866b2da2e35d Mon Sep 17 00:00:00 2001 From: beibo <1251243609@qq.com> Date: Fri, 1 Mar 2019 12:13:23 +0800 Subject: [PATCH 1/2] translation for ErrorDecoder --- src/components/ErrorDecoder/ErrorDecoder.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/ErrorDecoder/ErrorDecoder.js b/src/components/ErrorDecoder/ErrorDecoder.js index d179a09be1..b0c97721c8 100644 --- a/src/components/ErrorDecoder/ErrorDecoder.js +++ b/src/components/ErrorDecoder/ErrorDecoder.js @@ -69,8 +69,7 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { if (!code) { return (

- When you encounter an error, you'll receive a link to this page for that - specific error and we'll show you the full error text. + 一旦遇到错误,你将收到指向此页面的特定错误的链接,我们会完全地显示错误内容。

); } @@ -78,7 +77,7 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { return (

- The full text of the error you just encountered is: + 你刚才遇到错误的完全内容:

{urlify(errorMsg)} From d105114e16c86db6daf7ac64a738b9f713486eff Mon Sep 17 00:00:00 2001 From: QiChang Li Date: Wed, 20 Mar 2019 15:23:21 +0800 Subject: [PATCH 2/2] Update ErrorDecoder.js --- src/components/ErrorDecoder/ErrorDecoder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ErrorDecoder/ErrorDecoder.js b/src/components/ErrorDecoder/ErrorDecoder.js index b0c97721c8..adf3d49591 100644 --- a/src/components/ErrorDecoder/ErrorDecoder.js +++ b/src/components/ErrorDecoder/ErrorDecoder.js @@ -69,7 +69,7 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { if (!code) { return (

- 一旦遇到错误,你将收到指向此页面的特定错误的链接,我们会完全地显示错误内容。 + 一旦遇到错误,你将收到指向此页面的特定错误的链接,我们会完整地显示错误内容。

); } @@ -77,7 +77,7 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { return (

- 你刚才遇到错误的完全内容: + 刚刚遇到错误的完整内容为:

{urlify(errorMsg)}