From c78f7efdf04b206948df934b1f446916b9482ddd Mon Sep 17 00:00:00 2001
From: lcjh <120989324@qq.com>
Date: Thu, 9 Dec 2021 00:28:46 +0800
Subject: [PATCH 1/2] fix some typo
---
OAT.xml | 2 +-
.../js-components-common-events.md | 2 +-
.../js-components-common-styles.md | 2 +-
.../js-framework-resource-restriction.md | 2 +-
.../ts-component-states-prop.md | 2 +-
.../ts-custom-component-initialization.md | 2 +-
.../ts-drawing-components-ellipse.md | 2 +-
.../ts-drawing-components-line.md | 2 +-
.../ts-drawing-components-polygon.md | 2 +-
.../ts-drawing-components-polyline.md | 2 +-
.../ts-restrictions-for-generators.md | 2 +-
.../ts-universal-attributes-size.md | 2 +-
en/contribute/OpenHarmony-c-coding-style-guide.md | 2 +-
en/contribute/OpenHarmony-cpp-coding-style-guide.md | 4 ++--
zh-cn/device-dev/kernel/kernel-small-debug-trace.md | 2 +-
zh-cn/device-dev/subsystems/subsys-dfx-overview.md | 2 +-
...33\276\345\275\242\345\255\220\347\263\273\347\273\237.md" | 2 +-
17 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/OAT.xml b/OAT.xml
index d3349264b4f..c84e1b4df3b 100644
--- a/OAT.xml
+++ b/OAT.xml
@@ -63,7 +63,7 @@
-
+
diff --git a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-events.md b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-events.md
index 8c181ceae24..85add526686 100644
--- a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-events.md
+++ b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-events.md
@@ -165,7 +165,7 @@ Different from private events, universal events can be bound to most components.
DragEvent
|
-Tiggered when dragging is ended.
+ | Triggered when dragging is ended.
|
No
|
diff --git a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-styles.md b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-styles.md
index 979847ff347..3d8101ef286 100644
--- a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-styles.md
+++ b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-styles.md
@@ -466,7 +466,7 @@ You can set component appearance in the **style** attribute or **.css** file
-
|
start | end must be used together with position to determine the offset of an element.
-- The start attribute specifies the start edge position of the element. This attribute defines the offset between the start edge of a positioned element and that of a block included in the element.
- The end attribute specifies the end edge postion of the element. This attribute defines the offset between the end edge of a positioned element and that of a block included in the element.
+- The start attribute specifies the start edge position of the element. This attribute defines the offset between the start edge of a positioned element and that of a block included in the element.
- The end attribute specifies the end edge position of the element. This attribute defines the offset between the end edge of a positioned element and that of a block included in the element.
|
z-index6+
diff --git a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-framework-resource-restriction.md b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-framework-resource-restriction.md
index 8a2f1001e98..8f4f462085a 100644
--- a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-framework-resource-restriction.md
+++ b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-framework-resource-restriction.md
@@ -124,5 +124,5 @@ resources/res-defaults.json:
```
> **NOTE:**
->The resource qualifer file does not support color enumeration.
+>The resource qualifier file does not support color enumeration.
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-component-states-prop.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-component-states-prop.md
index f73b3437be3..84244e60764 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-component-states-prop.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-component-states-prop.md
@@ -32,7 +32,7 @@ struct ParentComponent {
// when creatng ChildComponent, the initial value of its @Prop variable must be supplied
// in a named constructor parameter
- // also regular costOfOneAttempt (non-Prop) variable is initialied
+ // also regular costOfOneAttempt (non-Prop) variable is initialized
CountDownComponent({ count: this.countDownStartValue, costOfOneAttempt: 2})
}
}
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-custom-component-initialization.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-custom-component-initialization.md
index f73c7ec5963..da5931159c9 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-custom-component-initialization.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-custom-component-initialization.md
@@ -218,7 +218,7 @@ struct CompA {
Row() {
CompB({bLink: $aLink, // valid init a @Link with reference of another @Link,
bProp: this.aState}) // valid init a @Prop with value of a @State
- CompB({aLink: $aState, // invalid: type missmatch expected ref to ClassA, provided reference to boolean
+ CompB({aLink: $aState, // invalid: type mismatch expected ref to ClassA, provided reference to boolean
bProp: false}) // valid init a @Prop by constants value
}
}
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-ellipse.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-ellipse.md
index 027f0115ea1..c5f2d174752 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-ellipse.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-ellipse.md
@@ -8,7 +8,7 @@ None
## APIs
-ellipse\(options?: \{width: Lenght, height: Length\}\)
+ellipse\(options?: \{width: Length, height: Length\}\)
- Parameters
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-line.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-line.md
index 3952cbb4c2f..03fae2dad61 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-line.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-line.md
@@ -8,7 +8,7 @@ None
## APIs
-Line\(options?: \{width: Lenght, height: Length\}\)
+Line\(options?: \{width: Length, height: Length\}\)
- Parameters
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polygon.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polygon.md
index 9ec752513ae..d7a5b0cd53a 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polygon.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polygon.md
@@ -8,7 +8,7 @@ None
## APIs
-Polygon\(value:\{options?: \{width: Lenght, height: Length\}\}\)
+Polygon\(value:\{options?: \{width: Length, height: Length\}\}\)
- Parameters
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polyline.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polyline.md
index f0f2c07764c..1f0a60df046 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polyline.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polyline.md
@@ -8,7 +8,7 @@ None
## APIs
-Polyline\(options?: \{width: Lenght, height: Length\}\)
+Polyline\(options?: \{width: Length, height: Length\}\)
- Parameters
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-restrictions-for-generators.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-restrictions-for-generators.md
index 3ccd5629b92..eb4392ba884 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-restrictions-for-generators.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-restrictions-for-generators.md
@@ -17,7 +17,7 @@ build() {
console.log(`a: ${a}`) // invalid: console.log only allowed in first line of build
Column() {
Text('Hello ${this.myName.toUpperCase()}') // ok.
- ForEach(this.arr.reverse(), ..., ...) // invalid: Array.reverse modifies the @State array varible in place
+ ForEach(this.arr.reverse(), ..., ...) // invalid: Array.reverse modifies the @State array variable in place
}
buildSpecial() // invalid: no function calls
Text(this.calcTextValue()) // this function call is ok.
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-universal-attributes-size.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-universal-attributes-size.md
index d48dfcede4c..74b58e40645 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-universal-attributes-size.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-universal-attributes-size.md
@@ -80,7 +80,7 @@ This topic describes the attributes used to set the component size.
minWidth?: Length,
maxWidth?: Length,
minHeight?: Length,
-maxHeight?: Lenght
+maxHeight?: Length
}
|
{
diff --git a/en/contribute/OpenHarmony-c-coding-style-guide.md b/en/contribute/OpenHarmony-c-coding-style-guide.md
index 62313191942..b75448dba5e 100755
--- a/en/contribute/OpenHarmony-c-coding-style-guide.md
+++ b/en/contribute/OpenHarmony-c-coding-style-guide.md
@@ -657,7 +657,7 @@ int c[][8] = {
Note:
-- If the left brace is placed at the end of the line, the corresponding right brace shoud be placed into a new line.
+- If the left brace is placed at the end of the line, the corresponding right brace should be placed into a new line.
- If the left brace is followed by the content, the corresponding right brace should also follow the content.
### Rule 2.11 When struct and union members are initialized, each member is initialized on a separate line.
diff --git a/en/contribute/OpenHarmony-cpp-coding-style-guide.md b/en/contribute/OpenHarmony-cpp-coding-style-guide.md
index 8a7ecbad0ca..a95ae1b7c83 100755
--- a/en/contribute/OpenHarmony-cpp-coding-style-guide.md
+++ b/en/contribute/OpenHarmony-cpp-coding-style-guide.md
@@ -2125,12 +2125,12 @@ class LockGuard {
public:
LockGuard(const LockType& lockType): lock_(lockType)
{
- lock_.Aquire();
+ lock_.Acquire();
}
~LockGuard()
{
- lock_.Relase();
+ lock_.Release();
}
private:
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-trace.md b/zh-cn/device-dev/kernel/kernel-small-debug-trace.md
index a778ba50421..072048df100 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-trace.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-trace.md
@@ -238,7 +238,7 @@ LOS_TraceHwiFilterHookReg(Example_HwiNumFilter);
| LOSCFG_RECORDER_MODE_ONLINE | Trace work mode ->Online mode | Trace工作模式为在线模式 | YES/NO |
| LOSCFG_TRACE_CLIENT_INTERACT | Enable Trace Client Visualization and Control | 使能与Trace IDE (dev tools)的交互,包括数据可视化和流程控制 | YES/NO |
| LOSCFG_TRACE_FRAME_CORE_MSG | Enable Record more extended content ->Record cpuid, hardware interrupt status, task lock status | 记录CPUID、中断状态、锁任务状态 | YES/NO |
-| LOSCFG_TRACE_FRAME_EVENT_COUNT | Enable Record more extended content ->Record event count, which indicate the sequence of happend events | 记录事件的次序编号 | YES/NO |
+| LOSCFG_TRACE_FRAME_EVENT_COUNT | Enable Record more extended content ->Record event count, which indicate the sequence of happened events | 记录事件的次序编号 | YES/NO |
| LOSCFG_TRACE_FRAME_MAX_PARAMS | Record max params | 配置记录事件的最大参数个数 | INT |
| LOSCFG_TRACE_BUFFER_SIZE | Trace record buffer size | 配置Trace的缓冲区大小 | INT |
diff --git a/zh-cn/device-dev/subsystems/subsys-dfx-overview.md b/zh-cn/device-dev/subsystems/subsys-dfx-overview.md
index 68713176738..0eb0a1afca9 100755
--- a/zh-cn/device-dev/subsystems/subsys-dfx-overview.md
+++ b/zh-cn/device-dev/subsystems/subsys-dfx-overview.md
@@ -22,7 +22,7 @@
**线程卡死故障:**
-线程在运行过程中,如果进入死循环,或者陷入内核态(Uninterruptable Sleep、Traced、Zombie等状态,或者其他同步等待状态),将无法响应正常的业务请求,且无法自己实现故障的感知和恢复。检测和定位这类故障需要通过一个简单的watchdog机制,在易于发生卡死的流程中插入检测点,在发生卡死故障的时候,进行故障恢复和日志采集。
+线程在运行过程中,如果进入死循环,或者陷入内核态(Uninterruptible Sleep、Traced、Zombie等状态,或者其他同步等待状态),将无法响应正常的业务请求,且无法自己实现故障的感知和恢复。检测和定位这类故障需要通过一个简单的watchdog机制,在易于发生卡死的流程中插入检测点,在发生卡死故障的时候,进行故障恢复和日志采集。
**埋点:**
diff --git "a/zh-cn/readme/\345\233\276\345\275\242\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\233\276\345\275\242\345\255\220\347\263\273\347\273\237.md"
index 6eb6a562b49..9e2c6040e91 100644
--- "a/zh-cn/readme/\345\233\276\345\275\242\345\255\220\347\263\273\347\273\237.md"
+++ "b/zh-cn/readme/\345\233\276\345\275\242\345\255\220\347\263\273\347\273\237.md"
@@ -114,7 +114,7 @@ graphic\_utils
提供多窗口能力
-- Input Manger
+- Input Manager
多模输入模块,负责接收事件输
--
Gitee
From d96f368be0b8a0ca549efa36b34f6e012fcc3d30 Mon Sep 17 00:00:00 2001
From: lcjh <120989324@qq.com>
Date: Thu, 9 Dec 2021 00:28:46 +0800
Subject: [PATCH 2/2] fix some typo
Signed-off-by: lcjh <120989324@qq.com>
---
OAT.xml | 2 +-
.../js-components-common-events.md | 2 +-
.../js-components-common-styles.md | 2 +-
.../js-framework-resource-restriction.md | 2 +-
.../ts-component-states-prop.md | 2 +-
.../ts-custom-component-initialization.md | 2 +-
.../ts-drawing-components-ellipse.md | 2 +-
.../ts-drawing-components-line.md | 2 +-
.../ts-drawing-components-polygon.md | 2 +-
.../ts-drawing-components-polyline.md | 2 +-
.../ts-restrictions-for-generators.md | 2 +-
.../ts-universal-attributes-size.md | 2 +-
en/contribute/OpenHarmony-c-coding-style-guide.md | 2 +-
en/contribute/OpenHarmony-cpp-coding-style-guide.md | 4 ++--
zh-cn/device-dev/kernel/kernel-small-debug-trace.md | 2 +-
zh-cn/device-dev/subsystems/subsys-dfx-overview.md | 2 +-
...33\276\345\275\242\345\255\220\347\263\273\347\273\237.md" | 2 +-
17 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/OAT.xml b/OAT.xml
index d3349264b4f..c84e1b4df3b 100644
--- a/OAT.xml
+++ b/OAT.xml
@@ -63,7 +63,7 @@
-
+
diff --git a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-events.md b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-events.md
index 8c181ceae24..85add526686 100644
--- a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-events.md
+++ b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-events.md
@@ -165,7 +165,7 @@ Different from private events, universal events can be bound to most components.
|
DragEvent
|
-Tiggered when dragging is ended.
+ | Triggered when dragging is ended.
|
No
|
diff --git a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-styles.md b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-styles.md
index 979847ff347..3d8101ef286 100644
--- a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-styles.md
+++ b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-components-common-styles.md
@@ -466,7 +466,7 @@ You can set component appearance in the **style** attribute or **.css** file
-
|
start | end must be used together with position to determine the offset of an element.
-- The start attribute specifies the start edge position of the element. This attribute defines the offset between the start edge of a positioned element and that of a block included in the element.
- The end attribute specifies the end edge postion of the element. This attribute defines the offset between the end edge of a positioned element and that of a block included in the element.
+- The start attribute specifies the start edge position of the element. This attribute defines the offset between the start edge of a positioned element and that of a block included in the element.
- The end attribute specifies the end edge position of the element. This attribute defines the offset between the end edge of a positioned element and that of a block included in the element.
|
z-index6+
diff --git a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-framework-resource-restriction.md b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-framework-resource-restriction.md
index 8a2f1001e98..8f4f462085a 100644
--- a/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-framework-resource-restriction.md
+++ b/en/application-dev/js-reference/js-based-web-like-development-paradigm/js-framework-resource-restriction.md
@@ -124,5 +124,5 @@ resources/res-defaults.json:
```
> **NOTE:**
->The resource qualifer file does not support color enumeration.
+>The resource qualifier file does not support color enumeration.
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-component-states-prop.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-component-states-prop.md
index f73b3437be3..84244e60764 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-component-states-prop.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-component-states-prop.md
@@ -32,7 +32,7 @@ struct ParentComponent {
// when creatng ChildComponent, the initial value of its @Prop variable must be supplied
// in a named constructor parameter
- // also regular costOfOneAttempt (non-Prop) variable is initialied
+ // also regular costOfOneAttempt (non-Prop) variable is initialized
CountDownComponent({ count: this.countDownStartValue, costOfOneAttempt: 2})
}
}
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-custom-component-initialization.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-custom-component-initialization.md
index f73c7ec5963..da5931159c9 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-custom-component-initialization.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-custom-component-initialization.md
@@ -218,7 +218,7 @@ struct CompA {
Row() {
CompB({bLink: $aLink, // valid init a @Link with reference of another @Link,
bProp: this.aState}) // valid init a @Prop with value of a @State
- CompB({aLink: $aState, // invalid: type missmatch expected ref to ClassA, provided reference to boolean
+ CompB({aLink: $aState, // invalid: type mismatch expected ref to ClassA, provided reference to boolean
bProp: false}) // valid init a @Prop by constants value
}
}
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-ellipse.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-ellipse.md
index 027f0115ea1..c5f2d174752 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-ellipse.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-ellipse.md
@@ -8,7 +8,7 @@ None
## APIs
-ellipse\(options?: \{width: Lenght, height: Length\}\)
+ellipse\(options?: \{width: Length, height: Length\}\)
- Parameters
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-line.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-line.md
index 3952cbb4c2f..03fae2dad61 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-line.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-line.md
@@ -8,7 +8,7 @@ None
## APIs
-Line\(options?: \{width: Lenght, height: Length\}\)
+Line\(options?: \{width: Length, height: Length\}\)
- Parameters
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polygon.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polygon.md
index 9ec752513ae..d7a5b0cd53a 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polygon.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polygon.md
@@ -8,7 +8,7 @@ None
## APIs
-Polygon\(value:\{options?: \{width: Lenght, height: Length\}\}\)
+Polygon\(value:\{options?: \{width: Length, height: Length\}\}\)
- Parameters
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polyline.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polyline.md
index f0f2c07764c..1f0a60df046 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polyline.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-drawing-components-polyline.md
@@ -8,7 +8,7 @@ None
## APIs
-Polyline\(options?: \{width: Lenght, height: Length\}\)
+Polyline\(options?: \{width: Length, height: Length\}\)
- Parameters
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-restrictions-for-generators.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-restrictions-for-generators.md
index 3ccd5629b92..eb4392ba884 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-restrictions-for-generators.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-restrictions-for-generators.md
@@ -17,7 +17,7 @@ build() {
console.log(`a: ${a}`) // invalid: console.log only allowed in first line of build
Column() {
Text('Hello ${this.myName.toUpperCase()}') // ok.
- ForEach(this.arr.reverse(), ..., ...) // invalid: Array.reverse modifies the @State array varible in place
+ ForEach(this.arr.reverse(), ..., ...) // invalid: Array.reverse modifies the @State array variable in place
}
buildSpecial() // invalid: no function calls
Text(this.calcTextValue()) // this function call is ok.
diff --git a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-universal-attributes-size.md b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-universal-attributes-size.md
index d48dfcede4c..74b58e40645 100644
--- a/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-universal-attributes-size.md
+++ b/en/application-dev/js-reference/ts-based-declarative-development-paradigm/ts-universal-attributes-size.md
@@ -80,7 +80,7 @@ This topic describes the attributes used to set the component size.
minWidth?: Length,
maxWidth?: Length,
minHeight?: Length,
-maxHeight?: Lenght
+maxHeight?: Length
}
|
{
diff --git a/en/contribute/OpenHarmony-c-coding-style-guide.md b/en/contribute/OpenHarmony-c-coding-style-guide.md
index 62313191942..b75448dba5e 100755
--- a/en/contribute/OpenHarmony-c-coding-style-guide.md
+++ b/en/contribute/OpenHarmony-c-coding-style-guide.md
@@ -657,7 +657,7 @@ int c[][8] = {
Note:
-- If the left brace is placed at the end of the line, the corresponding right brace shoud be placed into a new line.
+- If the left brace is placed at the end of the line, the corresponding right brace should be placed into a new line.
- If the left brace is followed by the content, the corresponding right brace should also follow the content.
### Rule 2.11 When struct and union members are initialized, each member is initialized on a separate line.
diff --git a/en/contribute/OpenHarmony-cpp-coding-style-guide.md b/en/contribute/OpenHarmony-cpp-coding-style-guide.md
index 8a7ecbad0ca..a95ae1b7c83 100755
--- a/en/contribute/OpenHarmony-cpp-coding-style-guide.md
+++ b/en/contribute/OpenHarmony-cpp-coding-style-guide.md
@@ -2125,12 +2125,12 @@ class LockGuard {
public:
LockGuard(const LockType& lockType): lock_(lockType)
{
- lock_.Aquire();
+ lock_.Acquire();
}
~LockGuard()
{
- lock_.Relase();
+ lock_.Release();
}
private:
diff --git a/zh-cn/device-dev/kernel/kernel-small-debug-trace.md b/zh-cn/device-dev/kernel/kernel-small-debug-trace.md
index a778ba50421..072048df100 100644
--- a/zh-cn/device-dev/kernel/kernel-small-debug-trace.md
+++ b/zh-cn/device-dev/kernel/kernel-small-debug-trace.md
@@ -238,7 +238,7 @@ LOS_TraceHwiFilterHookReg(Example_HwiNumFilter);
| LOSCFG_RECORDER_MODE_ONLINE | Trace work mode ->Online mode | Trace工作模式为在线模式 | YES/NO |
| LOSCFG_TRACE_CLIENT_INTERACT | Enable Trace Client Visualization and Control | 使能与Trace IDE (dev tools)的交互,包括数据可视化和流程控制 | YES/NO |
| LOSCFG_TRACE_FRAME_CORE_MSG | Enable Record more extended content ->Record cpuid, hardware interrupt status, task lock status | 记录CPUID、中断状态、锁任务状态 | YES/NO |
-| LOSCFG_TRACE_FRAME_EVENT_COUNT | Enable Record more extended content ->Record event count, which indicate the sequence of happend events | 记录事件的次序编号 | YES/NO |
+| LOSCFG_TRACE_FRAME_EVENT_COUNT | Enable Record more extended content ->Record event count, which indicate the sequence of happened events | 记录事件的次序编号 | YES/NO |
| LOSCFG_TRACE_FRAME_MAX_PARAMS | Record max params | 配置记录事件的最大参数个数 | INT |
| LOSCFG_TRACE_BUFFER_SIZE | Trace record buffer size | 配置Trace的缓冲区大小 | INT |
diff --git a/zh-cn/device-dev/subsystems/subsys-dfx-overview.md b/zh-cn/device-dev/subsystems/subsys-dfx-overview.md
index 68713176738..0eb0a1afca9 100755
--- a/zh-cn/device-dev/subsystems/subsys-dfx-overview.md
+++ b/zh-cn/device-dev/subsystems/subsys-dfx-overview.md
@@ -22,7 +22,7 @@
**线程卡死故障:**
-线程在运行过程中,如果进入死循环,或者陷入内核态(Uninterruptable Sleep、Traced、Zombie等状态,或者其他同步等待状态),将无法响应正常的业务请求,且无法自己实现故障的感知和恢复。检测和定位这类故障需要通过一个简单的watchdog机制,在易于发生卡死的流程中插入检测点,在发生卡死故障的时候,进行故障恢复和日志采集。
+线程在运行过程中,如果进入死循环,或者陷入内核态(Uninterruptible Sleep、Traced、Zombie等状态,或者其他同步等待状态),将无法响应正常的业务请求,且无法自己实现故障的感知和恢复。检测和定位这类故障需要通过一个简单的watchdog机制,在易于发生卡死的流程中插入检测点,在发生卡死故障的时候,进行故障恢复和日志采集。
**埋点:**
diff --git "a/zh-cn/readme/\345\233\276\345\275\242\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\233\276\345\275\242\345\255\220\347\263\273\347\273\237.md"
index 6eb6a562b49..9e2c6040e91 100644
--- "a/zh-cn/readme/\345\233\276\345\275\242\345\255\220\347\263\273\347\273\237.md"
+++ "b/zh-cn/readme/\345\233\276\345\275\242\345\255\220\347\263\273\347\273\237.md"
@@ -114,7 +114,7 @@ graphic\_utils
提供多窗口能力
-- Input Manger
+- Input Manager
多模输入模块,负责接收事件输
--
Gitee
|