From 4a96882affe3a8c58aeb504f669222885530cbe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 12:48:15 +0000 Subject: [PATCH 01/48] update en/application-dev/ui/arkts-color-effect.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/ui/arkts-color-effect.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/ui/arkts-color-effect.md b/en/application-dev/ui/arkts-color-effect.md index d873a248880..687b448e6bb 100644 --- a/en/application-dev/ui/arkts-color-effect.md +++ b/en/application-dev/ui/arkts-color-effect.md @@ -77,7 +77,7 @@ struct LinearGradientDemo { GridItem() { Column() { - Text('repeat: fasle') + Text('repeat: false') .fontSize(15) } .width(100) -- Gitee From cbf7fd9a1f7c9da230a4b25cfb8db8edf46cfee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 12:51:27 +0000 Subject: [PATCH 02/48] update en/application-dev/ui/arkts-gesture-events-single-gesture.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/ui/arkts-gesture-events-single-gesture.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/ui/arkts-gesture-events-single-gesture.md b/en/application-dev/ui/arkts-gesture-events-single-gesture.md index 18bfdf5d7bd..ac49a215e6e 100644 --- a/en/application-dev/ui/arkts-gesture-events-single-gesture.md +++ b/en/application-dev/ui/arkts-gesture-events-single-gesture.md @@ -323,7 +323,7 @@ SwipeGesture(value?:{fingers?:number; direction?:SwipeDirection; speed?:number}) Swipe gestures are used to trigger swipe events. A swipe gesture is recognized when the swipe speed is 100 vp/s or higher. There are three optional parameters: -- **fingers**: minimum number of fingers required to trigger a swipe gesture. TThe minimum value is 1 and the maximum value is 10. The default value is 1. +- **fingers**: minimum number of fingers required to trigger a swipe gesture. The minimum value is 1 and the maximum value is 10. The default value is 1. - **direction**: swipe direction. The enumerated values support the AND and OR operations. The default value is **SwipeDirection.All**. -- Gitee From f5ea64fc4e21eda3c38835b4ddd6867d94023507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 12:53:55 +0000 Subject: [PATCH 03/48] update en/application-dev/reference/native-apis/_video_decoder.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/reference/native-apis/_video_decoder.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/native-apis/_video_decoder.md b/en/application-dev/reference/native-apis/_video_decoder.md index 5c81067ce61..17486f22a35 100644 --- a/en/application-dev/reference/native-apis/_video_decoder.md +++ b/en/application-dev/reference/native-apis/_video_decoder.md @@ -270,7 +270,7 @@ Checks whether a video codec instance is valid. | Name| Description| | -------- | -------- | | codec | Pointer to an **OH_AVCodec** instance.| -| isVaild | Output parameter. Pointer to an instance of the Boolean type. The value **true** means that the decoder instance is valid and **false** means the opposite.| +| isValid | Output parameter. Pointer to an instance of the Boolean type. The value **true** means that the decoder instance is valid and **false** means the opposite.| **Returns** -- Gitee From 43273433ef1d1211c24daf5b8a5f3bcd724766c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 12:56:32 +0000 Subject: [PATCH 04/48] update en/application-dev/reference/native-apis/_ohos_image_receiver_info.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- .../reference/native-apis/_ohos_image_receiver_info.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/native-apis/_ohos_image_receiver_info.md b/en/application-dev/reference/native-apis/_ohos_image_receiver_info.md index 3faa93a20e5..ba849ea2004 100644 --- a/en/application-dev/reference/native-apis/_ohos_image_receiver_info.md +++ b/en/application-dev/reference/native-apis/_ohos_image_receiver_info.md @@ -24,4 +24,4 @@ The **OhosImageReceiverInfo** struct defines the information about an image rece | width | Default width of the image received by the consumer, in pixels.| | height | Default height of the image received by the consumer, in pixels.| | format | Image format **OHOS_IMAGE_FORMAT_JPEG** created by using the receiver.| -| capicity | Maximum number of images that can be cached.| +| capacity | Maximum number of images that can be cached.| -- Gitee From eaa0558fb94e9191d71a4fba56df212b6130500b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 13:00:45 +0000 Subject: [PATCH 05/48] update en/application-dev/reference/native-apis/_neural_nework_runtime.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- .../reference/native-apis/_neural_nework_runtime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/native-apis/_neural_nework_runtime.md b/en/application-dev/reference/native-apis/_neural_nework_runtime.md index 01aa5d92993..b1aae87f91a 100644 --- a/en/application-dev/reference/native-apis/_neural_nework_runtime.md +++ b/en/application-dev/reference/native-apis/_neural_nework_runtime.md @@ -291,7 +291,7 @@ Defines operator types supported by Neural Network Runtime. | OH_NN_OPS_MAXIMUM | Calculates the maximum of **input1** and **input2** element-wise. The inputs of **input1** and **input2** comply with the implicit type conversion rules to make the data types consistent. \* The inputs must be two tensors or one tensor and one scalar. When the inputs are two tensors, their data types cannot be both NN_BOOL. Their shapes can be broadcast to the same size. When the inputs are one tensor and one scalar, the scalar must be a constant.
Inputs:
- **input1**: n-dimensional input tensor of the real number or NN_BOOL type.
- **input2**: n-dimensional input tensor of the real number or NN_BOOL type.
Outputs:
- **output**: n-dimensional output tensor. The **shape** and data type of **output** are the same as those of the two inputs with a higher precision. | | OH_NN_OPS_MAX_POOL | Applies 2D maximum pooling to the input tensor.
If the input contains the **padMode** parameter:
Inputs:
- **input**: tensor.
Parameters:
- **kernelSize**: kernel size used to obtain the maximum. It is an int array [kernel_height, kernel_width]. The first number indicates the kernel height, and the second number indicates the kernel width.
- **strides** indicates the distance of kernel moving. The value is an int array [stride_height, stride_width]. The first number indicates the moving step in height, and the second number indicates the moving step in width.
- **padMode**: padding mode, which is optional. The value is of the int type and can be **0** (same) or **1** (valid). The nearest neighbor value is used for padding. **0** (same): The height and width of the output are the same as those of the input. The total padding quantity is calculated horizontally and vertically and evenly distributed to the top, bottom, left, and right if possible. Otherwise, the last additional padding will be completed from the bottom and right.
**1** (valid): The possible maximum height and width of the output will be returned in case of no padding. The excessive pixels will be discarded.
- **activationType** is an integer constant which is contained in **FuseType**. The specified activation function is called before output.
If the input contains the **padList** parameter:
Inputs:
- **input**: tensor.
Parameters:
- **kernelSize**: kernel size used to obtain the maximum. It is an int array [kernel_height, kernel_width]. The first number indicates the kernel height, and the second number indicates the kernel width.
- **strides** indicates the distance of kernel moving. The value is an int array [stride_height, stride_width]. The first number indicates the moving step in height, and the second number indicates the moving step in width.
- **padList**: padding around **input**. It is an int array [top, bottom, left, right], and the nearest neighbor values are used for padding.
- **activationType** is an integer constant which is contained in **FuseType**. The specified activation function is called before output.
Outputs:
- **output**: tensor obtained after maximum pooling is applied to the input. | | OH_NN_OPS_MUL | Multiplies elements in the same positions of **inputX** and **inputY** to obtain the output. If **inputX** and **inputY** have different shapes, expand them to the same shape through broadcast and then perform multiplication.
Inputs:
- **input1**: n-dimensional tensor.
- **input2**: n-dimensional tensor.
Parameters:
- **activationType** is an integer constant which is contained in **FuseType**. The specified activation function is called before output.
Outputs:
- Product of each element of **input1** and **input2**. | -| OH_NN_OPS_ONE_HOT | Generates a one-hot tensor based on the positions specified by **indices**. The positions specified by **indices** are determined by **on_value**, and other positions are determined by **off_value**.
Inputs:
- **indices**: n-dimensional tensor. Each element in **indices** determines the position of **on_value** in each one-hot vector.
- **depth**: integer scalar that determines the depth of the one-hot vector. The value of **depth** must be greater than **0**.
- **on_value**: scalar that specifies a valid value in the one-hot vector.
- **off_value**: scalar that specifies the values of other posistions in the one-hot vector except the valid value.
Parameters:
- **axis**: integer scalar that specifies the dimension for inserting the one-hot. Assume that the shape of **indices** is [N, C], and the value of **depth** is D. When **axis** is **0**, the shape of the output is [D, N, C]. When **axis** is **-1**, the shape of the output is [N, C, D]. When **axis** is **1**, the shape of the output is [N, D, C].
Outputs:
- **output**: (n+1)-dimensional tensor if **indices** is an n-dimensional tensor. The output shape is determined by **indices** and **axis**. | +| OH_NN_OPS_ONE_HOT | Generates a one-hot tensor based on the positions specified by **indices**. The positions specified by **indices** are determined by **on_value**, and other positions are determined by **off_value**.
Inputs:
- **indices**: n-dimensional tensor. Each element in **indices** determines the position of **on_value** in each one-hot vector.
- **depth**: integer scalar that determines the depth of the one-hot vector. The value of **depth** must be greater than **0**.
- **on_value**: scalar that specifies a valid value in the one-hot vector.
- **off_value**: scalar that specifies the values of other positions in the one-hot vector except the valid value.
Parameters:
- **axis**: integer scalar that specifies the dimension for inserting the one-hot. Assume that the shape of **indices** is [N, C], and the value of **depth** is D. When **axis** is **0**, the shape of the output is [D, N, C]. When **axis** is **-1**, the shape of the output is [N, C, D]. When **axis** is **1**, the shape of the output is [N, D, C].
Outputs:
- **output**: (n+1)-dimensional tensor if **indices** is an n-dimensional tensor. The output shape is determined by **indices** and **axis**. | | OH_NN_OPS_PAD | Pads **inputX** in the specified dimensions.
Inputs:
- **inputX**: n-dimensional tensor in [BatchSize, ...] format.
- **paddings**: 2D tensor that specifies the length to pad in each dimension. The shape is [n, 2]. For example, **paddings[i][0]** indicates the number of paddings to be added preceding **inputX** in the ith dimension. **paddings[i][1]** indicates the number of paddings to be added following **inputX** in the ith dimension.
Parameters:
- **padValues**: value to be added to the pad operation. The value is a constant with the same data type as **inputX**.
Outputs:
- **output**: n-dimensional tensor after padding, with the same dimensions and data type as **inputX**. The shape is determined by **inputX** and **paddings**. output.shape[i] = input.shape[i] + paddings[i][0]+paddings[i][1] | | OH_NN_OPS_POW | Calculates the **y** power of each element in **input**. The inputs must be two tensors or one tensor and one scalar. When the inputs are two tensors, their data types cannot be both NN_BOOL, and their shapes must be the same. When the inputs are one tensor and one scalar, the scalar must be a constant.
Inputs:
- **input**: real number, Boolean value, or tensor whose data type is real number or NN_BOOL.
- **y**: real number, Boolean value, or tensor whose data type is real number or NN_BOOL.
Outputs:
- **output**: tensor, whose shape is determined by the shape of **input** and **y** after broadcasting. | | OH_NN_OPS_SCALE | Scales a tensor.
Inputs:
- **input**: n-dimensional tensor.
- **scale**: scaling tensor.
- **bias**: bias tensor.
Parameters:
- **axis**: dimensions to be scaled.
- **activationType** is an integer constant which is contained in **FuseType**. The specified activation function is called before output.
Outputs:
- **output**: scaled n-dimensional tensor, whose data type is the same as that of **input** and shape is determined by **axis**. | -- Gitee From 49fdd1477db3c790c135b489b4e504742f39c2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 13:02:46 +0000 Subject: [PATCH 06/48] update en/application-dev/reference/native-apis/_neural_nework_runtime.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- .../reference/native-apis/_neural_nework_runtime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/native-apis/_neural_nework_runtime.md b/en/application-dev/reference/native-apis/_neural_nework_runtime.md index b1aae87f91a..b0073187eae 100644 --- a/en/application-dev/reference/native-apis/_neural_nework_runtime.md +++ b/en/application-dev/reference/native-apis/_neural_nework_runtime.md @@ -404,7 +404,7 @@ Tensors are usually used to set the input, output, and operator parameters of a | OH_NN_AVG_POOL_PAD_MODE | This enumerated value is used when the tensor is used as the **pad_mode** parameter of the AvgPool operator. | | OH_NN_AVG_POOL_PAD | This enumerated value is used when the tensor is used as the **pad** parameter of the AvgPool operator. | | OH_NN_AVG_POOL_ACTIVATION_TYPE | This enumerated value is used when the tensor is used as the **activation_type** parameter of the AvgPool operator. | -| OH_NN_BATCH_NORM_EPSILON | This enumerated value is used when the tensor is used as the **eosilon** parameter of the BatchNorm operator. | +| OH_NN_BATCH_NORM_EPSILON | This enumerated value is used when the tensor is used as the **epsilon** parameter of the BatchNorm operator. | | OH_NN_BATCH_TO_SPACE_ND_BLOCKSIZE | This enumerated value is used when the tensor is used as the **blockSize** parameter of the BatchToSpaceND operator. | | OH_NN_BATCH_TO_SPACE_ND_CROPS | This enumerated value is used when the tensor is used as the **crops** parameter of the BatchToSpaceND operator. | | OH_NN_CONCAT_AXIS | This enumerated value is used when the tensor is used as the **axis** parameter of the Concat operator. | -- Gitee From 11de43bba2e2c59ce2f5777332c9125d63d554f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:17:06 +0000 Subject: [PATCH 07/48] update en/device-dev/device-test/xdevice.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/device-test/xdevice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/device-test/xdevice.md b/en/device-dev/device-test/xdevice.md index 22f16b1de3e..7b22d0ecfec 100644 --- a/en/device-dev/device-test/xdevice.md +++ b/en/device-dev/device-test/xdevice.md @@ -571,7 +571,7 @@ Check whether xDevice runs properly. ], "driver": { "type": "CppTestLite", - "excute": "/test_root/kernel/ActsKernelIPCTest.bin" + "execute": "/test_root/kernel/ActsKernelIPCTest.bin" } } ``` -- Gitee From f66704262cf945801c8d4192aaf00e5b26bdddd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:18:41 +0000 Subject: [PATCH 08/48] update en/application-dev/quick-start/app-structure.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/quick-start/app-structure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/quick-start/app-structure.md b/en/application-dev/quick-start/app-structure.md index 75e2117aaa0..7ab2b24d012 100644 --- a/en/application-dev/quick-start/app-structure.md +++ b/en/application-dev/quick-start/app-structure.md @@ -12,7 +12,7 @@ The **app** tag contains application-wide configuration. The internal structure |version | Version of the application.| Object| No| | apiVersion | OpenHarmony API version on which the application depends.| Object| Yes (initial value: left empty)| | smartWindowSize | Screen size used when the application runs in the emulator.| String| Yes (initial value: left empty)| -| smartWindowDeviceType | Types of emulated devcies on which the application can run.| String array| Yes (initial value: left empty)| +| smartWindowDeviceType | Types of emulated devices on which the application can run.| String array| Yes (initial value: left empty)| | asanEnabled | Whether to enable AddressSanitizer (ASan) to detect memory corruption issues such as buffer overflows.
- **true**: ASan is enabled.
- **false**: ASan is disabled. Note that ASan is not available in the Release version.| Boolean| Yes (initial value: **false**)| ## Internal Structure of the version Atttribute -- Gitee From a504b8b95c45a975468f41e15b7d8037fceda44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:21:12 +0000 Subject: [PATCH 09/48] update en/application-dev/ui/arkts-common-events-focus-event.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/ui/arkts-common-events-focus-event.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/ui/arkts-common-events-focus-event.md b/en/application-dev/ui/arkts-common-events-focus-event.md index 44c9048e6ef..05c357c5ffb 100644 --- a/en/application-dev/ui/arkts-common-events-focus-event.md +++ b/en/application-dev/ui/arkts-common-events-focus-event.md @@ -691,7 +691,7 @@ groupDefaultFocus(value: boolean) Using **tabIndex** to [set the order for sequential Tab navigation](#setting-the-order-for-sequential-tab-navigation) has the following issues: -While a component is set as a tabIndex node (white-Button1, yellow-left arrow, and green-ButtonOK) in each area (white, yellow, and green), focus moves quicly only within these components in Tab navigation. +While a component is set as a tabIndex node (white-Button1, yellow-left arrow, and green-ButtonOK) in each area (white, yellow, and green), focus moves quickly only within these components in Tab navigation. The solution is to set **tabIndex** for the container of each area. However, when a container receives focus for the first time, the focused child component is the first focusable component by default, not the desired component (Button1, left arrow, and ButtonOK). -- Gitee From 0ade20de7c28189a4689f71051ceb2d35d839357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:22:39 +0000 Subject: [PATCH 10/48] update en/application-dev/ui/arkts-graphics-display.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/ui/arkts-graphics-display.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/ui/arkts-graphics-display.md b/en/application-dev/ui/arkts-graphics-display.md index a18440aac81..1eebdc3257b 100644 --- a/en/application-dev/ui/arkts-graphics-display.md +++ b/en/application-dev/ui/arkts-graphics-display.md @@ -162,7 +162,7 @@ A pixel map is a pixel image obtained after image decoding. For details, see [Im http.createHttp().request("https://www.example.com/xxx.png", (error, data) => { if (error){ - console.error(`http reqeust failed with. Code: ${error.code}, message: ${error.message}`); + console.error(`http request failed with. Code: ${error.code}, message: ${error.message}`); } else { } } -- Gitee From aa14db085c06ede660208a3e5778d78b79ef3b74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:24:14 +0000 Subject: [PATCH 11/48] update en/application-dev/tools/bm-tool.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/tools/bm-tool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/tools/bm-tool.md b/en/application-dev/tools/bm-tool.md index 324a4bf814a..3bd2fc5dd9c 100644 --- a/en/application-dev/tools/bm-tool.md +++ b/en/application-dev/tools/bm-tool.md @@ -43,7 +43,7 @@ bm help ## Installation Command ```bash -bm install [-h] [-p path] [-u userId] [-r] [-w waitting-time] +bm install [-h] [-p path] [-u userId] [-r] [-w waiting-time] ``` -- Gitee From 9a2e5705fd95eadb3db880075570ff29b6f7561c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:26:15 +0000 Subject: [PATCH 12/48] update en/release-notes/changelogs/v3.2-beta5/changelogs-time.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/release-notes/changelogs/v3.2-beta5/changelogs-time.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/release-notes/changelogs/v3.2-beta5/changelogs-time.md b/en/release-notes/changelogs/v3.2-beta5/changelogs-time.md index a672b60987e..c7af5e66b59 100644 --- a/en/release-notes/changelogs/v3.2-beta5/changelogs-time.md +++ b/en/release-notes/changelogs/v3.2-beta5/changelogs-time.md @@ -130,7 +130,7 @@ export default { triggerTime += 3000; try { systemTimer.startTimer(timerId, triggerTime).then((data) => { - console.log(`Succeeded in startting timer. Data:` + data); + console.log(`Succeeded in starting timer. Data:` + data); }).catch((error) => { // Capture the permission denial error. console.info(`Failed to start timer. message: ${error.message}, code: ${error.code}`); -- Gitee From c4eab9413cc1e87ebe6b7fa9c5802716409bd177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:27:07 +0000 Subject: [PATCH 13/48] update en/release-notes/changelogs/v3.2-beta5/changelogs-url.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/release-notes/changelogs/v3.2-beta5/changelogs-url.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/release-notes/changelogs/v3.2-beta5/changelogs-url.md b/en/release-notes/changelogs/v3.2-beta5/changelogs-url.md index 4dfc6cacb85..50b40b6a7d6 100644 --- a/en/release-notes/changelogs/v3.2-beta5/changelogs-url.md +++ b/en/release-notes/changelogs/v3.2-beta5/changelogs-url.md @@ -32,7 +32,7 @@ try { var result= params2.toString() console.log(result) //"user=abc&query=xyz" } catch (err) { - console.error(`Fail to ceate URLParams.codeis${err.code},message is ${err.message}`); + console.error(`Fail to create URLParams.codeis${err.code},message is ${err.message}`); } ``` ## cl.commonlibrary.2 URL Attribute Changes of URLParams Class APIs -- Gitee From 641c6b387173cdd5a6a44eea7ed040bebec17e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:28:23 +0000 Subject: [PATCH 14/48] update en/application-dev/application-models/common-event-remove-sticky.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- .../application-models/common-event-remove-sticky.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/application-models/common-event-remove-sticky.md b/en/application-dev/application-models/common-event-remove-sticky.md index 2ad907a9c79..ed529c10b02 100644 --- a/en/application-dev/application-models/common-event-remove-sticky.md +++ b/en/application-dev/application-models/common-event-remove-sticky.md @@ -36,6 +36,6 @@ For details, see [Common Event](../reference/apis/js-apis-commonEventManager.md) console.error(`Failed to remove sticky common event. Code is ${err.code}, message is ${err.message}`); return; } - console.info(`Succeeded in removeing sticky event.`); + console.info(`Succeeded in removing sticky event.`); }); ``` -- Gitee From 384aaddb6da43a63536c90c7aeac21a59c047c0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:30:43 +0000 Subject: [PATCH 15/48] update en/application-dev/reference/apis/common_event/commonEvent-filemanagement.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- .../reference/apis/common_event/commonEvent-filemanagement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/apis/common_event/commonEvent-filemanagement.md b/en/application-dev/reference/apis/common_event/commonEvent-filemanagement.md index 04c4d99a1e4..44393833946 100644 --- a/en/application-dev/reference/apis/common_event/commonEvent-filemanagement.md +++ b/en/application-dev/reference/apis/common_event/commonEvent-filemanagement.md @@ -27,7 +27,7 @@ Indicates that an external storage device was removed without being unmounted. - Value: usual.event.data.VOLUME_BAD_REMOVAL - Required subscriber permissions: ohos.permission.STORAGE_MANAGER -When an external storage device is directly removed without being umounted, the event notification service is triggered to publish this event. +When an external storage device is directly removed without being amounted, the event notification service is triggered to publish this event. ## COMMON_EVENT_VOLUME_EJECT9+ Indicates that an external storage device is about to be ejected. -- Gitee From b678d414e4eb76fca9caf1e9aaa052cbb64387af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:31:55 +0000 Subject: [PATCH 16/48] update en/application-dev/database/data-mgmt-overview.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/database/data-mgmt-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/database/data-mgmt-overview.md b/en/application-dev/database/data-mgmt-overview.md index e6b77c1d89c..f7d71743372 100644 --- a/en/application-dev/database/data-mgmt-overview.md +++ b/en/application-dev/database/data-mgmt-overview.md @@ -16,7 +16,7 @@ The database stores created by an application are saved to the application sandb ## Working Principles -The data management module includes preferences, KV data management (KV-Store), relational data management (RelatoinalStore), distributed data object (DataObject), cross-application data management (DataShare), and unified data management framework (UDMF). The interface layer provides standard JavaScript APIs for application development. The Frameworks&System service layer implements storage and synchronization of component data, and provides dependencies for SQLite and other subsystems. +The data management module includes preferences, KV data management (KV-Store), relational data management (RelationalStore), distributed data object (DataObject), cross-application data management (DataShare), and unified data management framework (UDMF). The interface layer provides standard JavaScript APIs for application development. The Frameworks&System service layer implements storage and synchronization of component data, and provides dependencies for SQLite and other subsystems. **Figure 1** Data management architecture -- Gitee From 29c1344d2e4a8f64adcd04f219f435e1a7b0f1bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:33:14 +0000 Subject: [PATCH 17/48] update en/application-dev/database/data-sync-of-rdb-store.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/database/data-sync-of-rdb-store.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/database/data-sync-of-rdb-store.md b/en/application-dev/database/data-sync-of-rdb-store.md index 2d6d5a73e0c..ee188bc27b2 100644 --- a/en/application-dev/database/data-sync-of-rdb-store.md +++ b/en/application-dev/database/data-sync-of-rdb-store.md @@ -3,7 +3,7 @@ ## When to Use -You can synchronize the application data in a local RDB store on a device to other divices that form a Super Device. +You can synchronize the application data in a local RDB store on a device to other devices that form a Super Device. ## Basic Concepts -- Gitee From 0f8279f8add3b3573683119acac231b09f113aad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:34:43 +0000 Subject: [PATCH 18/48] update en/device-dev/driver/driver-peripherals-camera-des.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/driver/driver-peripherals-camera-des.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/driver/driver-peripherals-camera-des.md b/en/device-dev/driver/driver-peripherals-camera-des.md index 4d266dfac27..09d4ad4f89e 100644 --- a/en/device-dev/driver/driver-peripherals-camera-des.md +++ b/en/device-dev/driver/driver-peripherals-camera-des.md @@ -872,7 +872,7 @@ The following uses the demo to describe how to use the HDI to implement **Previe std::lock_guard l(metaDatalock_); if (mode == CAPTURE_SNAPSHOT) { constexpr double latitude = 27.987500; // dummy data: Qomolangma latitde - constexpr double longitude = 86.927500; // dummy data: Qomolangma longituude + constexpr double longitude = 86.927500; // dummy data: Qomolangma longitude constexpr double altitude = 8848.86; // dummy data: Qomolangma altitude constexpr size_t entryCapacity = 100; constexpr size_t dataCapacity = 2000; -- Gitee From e101f5b0f37a63e0cb6eff62f399c11b6e5c065b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:35:39 +0000 Subject: [PATCH 19/48] update en/device-dev/driver/driver-peripherals-external-des.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/driver/driver-peripherals-external-des.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/driver/driver-peripherals-external-des.md b/en/device-dev/driver/driver-peripherals-external-des.md index 04f0d763155..6e40821082f 100644 --- a/en/device-dev/driver/driver-peripherals-external-des.md +++ b/en/device-dev/driver/driver-peripherals-external-des.md @@ -659,7 +659,7 @@ Develop test cases in the WLAN module unit test to verify the basic features of decline_time 3600 #default: 3600 (1 hour) conflict_time 3600 #default: 3600 (1 hour) offer_time 60 #default: 60 (1 minute) - min_lease 60 #defult: 60 + min_lease 60 #default: 60 lease_file /vendor/etc/udhcpd.leases opt dns x.x.x.x x.x.x.x option subnet 255.255.255.0 -- Gitee From 85f27590fb45feefe59a67991557cb94efc93345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:37:10 +0000 Subject: [PATCH 20/48] update en/device-dev/driver/driver-platform-gpio-des.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/driver/driver-platform-gpio-des.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/driver/driver-platform-gpio-des.md b/en/device-dev/driver/driver-platform-gpio-des.md index 38cb4a1bab7..164cca90820 100644 --- a/en/device-dev/driver/driver-platform-gpio-des.md +++ b/en/device-dev/driver/driver-platform-gpio-des.md @@ -71,7 +71,7 @@ The following table describes the APIs provided by the GPIO module. ### How to Develop -The fillowing figure shows how to use the GPIO APIs to manage pins. In the APIs, a GPIO pin is identified by the pin number. +The following figure shows how to use the GPIO APIs to manage pins. In the APIs, a GPIO pin is identified by the pin number. **Figure 2** Using GPIO driver APIs -- Gitee From 597fd071926b6e1d81f337d29e36ef359c514ea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:38:08 +0000 Subject: [PATCH 21/48] update en/device-dev/driver/driver-platform-i3c-develop.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/driver/driver-platform-i3c-develop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/driver/driver-platform-i3c-develop.md b/en/device-dev/driver/driver-platform-i3c-develop.md index 4df734722da..42a8bc34f51 100644 --- a/en/device-dev/driver/driver-platform-i3c-develop.md +++ b/en/device-dev/driver/driver-platform-i3c-develop.md @@ -40,7 +40,7 @@ The IBIs over the serial bus eliminates the need for an extra interrupt line to ### Working Principles -In the Hardware Driver Foundation (HDF), the I3C module uses the unified service mode for API adaptation. In this mode, a service is used as the I3C manager to handle external access requests in a unified manner. The unified service mode applies when the system has multiple device objects of the same type, for example, when there are more than 10 I3C controllers. If the independent service mode is used in this case, more device nodes need to be configured and more memory resources will be consumed. The following figure illustrtes the unified service mode. +In the Hardware Driver Foundation (HDF), the I3C module uses the unified service mode for API adaptation. In this mode, a service is used as the I3C manager to handle external access requests in a unified manner. The unified service mode applies when the system has multiple device objects of the same type, for example, when there are more than 10 I3C controllers. If the independent service mode is used in this case, more device nodes need to be configured and more memory resources will be consumed. The following figure illustrates the unified service mode. The I3C module is divided into the following layers: -- Gitee From 8b7828e2864432497ec1a9f78743fea297d20cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:39:30 +0000 Subject: [PATCH 22/48] update en/application-dev/reference/errorcodes/errorcode-power.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/reference/errorcodes/errorcode-power.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/errorcodes/errorcode-power.md b/en/application-dev/reference/errorcodes/errorcode-power.md index 04e487e000d..d350cfadc35 100644 --- a/en/application-dev/reference/errorcodes/errorcode-power.md +++ b/en/application-dev/reference/errorcodes/errorcode-power.md @@ -32,7 +32,7 @@ Check whether the system services are running properly. 2. Check whether **PowerManagerService** is included in the system service list. -## 4900102 System Shuting Down +## 4900102 System Shutting Down **Error Message** -- Gitee From cfaaf8b4110aea0ce84e4781e3a08d0e1c956502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:40:20 +0000 Subject: [PATCH 23/48] update en/application-dev/reference/errorcodes/errorcode-webview.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/reference/errorcodes/errorcode-webview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/errorcodes/errorcode-webview.md b/en/application-dev/reference/errorcodes/errorcode-webview.md index 216adc30e55..3f6351789bf 100644 --- a/en/application-dev/reference/errorcodes/errorcode-webview.md +++ b/en/application-dev/reference/errorcodes/errorcode-webview.md @@ -272,7 +272,7 @@ Call the API based on the message type to obtain the message value. For example, **Error Message** -New failed, out of memeory. +New failed, out of memory. **Description** -- Gitee From 7e0e6bf9dc075a56a537fc2db9c41cea71d19b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:42:34 +0000 Subject: [PATCH 24/48] update en/application-dev/faqs/faqs-ability-access-control.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/faqs/faqs-ability-access-control.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/faqs/faqs-ability-access-control.md b/en/application-dev/faqs/faqs-ability-access-control.md index ab1786a5676..eeb3d75cbcf 100644 --- a/en/application-dev/faqs/faqs-ability-access-control.md +++ b/en/application-dev/faqs/faqs-ability-access-control.md @@ -28,7 +28,7 @@ Applicable to: OpenHarmony SDK 3.2 Beta5 **Solution** -1. Before allowing an application to call an API protected by certain permission, verify whether the application has the permission. If the application has the permission, the application can call the API. Otherwise, a dialog box is dipslayed to ask user authorization. +1. Before allowing an application to call an API protected by certain permission, verify whether the application has the permission. If the application has the permission, the application can call the API. Otherwise, a dialog box is displayed to ask user authorization. 2. If the user rejects to grant the permission, ensure that other functions irrelevant to this permission are not affected. -- Gitee From e67664161c6a04daeaa5f7130c94b169c1112534 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:43:33 +0000 Subject: [PATCH 25/48] update en/application-dev/faqs/faqs-arkui-arkts.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/faqs/faqs-arkui-arkts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/faqs/faqs-arkui-arkts.md b/en/application-dev/faqs/faqs-arkui-arkts.md index 4cae24c691f..1f5c1d451c1 100644 --- a/en/application-dev/faqs/faqs-arkui-arkts.md +++ b/en/application-dev/faqs/faqs-arkui-arkts.md @@ -106,7 +106,7 @@ To listen for object changes in an array, use the @Observed and @ObjectLink deco [\@Observed and \@ObjectLink: Observing Attribute Changes in Nested Class Objects](../quick-start/arkts-observed-and-objectlink.md) -## How do I transfer values through the parent component to @Link decorated varaibles in a child component? +## How do I transfer values through the parent component to @Link decorated variables in a child component? Applicable to: OpenHarmony 3.2 Beta 5 (API version 9) -- Gitee From f158c341b68ecc1107f63d1404d4de9add0e38e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:44:45 +0000 Subject: [PATCH 26/48] update en/device-dev/faqs/faqs-environment-setup.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/faqs/faqs-environment-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/faqs/faqs-environment-setup.md b/en/device-dev/faqs/faqs-environment-setup.md index d087258233f..efb88a4045d 100644 --- a/en/device-dev/faqs/faqs-environment-setup.md +++ b/en/device-dev/faqs/faqs-environment-setup.md @@ -94,7 +94,7 @@ - **Symptom** - The following informaton is displayed during the Python 3 installation process: + The following information is displayed during the Python 3 installation process: ``` configure: error: no acceptable C compiler found in $PATH. See 'config.log' for more details -- Gitee From 42cff20e048a7ff44e4c7025d84a9581e93cb3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:45:54 +0000 Subject: [PATCH 27/48] update en/application-dev/file-management/file-access-across-devices.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- .../file-management/file-access-across-devices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/file-management/file-access-across-devices.md b/en/application-dev/file-management/file-access-across-devices.md index 1fefd8c4115..6ca01845445 100644 --- a/en/application-dev/file-management/file-access-across-devices.md +++ b/en/application-dev/file-management/file-access-across-devices.md @@ -27,7 +27,7 @@ Connect the devices to a LAN, and complete authentication of the devices. The de try { // Create a file in the distributed directory. let file = fs.openSync(filePath, fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE); - console.info('Succeeded in createing.'); + console.info('Succeeded in creating.'); // Write data to the file. fs.writeSync(file.fd, 'content'); // Close the file. -- Gitee From 07d3708826d69824953700aaacf6dd5fdbff6ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:47:08 +0000 Subject: [PATCH 28/48] update en/application-dev/security/huks-guidelines.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/security/huks-guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/security/huks-guidelines.md b/en/application-dev/security/huks-guidelines.md index b2d5c6fed4e..cc9612e967f 100644 --- a/en/application-dev/security/huks-guidelines.md +++ b/en/application-dev/security/huks-guidelines.md @@ -1660,7 +1660,7 @@ When a key is generated or imported, [HuksUserAuthType](../reference/apis/js-api | Name | Value | Description | | ------------------------------- | ------ | ------------------------------------------------------------ | | HUKS_USER_AUTH_TYPE_FINGERPRINT | 0x0001 | Fingerprint authentication, which can be enabled with facial authentication and PIN authentication at the same time. | -| HUKS_USER_AUTH_TYPE_FACE | 0x0002 | Facial authentication, whch can be enabled with fingerprint authentication and PIN authentication at the same time. | +| HUKS_USER_AUTH_TYPE_FACE | 0x0002 | Facial authentication, which can be enabled with fingerprint authentication and PIN authentication at the same time. | | HUKS_USER_AUTH_TYPE_PIN | 0x0004 | PIN authentication, which can be enabled with fingerprint authentication and facial authenticationat the same time. | -- Gitee From 6fe0daa12b613f05fc5da8a3e740dc18adc8bdf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:48:20 +0000 Subject: [PATCH 29/48] update en/application-dev/quick-start/introduction-to-arkts.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/quick-start/introduction-to-arkts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/quick-start/introduction-to-arkts.md b/en/application-dev/quick-start/introduction-to-arkts.md index b3bbd667152..97e9e06d595 100644 --- a/en/application-dev/quick-start/introduction-to-arkts.md +++ b/en/application-dev/quick-start/introduction-to-arkts.md @@ -1213,7 +1213,7 @@ by the single implementation constructor. class C { constructor() /* 1st signature */ constructor(x: string) /* 2nd signature */ - constructor(x?: string) { /* implementation signtaure */ + constructor(x?: string) { /* implementation signature */ console.log(x) } } -- Gitee From 5b8886c7c690b15de14d0794a2ff0306e68b7129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:49:47 +0000 Subject: [PATCH 30/48] update en/application-dev/reference/apis/js-apis-arkui-drawableDescriptor.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- .../reference/apis/js-apis-arkui-drawableDescriptor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/apis/js-apis-arkui-drawableDescriptor.md b/en/application-dev/reference/apis/js-apis-arkui-drawableDescriptor.md index 60a21b51554..945c5ff806b 100644 --- a/en/application-dev/reference/apis/js-apis-arkui-drawableDescriptor.md +++ b/en/application-dev/reference/apis/js-apis-arkui-drawableDescriptor.md @@ -31,7 +31,7 @@ Creates a **DrawableDescriptor** object when the passed resource ID or name belo Creates a **LayeredDrawableDescriptor** object when the passed resource ID or name belongs to a JSON file that contains foreground and background resources. -The content of the **drawble.json** file is as follows: +The content of the **drawable.json** file is as follows: ```json { -- Gitee From 22343e805a35eeb90b6d7980049bc798cc65d079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:51:40 +0000 Subject: [PATCH 31/48] update en/application-dev/reference/apis/js-apis-avsession.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/reference/apis/js-apis-avsession.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/apis/js-apis-avsession.md b/en/application-dev/reference/apis/js-apis-avsession.md index e03f438f967..3703bbdfb35 100644 --- a/en/application-dev/reference/apis/js-apis-avsession.md +++ b/en/application-dev/reference/apis/js-apis-avsession.md @@ -3874,7 +3874,7 @@ Enumerates the commands that can be sent by a cast controller. | playPrevious | string | Play the previous media asset. | | fastForward | string | Fast-forward. | | rewind | string | Rewind. | -| seek | numbder | Seek to a playback position.| +| seek | number | Seek to a playback position.| | setSpeed | number | Set the playback speed.| | setLoopMode | string | Set the loop mode.| | toggleFavorite | string | Favorite the media asset. | -- Gitee From 96d1b4c8e4471d24932e7f515e7e5092ebf9c562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:53:06 +0000 Subject: [PATCH 32/48] update en/application-dev/reference/apis/js-apis-bluetooth-ble.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/reference/apis/js-apis-bluetooth-ble.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/apis/js-apis-bluetooth-ble.md b/en/application-dev/reference/apis/js-apis-bluetooth-ble.md index 03c7b7eded3..f283d587024 100644 --- a/en/application-dev/reference/apis/js-apis-bluetooth-ble.md +++ b/en/application-dev/reference/apis/js-apis-bluetooth-ble.md @@ -609,7 +609,7 @@ let notifyCharacter = { }; try { gattServer.notifyCharacteristicChanged('XX:XX:XX:XX:XX:XX', notifyCharacter).then(() => { - console.info('notifyCharacteristicChanged promise successfull'); + console.info('notifyCharacteristicChanged promise successfully'); }); } catch (err) { console.error('errCode: ' + err.code + ', errMessage: ' + err.message); -- Gitee From 4da10b201c17fbdb6484f46878fd06556ec27dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:53:57 +0000 Subject: [PATCH 33/48] update en/application-dev/reference/apis/js-apis-bluetooth-socket.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/reference/apis/js-apis-bluetooth-socket.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/apis/js-apis-bluetooth-socket.md b/en/application-dev/reference/apis/js-apis-bluetooth-socket.md index 8ec8977df38..9d5f69907cf 100644 --- a/en/application-dev/reference/apis/js-apis-bluetooth-socket.md +++ b/en/application-dev/reference/apis/js-apis-bluetooth-socket.md @@ -133,7 +133,7 @@ Initiates an SPP connection to a remote device from the client. | Name | Type | Mandatory | Description | | -------- | --------------------------- | ---- | ------------------------------ | | deviceId | string | Yes | Address of the remote device, for example, XX:XX:XX:XX:XX:XX.| -| option | [SppOptions](#sppoptions) | Yes | SSP listensing configuration for the connection. | +| option | [SppOptions](#sppoptions) | Yes | SSP listening configuration for the connection. | | callback | AsyncCallback<number> | Yes | Callback invoked to return the client socket ID. | **Error codes** -- Gitee From 7b72af2eafcad15c2fa7134a677853d96406c9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:55:31 +0000 Subject: [PATCH 34/48] update en/application-dev/reference/apis/js-apis-freeInstall.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/reference/apis/js-apis-freeInstall.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/apis/js-apis-freeInstall.md b/en/application-dev/reference/apis/js-apis-freeInstall.md index eae0860a65e..cb0b234f69b 100644 --- a/en/application-dev/reference/apis/js-apis-freeInstall.md +++ b/en/application-dev/reference/apis/js-apis-freeInstall.md @@ -18,7 +18,7 @@ import freeInstall from '@ohos.bundle.freeInstall'; | Permission | Permission Level | Description | | ------------------------------------------ | ------------ | ------------------ | -| ohos.permission.GET_BUNDLE_INFO_PRIVILEGED | system_basic | Permission to query information about all aplications.| +| ohos.permission.GET_BUNDLE_INFO_PRIVILEGED | system_basic | Permission to query information about all applications.| | ohos.permission.INSTALL_BUNDLE | system_core | Permission to install or uninstall other applications except enterprise applications, including enterprise InHouse, mobile device management (MDM), and Normal applications. | For details, see [Permission Levels](../../security/accesstoken-overview.md#permission-levels). -- Gitee From 9334d70aa8a3660aa1b4133566ac20f9083f45bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:56:18 +0000 Subject: [PATCH 35/48] update en/application-dev/reference/apis/js-apis-secureElement.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/reference/apis/js-apis-secureElement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/apis/js-apis-secureElement.md b/en/application-dev/reference/apis/js-apis-secureElement.md index daa96f217bd..8fc05d76b10 100644 --- a/en/application-dev/reference/apis/js-apis-secureElement.md +++ b/en/application-dev/reference/apis/js-apis-secureElement.md @@ -108,7 +108,7 @@ try { } }); } catch (e) { - console.log("newSEService excpetion:" + e.message); + console.log("newSEService exception:" + e.message); } try { -- Gitee From a78d07a04d3bee2fb718be112e0576e59fa6c123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:57:31 +0000 Subject: [PATCH 36/48] update en/device-dev/kernel/kernel-mini-basic-ipc-mutex.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/kernel/kernel-mini-basic-ipc-mutex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/kernel/kernel-mini-basic-ipc-mutex.md b/en/device-dev/kernel/kernel-mini-basic-ipc-mutex.md index af163e60de4..0a43f9b9daa 100644 --- a/en/device-dev/kernel/kernel-mini-basic-ipc-mutex.md +++ b/en/device-dev/kernel/kernel-mini-basic-ipc-mutex.md @@ -72,7 +72,7 @@ This example implements the following: 3. **ExampleMutexTask1** applies for the mutex with a timeout period of 10 ticks. Because the mutex is still held by **ExampleMutexTask2**, **ExampleMutexTask1** is suspended. After 10 ticks, **ExampleMutexTask1** is woken up and starts to wait permanently for a mutex. **ExampleMutexTask1** is suspended because the mutex is still held by **ExampleMutexTask2**. -4. After 100 ticks, **ExampleMutexTask2** is woken up and releases the mutex, and **ExampleMutexTask1** is woken up. **ExampleMutexTask1** acquires the mutex and is executed. After the task is complte, **ExampleMutexTask1** releases the mutex. At last, the mutex is deleted. +4. After 100 ticks, **ExampleMutexTask2** is woken up and releases the mutex, and **ExampleMutexTask1** is woken up. **ExampleMutexTask1** acquires the mutex and is executed. After the task is complete, **ExampleMutexTask1** releases the mutex. At last, the mutex is deleted. ### Sample Code -- Gitee From d7c19088dc833b16c4b078f11c970bf3b95a9cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:58:24 +0000 Subject: [PATCH 37/48] update en/device-dev/kernel/kernel-small-debug-trace.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/kernel/kernel-small-debug-trace.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/kernel/kernel-small-debug-trace.md b/en/device-dev/kernel/kernel-small-debug-trace.md index 16831db5798..b390314fd28 100644 --- a/en/device-dev/kernel/kernel-small-debug-trace.md +++ b/en/device-dev/kernel/kernel-small-debug-trace.md @@ -157,7 +157,7 @@ The typical trace process is as follows: | LOSCFG_RECORDER_MODE_ONLINE | Trace work mode -> Online mode | Specifies whether to enable the offline trace mode.| YES/NO | | LOSCFG_TRACE_CLIENT_INTERACT | Enable Trace Client Visualization and Control | Enables interaction with Trace IDE (dev tools), including data visualization and process control.| YES/NO | | LOSCFG_TRACE_FRAME_CORE_MSG | Enable Record more extended content -> Record cpuid, hardware interrupt status, task lock status | Specifies whether to enable recording of the CPU ID, interruption state, and lock task state.| YES/NO | - | LOSCFG_TRACE_FRAME_EVENT_COUNT | Enable Record more extended content -> Record event count, which indicate the sequence of happend events | Specifies whether to enables recording of the event sequence number.| YES/NO | + | LOSCFG_TRACE_FRAME_EVENT_COUNT | Enable Record more extended content -> Record event count, which indicate the sequence of happened events | Specifies whether to enables recording of the event sequence number.| YES/NO | | LOSCFG_TRACE_FRAME_MAX_PARAMS | Record max params | Specifies the maximum number of parameters for event recording.| INT | | LOSCFG_TRACE_BUFFER_SIZE | Trace record buffer size | Specifies the trace buffer size.| INT | -- Gitee From e6fe5fe7221e08694054b80048b64fae3fc345bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 16:59:15 +0000 Subject: [PATCH 38/48] update en/readme/liteipc_driver.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/readme/liteipc_driver.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/readme/liteipc_driver.md b/en/readme/liteipc_driver.md index 8889fc24795..0e37a3728c3 100644 --- a/en/readme/liteipc_driver.md +++ b/en/readme/liteipc_driver.md @@ -92,7 +92,7 @@ LiteIPC includes utility functions for the kernel to manage the IPC system. `OsLiteIpcInit` initializes the IPC system and must be called before it can be used. `LiteIpcPoolReInit` creates and initializes the process control block IPC variables for a child process from its parent's process. Called by the kernel on the creation of child processes for basic initialization. `LiteIpcPoolDestroy` removes a process' IPC memory pool allocated by memory mapping and all the process' access rights. Also responsible for freeing memory, used for per-process IPC variables, which the system dynamically allocates the first time a process opens `LITEIPC_DRIVER`. Called by the kernel on process deletion for automatic memory and IPC resource management. -`LiteIpcRemoveServiceHandle` deregisters a service, clearing out the service task's message list and the list of processes with access rights to the service and sending death notification messages to any services with a set IPC task which had access. Death notification messages are only sent once, if there is an error in the send (**ENOMEM**) the recipient will not get the death notification. Death notification messages set target.token to the sevice handle of the service which terminated. Also responsible for freeing memory, used for per-task IPC variables, which the system dynamically allocates the first time a task sends a valid message or initiates a request including **RECV**. Called by the kernel on task deletion for automatic IPC resource management. +`LiteIpcRemoveServiceHandle` deregisters a service, clearing out the service task's message list and the list of processes with access rights to the service and sending death notification messages to any services with a set IPC task which had access. Death notification messages are only sent once, if there is an error in the send (**ENOMEM**) the recipient will not get the death notification. Death notification messages set target.token to the service handle of the service which terminated. Also responsible for freeing memory, used for per-task IPC variables, which the system dynamically allocates the first time a task sends a valid message or initiates a request including **RECV**. Called by the kernel on task deletion for automatic IPC resource management. ### Sample code 1. Initialization before we can use LiteIPC. -- Gitee From 4be862384c04ab91244a243ea8ab2cf5eda77326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 17:00:19 +0000 Subject: [PATCH 39/48] update en/application-dev/napi/mindspore-lite-guidelines.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/napi/mindspore-lite-guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/napi/mindspore-lite-guidelines.md b/en/application-dev/napi/mindspore-lite-guidelines.md index e175c3750b7..2ed44719010 100644 --- a/en/application-dev/napi/mindspore-lite-guidelines.md +++ b/en/application-dev/napi/mindspore-lite-guidelines.md @@ -259,7 +259,7 @@ The development process consists of the following main steps: dl ) ``` - - To use ohos-sdk for cross compilation, you need to set the native toolchain path for the CMake tool as follows: `-DCMAKE_TOOLCHAIN_FILE="/xxx/native/build/cmake/ohos.toolchain.camke"`. + - To use ohos-sdk for cross compilation, you need to set the native toolchain path for the CMake tool as follows: `-DCMAKE_TOOLCHAIN_FILE="/xxx/native/build/cmake/ohos.toolchain.cmake"`. - The toolchain builds a 64-bit application by default. To build a 32-bit application, add the following configuration: `-DOHOS_ARCH="armeabi-v7a"`. -- Gitee From 63e0c0630b1683fd82eb75944c7bf7a3b42df264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 17:01:14 +0000 Subject: [PATCH 40/48] update en/application-dev/notification/notification-with-wantagent.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/notification/notification-with-wantagent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/notification/notification-with-wantagent.md b/en/application-dev/notification/notification-with-wantagent.md index 3864db71c96..d90abfecc35 100644 --- a/en/application-dev/notification/notification-with-wantagent.md +++ b/en/application-dev/notification/notification-with-wantagent.md @@ -87,7 +87,7 @@ For details about the APIs, see [@ohos.app.ability.wantAgent](../reference/apis/ console.error(`Failed to get want agent. Code is ${err.code}, message is ${err.message}`); return; } - console.info('Succeeded in geting want agent.'); + console.info('Succeeded in getting want agent.'); wantAgentObj = data; }); ``` -- Gitee From 39b47ec5f3092802e0c335fe678826711f54bc4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 17:02:14 +0000 Subject: [PATCH 41/48] update en/device-dev/porting/porting-dayu200-on_standard-demo.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/porting/porting-dayu200-on_standard-demo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/porting/porting-dayu200-on_standard-demo.md b/en/device-dev/porting/porting-dayu200-on_standard-demo.md index 3cf6e1884fd..c4747c4519f 100644 --- a/en/device-dev/porting/porting-dayu200-on_standard-demo.md +++ b/en/device-dev/porting/porting-dayu200-on_standard-demo.md @@ -2766,7 +2766,7 @@ EAPOL: SUPP_PAE entering state AUTHENTIwCATING EAPOL: SUPP_BE enterilng state SUCCESS EAP: EAP ent_ering state DISABLED EAPOL: SUPP_PAE entering state AUTHENTICATED -EAPOL:n Supplicant port status: Authoorized +EAPOL:n Supplicant port status: Authorized EAPOL: SUPP_BE entertaining IDLE WifiWpaReceiveEapol donepleted - result=SUCCESS -- Gitee From ca180a1dd38b35508e71ebfa7db5d1313009e911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 17:03:16 +0000 Subject: [PATCH 42/48] update en/device-dev/subsystems/subsys-dfx-hitracemeter.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/subsystems/subsys-dfx-hitracemeter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/subsystems/subsys-dfx-hitracemeter.md b/en/device-dev/subsystems/subsys-dfx-hitracemeter.md index 28efbbb036a..b389af0f754 100644 --- a/en/device-dev/subsystems/subsys-dfx-hitracemeter.md +++ b/en/device-dev/subsystems/subsys-dfx-hitracemeter.md @@ -45,7 +45,7 @@ constexpr uint64_t HITRACE_TAG_ACE = (1ULL << 39); // ACE development framework constexpr uint64_t HITRACE_TAG_NOTIFICATION = (1ULL << 40); // Notification module tag. constexpr uint64_t HITRACE_TAG_MISC = (1ULL << 41); // Notification module tag. constexpr uint64_t HITRACE_TAG_MULTIMODALINPUT = (1ULL << 42); // Multi modal module tag. -constexpr uint64_t HITRACE_TAG_SENSORS = (1ULL << 43); // Sensors mudule tag. +constexpr uint64_t HITRACE_TAG_SENSORS = (1ULL << 43); // Sensors module tag. constexpr uint64_t HITRACE_TAG_MSDP = (1ULL << 44); // Multimodal Sensor Data Platform module tag. constexpr uint64_t HITRACE_TAG_DSOFTBUS = (1ULL << 45); // Distributed Softbus tag. constexpr uint64_t HITRACE_TAG_RPC = (1ULL << 46); // RPC and IPC tag. -- Gitee From 962d6d318f1ba8390384975c811e761a9f655406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 17:04:08 +0000 Subject: [PATCH 43/48] update en/device-dev/subsystems/subsys-security-huks-guide.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/device-dev/subsystems/subsys-security-huks-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/device-dev/subsystems/subsys-security-huks-guide.md b/en/device-dev/subsystems/subsys-security-huks-guide.md index d9cd48403f4..d3ca9e3d982 100644 --- a/en/device-dev/subsystems/subsys-security-huks-guide.md +++ b/en/device-dev/subsystems/subsys-security-huks-guide.md @@ -1054,7 +1054,7 @@ Generates a MAC based on the given key. Pointer to the parameters for generating the MAC.

