diff --git a/ArkUI/entry/src/main/ets/entryability/EntryAbilityForWindow.ets b/ArkUI/entry/src/main/ets/entryability/EntryAbilityForWindow.ets index d5c952e4df15e39ef52bb1cee072d263ac859214..a8684cfcd1d3d2090a4df8c4667c79429368770a 100644 --- a/ArkUI/entry/src/main/ets/entryability/EntryAbilityForWindow.ets +++ b/ArkUI/entry/src/main/ets/entryability/EntryAbilityForWindow.ets @@ -47,7 +47,7 @@ export default class EntryAbility extends UIAbility { //Get window properties let properties = windowClass.getWindowProperties(); let rect = properties.windowRect; - //rect.width: Window Width;rect.height: Window height + //rect.width: Window Width, rect.height: Window height } catch (exception) { console.error('Failed to obtain the window properties. Cause: ' + JSON.stringify(exception)); } diff --git a/ArkUI/entry/src/main/ets/pages/EnterProhibitedPromptPlanOne.ets b/ArkUI/entry/src/main/ets/pages/EnterProhibitedPromptPlanOne.ets index 8974e815ea0d5f3344505e2dee0f968670f3f1d2..978c1f46a83f2796d1742a801c7f08b3f9b50abf 100644 --- a/ArkUI/entry/src/main/ets/pages/EnterProhibitedPromptPlanOne.ets +++ b/ArkUI/entry/src/main/ets/pages/EnterProhibitedPromptPlanOne.ets @@ -24,7 +24,7 @@ struct TextAreaExample { @State text: string = 'TextArea editMenuOptions'; onCreateMenu(menuItems: Array) { - menuItems = menuItems.filter((item) => item.content !== '拍照输入'); // Can also choose to disable other menu options such as "Aelect All". + menuItems = menuItems.filter((item) => item.content !== 'Photo Input'); // Can also choose to disable other menu options such as "Aelect All". return menuItems; } diff --git a/ArkUI/entry/src/main/ets/pages/EnterProhibitedPromptPlanTwo.ets b/ArkUI/entry/src/main/ets/pages/EnterProhibitedPromptPlanTwo.ets index 895eba40a3f52ad17fdc068e98c2e31b31e2645d..27d56bb383729c7e25d8cf495a35f4d78673cf38 100644 --- a/ArkUI/entry/src/main/ets/pages/EnterProhibitedPromptPlanTwo.ets +++ b/ArkUI/entry/src/main/ets/pages/EnterProhibitedPromptPlanTwo.ets @@ -25,12 +25,12 @@ struct Index { build() { Column() { - Text(`输入的内容:${this.message}`) + Text(`The input content:${this.message}`) .margin({ top: 100, bottom: 30 }) - TextInput({ placeholder: '请输入内容' }) + TextInput({ placeholder: 'Please enter the content' }) .borderRadius(0) .onChange((value: string) => { this.message = value; diff --git a/ArkUI/entry/src/main/ets/pages/NotRespondToParentComponentOnTouch.ets b/ArkUI/entry/src/main/ets/pages/NotRespondToParentComponentOnTouch.ets index a63bcf311688117d6b459dd18ce0e14bded2a8c9..b76a8a9ed5341150508f37f609d4e74bad245105 100644 --- a/ArkUI/entry/src/main/ets/pages/NotRespondToParentComponentOnTouch.ets +++ b/ArkUI/entry/src/main/ets/pages/NotRespondToParentComponentOnTouch.ets @@ -25,7 +25,6 @@ struct Index { build() { Row() { Button('Click on me') - .width(100) .width(100) .backgroundColor('#f00') .onClick(() => { diff --git a/ArkUI/entry/src/main/ets/pages/SetWindowPrivacyModeInPage.ets b/ArkUI/entry/src/main/ets/pages/SetWindowPrivacyModeInPage.ets index 1f95bef18218adc9997c9623e7bf55fce804c765..2c9e738ab7d4ebb001d0883b670e4e0720a2845f 100644 --- a/ArkUI/entry/src/main/ets/pages/SetWindowPrivacyModeInPage.ets +++ b/ArkUI/entry/src/main/ets/pages/SetWindowPrivacyModeInPage.ets @@ -28,7 +28,7 @@ class windowUtils { lastWindow.setWindowPrivacyMode(isFlag, (err: BusinessError) => { const errCode: number = err.code; if (errCode) { - console.error('Failed to set the window to privacy mode. 1Cause:' + JSON.stringify(err)); + console.error('Failed to set the window to privacy mode. Cause:' + JSON.stringify(err)); return; } console.info('Succeeded in setting the window to privacy mode.');