From 4aa44d17023f1a1e06a64d01d48a04e5bdc38c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=AC=C2=BF=C2=A1=C3=B6=C3=8E?= Date: Thu, 13 Mar 2025 21:00:18 +0800 Subject: [PATCH] add translation Signed-off-by: lujunxin --- README_en.md | 42 ++++++++++++++++++++++++++++++++++++++++++ README_zh.md | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 README_en.md diff --git a/README_en.md b/README_en.md new file mode 100644 index 0000000..20aa4de --- /dev/null +++ b/README_en.md @@ -0,0 +1,42 @@ +# applications_clock + +## Introduction +The clock application can implement hte stopwatch timing function and countdown function. +The clock application is developed using the extended TS language (ArkTS), and its main structure is as follows: +![](./figures/clock.png) +- **Product** + Business form layer:Business form layer: Distinguish different products, different screens of various forms of application, including personalized services, component configuration, and personalized resource packages. + +- **Feature** + Common Feature layer:An abstract collection of common feature components that can be referenced by various application forms, contains UI encapsulation components and logic controllers corresponding to the features. + +- **Common** + Common Capability Layer:Basic capability set, a module that every application form must rely on, including universal UI encapsulation components, utility classes, and universal resource packages. + +## Directory +### Directory structure +``` +/clock/ +├── common # Common capability level directory +├── feature # Public feature layer directory +│ ├── countdown # Countdown function directory +│ │ └── components # Countdown UI Package Component Catalog +│ │ └── controller # Countdown control logic directory +│ └── timer # Stopwatch function directory +│ └── components # Stopwatch UI Package Component Catalog +│ └── controller # Stopwatch control logic directory +├── product # Business form layer directory +``` +## Install +After the application is signed and packaged, run the hdc_std install "hap package address" command to install the application. +![](./figures/signature.png) +![](./figures/buildHap.png) +![](./figures/install.png) + +## Restraint +- Development environment + - **DevEco Studio for OpenHarmony**: The Version number is greater than 3.0.0.992, download and install OpenHarmony SDK API Version 9. (You can refer to the IDE documentation for initial IDE configuration.) +- Language version + - ArkTS +- Restrict + - This example only supports running on standard systems diff --git a/README_zh.md b/README_zh.md index 42227bc..14d0015 100644 --- a/README_zh.md +++ b/README_zh.md @@ -28,7 +28,7 @@ ├── product # 业务形态层目录 ``` ## 安装 -对应用完成签名,打包后,使用`hdc_std install "hap包地址"`命令进行安装 +对应用完成签名,打包后,使用`hdc_std install "hap包地址"`命令进行安装。 ![](./figures/signature.png) ![](./figures/buildHap.png) ![](./figures/install.png) -- Gitee