const struct HuksBlob *srcData - Pointre to the source data for which the MAC is to be generated. + Pointer to the source data for which the MAC is to be generated.

struct HuksBlob *mac Pointer to the MAC generated. -- Gitee From f6342c375bad500c3ed3ab400d2c8ee699cfaa52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 17:05:30 +0000 Subject: [PATCH 44/48] update en/application-dev/reference/arkui-ts/ts-basic-components-plugincomponent.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- .../reference/arkui-ts/ts-basic-components-plugincomponent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-plugincomponent.md b/en/application-dev/reference/arkui-ts/ts-basic-components-plugincomponent.md index 1119b6bc2d0..0731bb9c731 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-plugincomponent.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-plugincomponent.md @@ -36,7 +36,7 @@ The [universal attributes](ts-universal-attributes-size.md) are supported, and * **NOTE** The template can be provided in either of the following modes: -* Use an absolute path. In this case, set **source** to the absolute path of the template and leave **bundleName** blank. This mode is not recommende as it is applicable only to standalone templates that do not need to load resources. +* Use an absolute path. In this case, set **source** to the absolute path of the template and leave **bundleName** blank. This mode is not recommended as it is applicable only to standalone templates that do not need to load resources. * Use an application package. In this case, set **bundleName** to the application bundle name and **source** to the relative path of the HAP file template. In the multi-HAP scenario, a HAP file is identified based on its relative path and name. Example: **{source: 'ets/pages/plugin.js&plugin', bundleName:'com.example.provider'}** -- Gitee From aebd3d4a2736b6e228ef0f148cfdbdf0d115fc96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 17:06:08 +0000 Subject: [PATCH 45/48] update en/application-dev/reference/arkui-ts/ts-container-flowitem.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/reference/arkui-ts/ts-container-flowitem.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/arkui-ts/ts-container-flowitem.md b/en/application-dev/reference/arkui-ts/ts-container-flowitem.md index 71a0bf73f8e..154f5cd5328 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-flowitem.md +++ b/en/application-dev/reference/arkui-ts/ts-container-flowitem.md @@ -19,7 +19,7 @@ This component supports only one child component. FlowItem() -Ceates a child component in the **\** layout. +Creates a child component in the **\** layout. ## Attributes -- Gitee From 62cd0dd3fe63fb46d78b79afc429d49b3d8f8bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 17:07:04 +0000 Subject: [PATCH 46/48] update en/application-dev/quick-start/typescript-to-arkts-migration-guide.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- .../quick-start/typescript-to-arkts-migration-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/quick-start/typescript-to-arkts-migration-guide.md b/en/application-dev/quick-start/typescript-to-arkts-migration-guide.md index eb3a47adb65..2be93eb5f2e 100644 --- a/en/application-dev/quick-start/typescript-to-arkts-migration-guide.md +++ b/en/application-dev/quick-start/typescript-to-arkts-migration-guide.md @@ -666,7 +666,7 @@ function fn(s: string): SomeObject { **Severity: error** -ArkTS does not allow having sevaral static blocks for class initialization. +ArkTS does not allow having several static blocks for class initialization. Combine static block statements into one static block. **TypeScript** -- Gitee From 1601778e4480f2c7d93a794c57cb19a61ddfd436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 17:07:59 +0000 Subject: [PATCH 47/48] update en/application-dev/quick-start/typescript-to-arkts-migration-guide.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- .../quick-start/typescript-to-arkts-migration-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/quick-start/typescript-to-arkts-migration-guide.md b/en/application-dev/quick-start/typescript-to-arkts-migration-guide.md index 2be93eb5f2e..663602a646a 100644 --- a/en/application-dev/quick-start/typescript-to-arkts-migration-guide.md +++ b/en/application-dev/quick-start/typescript-to-arkts-migration-guide.md @@ -3431,7 +3431,7 @@ MyNamespace.x = 2 **Severity: error** -ArkTS does not support statements in namespaces. Use a function to exectute +ArkTS does not support statements in namespaces. Use a function to execute statements. **TypeScript** -- Gitee From 51611e11a05523bf6b1ac9850d5c5b848ee87483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=94=BF?= Date: Thu, 24 Aug 2023 17:08:58 +0000 Subject: [PATCH 48/48] update en/application-dev/media/using-avsession-developer.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢政 --- en/application-dev/media/using-avsession-developer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/media/using-avsession-developer.md b/en/application-dev/media/using-avsession-developer.md index eef132d4930..43fcd98bdd1 100644 --- a/en/application-dev/media/using-avsession-developer.md +++ b/en/application-dev/media/using-avsession-developer.md @@ -189,7 +189,7 @@ To enable an audio and video application to access the AVSession service as a pr // It is assumed that an AVSession object has been created. For details about how to create an AVSession object, see the node snippet in step 1. let session: AVSessionManager.AVSession = ALREADY_CREATE_A_SESSION; let extras = { - extra : 'This is my custom meida packet' + extra : 'This is my custom media packet' } await session.setExtras(extras).then(() => { console.info(`Set extras successfully`); -- Gitee