mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
Add issue translate bot
This commit is contained in:
20
.github/workflows/issue-translator.yml
vendored
Normal file
20
.github/workflows/issue-translator.yml
vendored
Normal file
@@ -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. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
|
||||
@@ -1,3 +1,4 @@
|
||||
English | [简体中文](README_zh.md)
|
||||
<!-- Title-->
|
||||
<p align="center">
|
||||
<h1 align="center">Server Box</h1>
|
||||
|
||||
91
README_zh.md
Normal file
91
README_zh.md
Normal file
@@ -0,0 +1,91 @@
|
||||
简体中文 | [English](README.md)
|
||||
<!-- Title-->
|
||||
<p align="center">
|
||||
<h1 align="center">Server Box</h1>
|
||||
</p>
|
||||
|
||||
<!-- Badges-->
|
||||
<p align="center">
|
||||
<a href="https://apps.apple.com/app/id1586449703">
|
||||
<img style="height: 37px" src="screenshots/appstore.svg">
|
||||
</a>
|
||||
<a href="https://github.com/lollipopkit/flutter_server_box/releases/latest">
|
||||
<img style="height: 37px" src="screenshots/dl-android.svg">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://count.ly/f/badge" rel="nofollow">
|
||||
<img style="height: 37px" src="https://count.ly/badges/light.svg">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
使用Flutter开发的服务器工具箱,提供服务器状态图表和管理工具。
|
||||
<br>
|
||||
特别感谢 <a href="https://github.com/TerminalStudio/dartssh2">dartssh2</a> & <a href="https://github.com/TerminalStudio/xterm.dart">xterm.dart</a>.
|
||||
</p>
|
||||
|
||||
|
||||
## 🔖 特点
|
||||
- [x] 功能
|
||||
- [x] `SSH` 终端, `SFTP`
|
||||
- [x] `Docker & 包` 管理器
|
||||
- [x] 状态图表
|
||||
- [x] `Ping` 和 更多
|
||||
- [x] 本地化 (英语, 中文)
|
||||
- **欢迎贡献** :)
|
||||
- [怎么贡献?](#l10n)
|
||||
- [x] 桌面端支持
|
||||
|
||||
## 📱 截屏
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img width="200px" src="screenshots/server.jpg">
|
||||
</td>
|
||||
<td>
|
||||
<img width="200px" src="screenshots/detail.jpg">
|
||||
</td>
|
||||
<td>
|
||||
<img width="200px" src="screenshots/ssh.jpg">
|
||||
</td>
|
||||
<td>
|
||||
<img width="200px" src="screenshots/apt.png">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img width="200px" src="screenshots/ping.png">
|
||||
</td>
|
||||
<td>
|
||||
<img width="200px" src="screenshots/sftp.jpg">
|
||||
</td>
|
||||
<td>
|
||||
<img width="200px" src="screenshots/docker.jpg">
|
||||
</td>
|
||||
<td>
|
||||
<img width="200px" src="screenshots/convert.png">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## 🖥 平台
|
||||
状态|平台
|
||||
--- | ---
|
||||
完整支持|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`
|
||||
Reference in New Issue
Block a user