diff --git a/README.md b/README.md index 8a0387df8c..618f9e22dd 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 e040a83638..46743b7755 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 c5ded82093..34860b4fa1 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 30ed910892..346ea4d431 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 1864cef536..ac63595321 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 362c376a1c..2d78d5156a 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 bd32bd35b8..f14f335258 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 aec530aab5..3db4a2b8ff 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[]; };