From 350d248776bc85d7357b8688f130ce18ca66aa98 Mon Sep 17 00:00:00 2001 From: lollipopkit Date: Thu, 16 Mar 2023 12:35:27 +0800 Subject: [PATCH] Add `issue translate bot` --- .github/workflows/issue-translator.yml | 20 ++++++ README.md | 1 + README_zh.md | 91 ++++++++++++++++++++++++++ 3 files changed, 112 insertions(+) create mode 100644 .github/workflows/issue-translator.yml create mode 100644 README_zh.md diff --git a/.github/workflows/issue-translator.yml b/.github/workflows/issue-translator.yml new file mode 100644 index 00000000..0ad3b93c --- /dev/null +++ b/.github/workflows/issue-translator.yml @@ -0,0 +1,20 @@ +name: 'issue-translator' +on: + issue_comment: + types: [created] + issues: + types: [opened] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: usthe/issues-translate-action@v2.7 + with: + # not require, default false. + # Decide whether to modify the issue title. + # if true, the robot account @Issues-translate-bot must have modification permissions, invite @Issues-translate-bot to your project or use your custom bot. + IS_MODIFY_TITLE: false + # not require. + # Customize the translation robot prefix message. + CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿 \ No newline at end of file diff --git a/README.md b/README.md index 99aa6371..69f8e4b6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +English | [简体中文](README_zh.md)

Server Box

diff --git a/README_zh.md b/README_zh.md new file mode 100644 index 00000000..ffaf463d --- /dev/null +++ b/README_zh.md @@ -0,0 +1,91 @@ +简体中文 | [English](README.md) + +

+

Server Box

+

+ + +

+ + + + + + +

+ +

+ + + +

+ +

+使用Flutter开发的服务器工具箱,提供服务器状态图表和管理工具。 +
+特别感谢 dartssh2 & xterm.dart. +

+ + +## 🔖 特点 +- [x] 功能 + - [x] `SSH` 终端, `SFTP` + - [x] `Docker & 包` 管理器 + - [x] 状态图表 + - [x] `Ping` 和 更多 +- [x] 本地化 (英语, 中文) + - **欢迎贡献** :) + - [怎么贡献?](#l10n) +- [x] 桌面端支持 + +## 📱 截屏 + + + + + + + +
+ + + + + + + +
+ + + + + + + +
+ + + + + + + +
+ +## 🖥 平台 +状态|平台 +--- | --- +完整支持|Android/iOS +可能支持,未测试|macOS/Windows/Linux + +## l10n +1. Fork本项目,并Clone你Fork的项目至你的电脑 +2. 在 `lib/l10n/` 文件夹内创建 `.arb` 本地化文件 + - 文件名应该类似 `intl_XX.arb`, `XX` 是语言标识码。 例如 `intl_en.arb` 是给英语的, `intl_zh.arb` 是给中文的 +3. 向 `.arb` 本地化文件添加内容。 你可以查看 `intl_en.arb` 和 `intl_zh.arb` 的内容,并理解其含义,来创建新的本地化文件 +4. 运行 `flutter gen-l10n` 来生成所需文件 +5. Commit 变更到你的 Fork 的 Repo +6. 在我的项目中发起 Pull Request. + +## 📝 License +`GPL v3. lollipopkit 2023`