From 19a96a767cb492466d289352e858cb54c1b9051e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E4=BA=91=E9=BE=99?= Date: Fri, 30 Aug 2024 10:11:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 36 ------------------- .../main/ets/constants/CommonConstants.ets | 2 +- .../main/resources/base/element/string.json | 4 +++ .../main/resources/en_US/element/string.json | 4 +++ .../main/resources/zh_CN/element/string.json | 4 +++ 5 files changed, 13 insertions(+), 37 deletions(-) delete mode 100644 README.en.md diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 51cff91..0000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# Multi_device - -#### Description -{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/common/src/main/ets/constants/CommonConstants.ets b/common/src/main/ets/constants/CommonConstants.ets index 083f7ee..2775bfb 100644 --- a/common/src/main/ets/constants/CommonConstants.ets +++ b/common/src/main/ets/constants/CommonConstants.ets @@ -125,7 +125,7 @@ export class CommonConstants { /** * Constant for search text */ - static readonly SEARCH_TEXT: string = '搜索...'; + static readonly SEARCH_TEXT: Resource = $r('app.string.search'); /** * Constant for font weight diff --git a/common/src/main/resources/base/element/string.json b/common/src/main/resources/base/element/string.json index 1e76de0..99faa1c 100644 --- a/common/src/main/resources/base/element/string.json +++ b/common/src/main/resources/base/element/string.json @@ -3,6 +3,10 @@ { "name": "page_show", "value": "page from npm package" + }, + { + "name": "search", + "value": "search..." } ] } diff --git a/common/src/main/resources/en_US/element/string.json b/common/src/main/resources/en_US/element/string.json index 1e76de0..99faa1c 100644 --- a/common/src/main/resources/en_US/element/string.json +++ b/common/src/main/resources/en_US/element/string.json @@ -3,6 +3,10 @@ { "name": "page_show", "value": "page from npm package" + }, + { + "name": "search", + "value": "search..." } ] } diff --git a/common/src/main/resources/zh_CN/element/string.json b/common/src/main/resources/zh_CN/element/string.json index 1e76de0..800eb77 100644 --- a/common/src/main/resources/zh_CN/element/string.json +++ b/common/src/main/resources/zh_CN/element/string.json @@ -3,6 +3,10 @@ { "name": "page_show", "value": "page from npm package" + }, + { + "name": "search", + "value": "搜索..." } ] } -- Gitee