diff --git a/en/application-dev/application-dev-guide-for-gitee.md b/en/application-dev/application-dev-guide-for-gitee.md index dbd80bfe9b5007a348b52c0265d94615b68101c1..f8feba41ca0188ad32dbeda9fb8ccab415d1bffb 100644 --- a/en/application-dev/application-dev-guide-for-gitee.md +++ b/en/application-dev/application-dev-guide-for-gitee.md @@ -35,6 +35,7 @@ Then, equip yourself for developing the key features, with the following guideli - [Device Management](device/Readme-EN.md) - [Device Usage Statistics](device-usage-statistics/Readme-EN.md) - [DFX](dfx/Readme-EN.md) +- [Internationalization](internationalization/Readme-EN.md) ### Tools diff --git a/en/application-dev/application-dev-guide.md b/en/application-dev/application-dev-guide.md index b53d2c0f381ebad672f6923bd51eb6e3faf3c8e7..3a370ed4298fad9b4d9377f9616be6b7826aa66c 100644 --- a/en/application-dev/application-dev-guide.md +++ b/en/application-dev/application-dev-guide.md @@ -35,6 +35,7 @@ Then, equip yourself for developing the key features, with the following guideli - [Device](device/usb-overview.md) - [Device Usage Statistics](device-usage-statistics/device-usage-statistics-overview.md) - [DFX](dfx/hiappevent-overview.md) +- [Internationalization](internationalization/international-overview.md) ### Tools diff --git a/en/application-dev/application-dev-website.md b/en/application-dev/application-dev-website.md index 4629dd7637272fe583bed8f7f0fc677993bb1062..fd50f74a03e013051ceddb428d41c378ba1416d8 100644 --- a/en/application-dev/application-dev-website.md +++ b/en/application-dev/application-dev-website.md @@ -201,11 +201,8 @@ - Sensor - [Sensor Overview](device/sensor-overview.md) - [Sensor Development](device/sensor-guidelines.md) - - Sensor - - [Sensor Overview](device/sensor-overview.md) - - [Sensor Development](device/sensor-guidelines.md) - Vibrator - - [vibrator-Overview.md](device/vibrator-overview.md) + - [Vibrator Overview](device/vibrator-overview.md) - [Vibrator Development](device/vibrator-guidelines.md) - Device Usage Statistics - [Device Usage Statistics Overview](device-usage-statistics/device-usage-statistics-overview.md) diff --git a/en/application-dev/ui/figures/en-us_image_0000001222807756.png b/en/application-dev/ui/figures/en-us_image_0000001222807756.png index 0a44a65c48f7f334e5d77e400495d455dc1283d1..2782851bba344dd8afc82943603e52ab6b452e0a 100644 Binary files a/en/application-dev/ui/figures/en-us_image_0000001222807756.png and b/en/application-dev/ui/figures/en-us_image_0000001222807756.png differ diff --git a/en/application-dev/ui/figures/en-us_image_0000001222967780.png b/en/application-dev/ui/figures/en-us_image_0000001222967780.png index e42b6a7b9c128f9de2217c988fa34cd385742044..653da4be405165f59cbbe570e9d4d64747fa7495 100644 Binary files a/en/application-dev/ui/figures/en-us_image_0000001222967780.png and b/en/application-dev/ui/figures/en-us_image_0000001222967780.png differ diff --git a/en/application-dev/ui/figures/en-us_image_0000001267647841.png b/en/application-dev/ui/figures/en-us_image_0000001267647841.png index 89c8accb2a567d32f056cbbb1158c51f3baf013d..57d18b7b7d9333d85824623169fc2f3943568214 100644 Binary files a/en/application-dev/ui/figures/en-us_image_0000001267647841.png and b/en/application-dev/ui/figures/en-us_image_0000001267647841.png differ diff --git a/en/application-dev/ui/figures/en-us_image_0000001267647881.png b/en/application-dev/ui/figures/en-us_image_0000001267647881.png index 514bc6e8fcdab7ae01de64d16d92a0541954c458..a84303ae2d68affe3f5702317d9f2bf951c90698 100644 Binary files a/en/application-dev/ui/figures/en-us_image_0000001267647881.png and b/en/application-dev/ui/figures/en-us_image_0000001267647881.png differ diff --git a/en/application-dev/ui/figures/en-us_image_0000001267767845.png b/en/application-dev/ui/figures/en-us_image_0000001267767845.png index 411cc11b2ac16047c5e2c8a24b3d572b9e24f768..8c145a2fe59fef14f46b8da08c60b705d6fa366a 100644 Binary files a/en/application-dev/ui/figures/en-us_image_0000001267767845.png and b/en/application-dev/ui/figures/en-us_image_0000001267767845.png differ diff --git a/en/application-dev/ui/figures/en-us_image_0000001267887829.png b/en/application-dev/ui/figures/en-us_image_0000001267887829.png index 4487bdcb98a9b1f912be17041859d7a7a246f183..81f79df7d05de05704fdbe9565d4078e026efd60 100644 Binary files a/en/application-dev/ui/figures/en-us_image_0000001267887829.png and b/en/application-dev/ui/figures/en-us_image_0000001267887829.png differ diff --git a/en/application-dev/ui/ui-ts-components.md b/en/application-dev/ui/ui-ts-components.md index c6676800713d25a34656222a9704746c15a13737..402e9bec02f7f2360bfc496e3b6174dd5e81d0fe 100644 --- a/en/application-dev/ui/ui-ts-components.md +++ b/en/application-dev/ui/ui-ts-components.md @@ -42,7 +42,7 @@ When you create a system component, the default style is used. You can change th The attribute method must follow the component and be connected by the operator ".". You can also configure multiple attributes of the component in method chaining mode. - + ``` @Entry @Component @@ -62,7 +62,7 @@ When you create a system component, the default style is used. You can change th ![en-us_image_0000001267767845](figures/en-us_image_0000001267767845.png) 2. Change the display content of the component from Hello World to Tomato by modifying the constructor parameters of the component. - + ``` @Entry @Component diff --git a/en/application-dev/ui/ui-ts-creating-project.md b/en/application-dev/ui/ui-ts-creating-project.md index 97453c3fd1cbd7decac01ea704bb360c91d225bf..bb4d5d8abb252cd7b1795ae2a41916ab200f536c 100644 --- a/en/application-dev/ui/ui-ts-creating-project.md +++ b/en/application-dev/ui/ui-ts-creating-project.md @@ -62,6 +62,7 @@ Before creating a project, you need to install DevEco Studio. ![en-us_image_0000001222807756](figures/en-us_image_0000001222807756.png) 8. Install the application and run the application. Connect the device to the computer. After the IDE identifies the device, click Run'entry'. + ![en-us_image_0000001267607865](figures/en-us_image_0000001267607865.png) Before the installation, you must configure an application signature. For details, see Configuring the OpenHarmony App Signature. After the installation is complete, click the Run icon on the screen to open the application. Hello World is displayed in the center of the screen. diff --git a/en/application-dev/ui/ui-ts-creating-simple-page.md b/en/application-dev/ui/ui-ts-creating-simple-page.md index d9f6b4d27bb6644a6b49bf3168aca6d3b71d32b3..41163ac0a11a249d4adc17762bedcc0a70462e86 100644 --- a/en/application-dev/ui/ui-ts-creating-simple-page.md +++ b/en/application-dev/ui/ui-ts-creating-simple-page.md @@ -434,6 +434,7 @@ You can use the Flex layout to build a food composition table. In this way you d ``` 5. Use the custom constructor @Builder to simplify the code. It can be found that the food groups in each food composition table are actually of the same UI structure. + ![en-us_image_0000001223287704](figures/en-us_image_0000001223287704.png) Currently, all food groups are declared, resulting in code duplication and redundancy. You can use @Builder to build a custom method and abstract the same UI structure declaration. The @Builder decorated method and the build method for the @Component decorated component are used to declare some UI rendering structures and comply with the same eTS syntax. You can define one or more methods decorated by @Builder, but a component decorated by @Component can have only one build method. @@ -539,15 +540,3 @@ You can use the Flex layout to build a food composition table. In this way you d ![en-us_image_0000001222807792](figures/en-us_image_0000001222807792.png) You've learned how to build a simple food details page. Read on to learn how to define the page layout and connection. - -## Samples - -The following sample is provided to help you better understand how to use build a simple page: - -- [eTSBuildCommonView](https://gitee.com/openharmony/app_samples/tree/master/ETSUI/eTSBuildCommonView) - - This sample shows how to build a common view to display the picture of tomatoes and nutrition information, with the stack layout and flex layout. - - ``` - - ``` \ No newline at end of file diff --git a/en/application-dev/ui/ui-ts-page-redirection-data-transmission.md b/en/application-dev/ui/ui-ts-page-redirection-data-transmission.md index 5e53938c4309821a6bd547f4b967bfe2b16dad2a..f65db6474acbd9d2e48ddc2bde718fe26adbaeb4 100644 --- a/en/application-dev/ui/ui-ts-page-redirection-data-transmission.md +++ b/en/application-dev/ui/ui-ts-page-redirection-data-transmission.md @@ -272,11 +272,3 @@ We have implemented the redirection and going back of the FoodCategoryList and F } } ``` - -## Samples - -The following sample is provided to help you better understand how to define the page layout and connection: - -- [eTSDefiningPageLayoutAndConnection](https://gitee.com/openharmony/app_samples/tree/master/ETSUI/eTSDefiningPageLayoutAndConnection) - - This sample exemplifies the basic usage of the list layout, grid layout, and page routing, by building the food list page and food details page. diff --git a/en/application-dev/website.md b/en/application-dev/website.md index b86a027ce7c000a48b1961302075b2ac93ec0c48..cdaec3f1ee936b747bd54e2571218eb2a83b607f 100644 --- a/en/application-dev/website.md +++ b/en/application-dev/website.md @@ -201,11 +201,8 @@ - Sensor - [Sensor Overview](device/sensor-overview.md) - [Sensor Development](device/sensor-guidelines.md) - - Sensor - - [Sensor Overview](device/sensor-overview.md) - - [Sensor Development](device/sensor-guidelines.md) - Vibrator - - [vibrator-Overview.md](device/vibrator-overview.md) + - [Vibrator Overview](device/vibrator-overview.md) - [Vibrator Development](device/vibrator-guidelines.md) - Device Usage Statistics - [Device Usage Statistics Overview](device-usage-statistics/device-usage-statistics-overview.md) diff --git a/zh-cn/application-dev/application-dev-guide-for-gitee.md b/zh-cn/application-dev/application-dev-guide-for-gitee.md index facd671a688fe1654e79fb2122ce3ee85f8e1788..52c978dcf3379b89157f3c6fc417da189d8cc5df 100644 --- a/zh-cn/application-dev/application-dev-guide-for-gitee.md +++ b/zh-cn/application-dev/application-dev-guide-for-gitee.md @@ -35,6 +35,7 @@ - [设备管理](device/Readme-CN.md) - [设备使用信息统计](device-usage-statistics/Readme-CN.md) - [DFX](dfx/Readme-CN.md) +- [国际化](internationalization/Readme-CN.md) ### 工具 diff --git a/zh-cn/application-dev/application-dev-guide.md b/zh-cn/application-dev/application-dev-guide.md index be4e58ff0be60add17a2d705061e2f53b95685e8..276c6798c97337b6f9e7ccb5ab7bcd7d21a6cad5 100644 --- a/zh-cn/application-dev/application-dev-guide.md +++ b/zh-cn/application-dev/application-dev-guide.md @@ -35,6 +35,7 @@ - [设备管理](device/usb-overview.md) - [设备使用信息统计](device-usage-statistics/device-usage-statistics-overview.md) - [DFX](dfx/hiappevent-overview.md) +- [国际化](internationalization/international-overview.md) ### 工具 diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001158896538.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001158896538.png index 89c8accb2a567d32f056cbbb1158c51f3baf013d..57d18b7b7d9333d85824623169fc2f3943568214 100644 Binary files a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001158896538.png and b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001158896538.png differ diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001168728272.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001168728272.png index 411cc11b2ac16047c5e2c8a24b3d572b9e24f768..8c145a2fe59fef14f46b8da08c60b705d6fa366a 100644 Binary files a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001168728272.png and b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001168728272.png differ diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001168888224.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001168888224.png index 4487bdcb98a9b1f912be17041859d7a7a246f183..81f79df7d05de05704fdbe9565d4078e026efd60 100644 Binary files a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001168888224.png and b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001168888224.png differ diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001204538065.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001204538065.png index 514bc6e8fcdab7ae01de64d16d92a0541954c458..a84303ae2d68affe3f5702317d9f2bf951c90698 100644 Binary files a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001204538065.png and b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001204538065.png differ diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001214128687.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001214128687.png index e42b6a7b9c128f9de2217c988fa34cd385742044..653da4be405165f59cbbe570e9d4d64747fa7495 100644 Binary files a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001214128687.png and b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001214128687.png differ diff --git a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001214595111.png b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001214595111.png index 0a44a65c48f7f334e5d77e400495d455dc1283d1..2782851bba344dd8afc82943603e52ab6b452e0a 100644 Binary files a/zh-cn/application-dev/ui/figures/zh-cn_image_0000001214595111.png and b/zh-cn/application-dev/ui/figures/zh-cn_image_0000001214595111.png differ diff --git a/zh-cn/application-dev/ui/ui-ts-building-data-model.md b/zh-cn/application-dev/ui/ui-ts-building-data-model.md index 5cf7431456f7c42d92a05d2c3417bed5072d71b9..4043e160d484f6d3f3586348e7779b4bc6bc87bb 100644 --- a/zh-cn/application-dev/ui/ui-ts-building-data-model.md +++ b/zh-cn/application-dev/ui/ui-ts-building-data-model.md @@ -7,6 +7,7 @@ 1. 新建model文件夹,在model目录下创建FoodData.ets。 + ![zh-cn_image_0000001195119619](figures/zh-cn_image_0000001195119619.png) 2. 定义食物数据的存储模型FoodData和枚举变量Category,FoodData类包含食物id、名称(name)、分类(category)、图片(image)、热量(calories)、蛋白质(protein)、脂肪(fat)、碳水(carbohydrates)和维生素C(vitaminC)属性。