This is an automated email from the ASF dual-hosted git repository.

membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 867ee79  fix: English spelling (#1002)
867ee79 is described below

commit 867ee7916e31be605a0f26aa0a0f5d10cae1a833
Author: John Bampton <[email protected]>
AuthorDate: Thu Dec 10 17:00:25 2020 +1000

    fix: English spelling (#1002)
---
 README.md                                |  2 +-
 api/conf/schema.json                     | 10 +++++-----
 api/test/e2e/route_with_priority_test.go |  2 +-
 web/src/global.tsx                       |  2 +-
 web/src/locales/en-US/component.ts       |  4 ++--
 web/src/locales/en-US/globalHeader.ts    |  2 +-
 web/src/pages/Route/locales/en-US.ts     |  2 +-
 web/src/pages/Route/typing.d.ts          |  2 +-
 8 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/README.md b/README.md
index 8a0387d..618f9e2 100644
--- a/README.md
+++ b/README.md
@@ -73,7 +73,7 @@ Please refer to the [User Guide](./docs/USER_GUIDE.md).
 
 ## Contributing
 
-Please refer to the [Contribution Guide](./CONTRIBUTING.md) for a more 
detailed infomation.
+Please refer to the [Contribution Guide](./CONTRIBUTING.md) for a more 
detailed information.
 
 ## FAQ
 
diff --git a/api/conf/schema.json b/api/conf/schema.json
index e040a83..46743b7 100644
--- a/api/conf/schema.json
+++ b/api/conf/schema.json
@@ -3217,21 +3217,21 @@
                                "minProperties": 1,
                                "properties": {
                                        "body": {
-                                               "description": "new body for 
repsonse",
+                                               "description": "new body for 
response",
                                                "type": "string"
                                        },
                                        "body_base64": {
                                                "default": false,
-                                               "description": "whether new 
body for repsonse need base64 decode before return",
+                                               "description": "whether new 
body for response need base64 decode before return",
                                                "type": "boolean"
                                        },
                                        "headers": {
-                                               "description": "new headers for 
repsonse",
+                                               "description": "new headers for 
response",
                                                "minProperties": 1,
                                                "type": "object"
                                        },
                                        "status_code": {
-                                               "description": "new status code 
for repsonse",
+                                               "description": "new status code 
for response",
                                                "maximum": 598,
                                                "minimum": 200,
                                                "type": "integer"
@@ -3582,7 +3582,7 @@
                                                "type": "number"
                                        },
                                        "server_addr": {
-                                               "description": "default is 
$server_addr, you can speific your external ip address",
+                                               "description": "default is 
$server_addr, you can specify your external ip address",
                                                "pattern": 
"^[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$",
                                                "type": "string"
                                        },
diff --git a/api/test/e2e/route_with_priority_test.go 
b/api/test/e2e/route_with_priority_test.go
index c5ded82..34860b4 100644
--- a/api/test/e2e/route_with_priority_test.go
+++ b/api/test/e2e/route_with_priority_test.go
@@ -74,7 +74,7 @@ func TestRoute_with_priority(t *testing.T) {
                        ExpectStatus: http.StatusOK,
                },
                {
-                       caseDesc:     "access the route to determine whether it 
meets the priority (compair 1 and default)",
+                       caseDesc:     "access the route to determine whether it 
meets the priority (compare 1 and default)",
                        Object:       APISIXExpect(t),
                        Method:       http.MethodGet,
                        Path:         "/server_port",
diff --git a/web/src/global.tsx b/web/src/global.tsx
index 30ed910..346ea4d 100644
--- a/web/src/global.tsx
+++ b/web/src/global.tsx
@@ -50,7 +50,7 @@ if (pwa) {
         };
         worker.postMessage({ type: 'skip-waiting' }, [channel.port2]);
       });
-      // Refresh current page to use the updated HTML and other assets after 
SW has skiped waiting
+      // Refresh current page to use the updated HTML and other assets after 
SW has skipped waiting
       window.location.reload(true);
       return true;
     };
diff --git a/web/src/locales/en-US/component.ts 
b/web/src/locales/en-US/component.ts
index 1864cef..ac63595 100644
--- a/web/src/locales/en-US/component.ts
+++ b/web/src/locales/en-US/component.ts
@@ -36,13 +36,13 @@ export default {
   'component.status.success': 'Successfully',
   'component.status.fail': 'Failed',
   'component.global.popconfirm.title.delete': 'Are you sure to delete this 
record ?',
-  'component.global.notification.success.messaage.deleteSuccess': 'Deleted 
Successfully',
+  'component.global.notification.success.message.deleteSuccess': 'Deleted 
Successfully',
 
   'component.global.steps.stepTitle.basicInformation': 'Basic Information',
   'component.global.steps.stepTitle.preview': 'Preview',
   'component.global.steps.stepTitle.pluginConfig': 'Plugin Config',
 
-  'component.global.pleaseEnter': 'Please Eneter',
+  'component.global.pleaseEnter': 'Please Enter',
   'component.global.pleaseChoose': 'Please Choose',
   'component.global.pleaseCheck': 'Please Check',
 
diff --git a/web/src/locales/en-US/globalHeader.ts 
b/web/src/locales/en-US/globalHeader.ts
index 362c376..2d78d51 100644
--- a/web/src/locales/en-US/globalHeader.ts
+++ b/web/src/locales/en-US/globalHeader.ts
@@ -23,7 +23,7 @@ export default {
   'component.globalHeader.notification': 'Notification',
   'component.globalHeader.notification.empty': 'You have viewed all 
notifications.',
   'component.globalHeader.message': 'Message',
-  'component.globalHeader.message.empty': 'You have viewed all messsages.',
+  'component.globalHeader.message.empty': 'You have viewed all messages.',
   'component.globalHeader.event': 'Event',
   'component.globalHeader.event.empty': 'You have viewed all events.',
   'component.noticeIcon.clear': 'Clear',
diff --git a/web/src/pages/Route/locales/en-US.ts 
b/web/src/pages/Route/locales/en-US.ts
index bd32bd3..f14f335 100644
--- a/web/src/pages/Route/locales/en-US.ts
+++ b/web/src/pages/Route/locales/en-US.ts
@@ -51,7 +51,7 @@ export default {
   'page.route.select.option.configCustom': 'Custom',
   'page.route.select.option.forbidden': 'Forbidden',
   'page.route.form.itemLabel.redirectCustom': 'Custom Redirect',
-  'page.route.input.placeholder.redirectCustom': 'For examle: /foo/index.html',
+  'page.route.input.placeholder.redirectCustom': 'For example: 
/foo/index.html',
   'page.route.select.option.redirect301': '301(Permanent Redirect)',
   'page.route.select.option.redirect302': '302(Temporary Redirect)',
 
diff --git a/web/src/pages/Route/typing.d.ts b/web/src/pages/Route/typing.d.ts
index aec530a..3db4a2b 100644
--- a/web/src/pages/Route/typing.d.ts
+++ b/web/src/pages/Route/typing.d.ts
@@ -184,7 +184,7 @@ declare namespace RouteModule {
     status: boolean;
   };
 
-  type AvancedMatchingRules = {
+  type AdvancedMatchingRules = {
     advancedMatchingRules: MatchingRule[];
   };
 

Reply via email to