Skip to content

Commit 01280a1

Browse files
committed
多语言优化和README开发
1 parent da83abc commit 01280a1

36 files changed

+395
-421
lines changed

README-CN.md

Lines changed: 0 additions & 91 deletions
This file was deleted.

README.md

Lines changed: 35 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,81 @@
11
# AigcPanel
22

3-
![](./screenshots/en/home.png)
3+
![](./screenshots/cn/home.png)
44

5-
## Guide
5+
## 软件介绍
66

7-
[中文文档](./README-CN.md)】 【[English](./README.md)
7+
`AigcPanel` 为简化模型本地调用面板工具,支持语音合成、语音克隆,一键导入和使用AI模型。
88

9-
`AigcPanel` is an all-in-one mobile phone connection assistant that can easily connect `Android` and computers. After connecting the phone, you can screen mirroring, GIF/MP4 screen recording, screenshots, file management, and phone operation.
9+
## 功能特性
1010

11-
## Features
11+
- 支持语音合成、语音克隆
12+
- 支持 cosyvoice 语音模型
13+
- 支持多模型导入、模型设置、模型启动停止、模型日志查看
14+
- 支持国际化,支持简体中文、英语
1215

13-
- multiple phone connect supported
14-
- screen mirroring, based on scrcpy, support phone operation
15-
- screenshot, image beautifier will be opened automatically after screenshot
16-
- GIF/MP4 screen recording
17-
- application management
18-
- file management, support upload/download/delete
19-
- shell command, support adb, screen command and phone shell command
20-
- 1i8n support, English/Simplified Chinese supported
16+
## 功能预览
2117

22-
## Previews
18+
### 语音克隆
2319

24-
### Screen mirroring
20+
![](./screenshots/cn/voice-clone.png)
2521

26-
![](./screenshots/en/mirror.png)
22+
### 语音合成
2723

28-
### Screen recording
24+
![](./screenshots/cn/voice-tts.png)
2925

30-
![](./screenshots/en/screenrecord.png)
26+
### 模型导入
3127

32-
### Screenshot
28+
![](./screenshots/cn/server-import.png)
3329

34-
![](./screenshots/en/screenshot.png)
30+
### 模型设置
3531

36-
### Command line
32+
![](./screenshots/cn/server-setting.png)
3733

38-
![](./screenshots/en/screenshot.png)
34+
### 模型日志
3935

40-
### App management
36+
![](./screenshots/cn/server-log.png)
4137

42-
![](./screenshots/en/appmanage.png)
38+
### 关于
4339

44-
## Get the app
40+
![](./screenshots/cn/about.png)
41+
42+
## 安装使用
4543

4644
### Windows
4745

48-
- download Windows installer from [https://aigcpanel.com](https://aigcpanel.com)
46+
- 访问 [https://aigcpanel.com](https://aigcpanel.com) 下载 Windows 安装包,一键安装即可
4947

5048
### MacOS
5149

52-
- download MacOS installer from [https://aigcpanel.com](https://aigcpanel.com)
53-
- install `scrcpy` manually, refer to [scrcpy tutorial](https://github.com/Genymobile/scrcpy)
54-
- [https://github.com/Genymobile/scrcpy/blob/master/doc/macos.md](https://github.com/Genymobile/scrcpy/blob/master/doc/macos.md)
50+
- 访问 [https://aigcpanel.com](https://aigcpanel.com) 下载 MacOS 安装包,一键安装完成;
5551

5652
### Linux
5753

58-
- download Linux installer from [https://aigcpanel.com](https://aigcpanel.com)
59-
- install `scrcpy` manually, refer to [scrcpy tutorial](https://github.com/Genymobile/scrcpy)
60-
- [https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md](https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md)
54+
- 访问 [https://aigcpanel.com](https://aigcpanel.com) 下载 Linux 安装包,一键安装完成;
55+
6156

62-
## We uses
57+
## 技术栈
6358

6459
- `electron`
6560
- `vue3`
6661
- `typescript`
6762

68-
## Development
63+
## 本地运行开发
6964

70-
> only node 20 tested
65+
> 仅在 node 20 测试过
7166
7267
```shell
73-
# install dependencies
68+
# 安装依赖
7469
npm install
75-
# run in dev mode
70+
# 调试运行
7671
npm run dev
77-
# build
72+
# 打包
7873
npm run build
7974
```
8075

81-
## Thanks
76+
## 本程序中使用到了以下开源项目,特此感谢
8277

83-
- [image-beautifier](https://github.com/CH563/image-beautifier)
84-
- [scrcpy](https://github.com/Genymobile/scrcpy)
85-
- [adb](https://developer.android.com/studio/command-line/adb)
86-
- [ffmpeg](https://ffmpeg.org/)
78+
- [CosyVoice](https://github.com/FunAudioLLM/CosyVoice)
8779

8880
## License
8981

changelog.md

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,3 @@
1-
## v0.0.12
2-
3-
- 优化:问题反馈链接直达反馈页面
4-
- 优化:配置页面逻辑功能优化
5-
- 修复:快捷键全局注册其他软件失效问题
6-
- 修复:命令执行返回结果为空时异常显示
7-
8-
## v0.0.11
9-
10-
- 新增:软件退出时,增加记住选择选项
11-
- 新增:英文截图配图
12-
- 优化:优化mac托盘图标显示
13-
14-
## v0.0.10
15-
16-
- 新增:断开网络设备端口功能,关闭adb打开的 5555 端口
17-
- 新增:已投屏设备再次点击投屏关闭投屏
18-
- 优化:投屏窗口取消置顶
19-
- 优化:用户头像功能显示
20-
21-
## v0.0.9
22-
23-
- 优化:设备操作按钮根据设备类型和状态显示调整
24-
25-
## v0.0.8
26-
27-
- 新增:增加设备连接向导功能
28-
- 新增:增加设备类型区分,USB 和 网络
29-
- 优化:多语言功能优化
30-
- 优化:adb 在软件关闭时不自动断开
31-
- 修复:投屏弹出多个成功提示框
32-
33-
## v0.0.7
34-
35-
- 新增: 增加设备置顶功能,便于排序
36-
- 新增:截图增加图片美化功能
37-
38-
## v0.0.6
39-
40-
- 优化:功能迭代
41-
42-
## v0.0.5
43-
44-
- 优化:功能迭代
45-
46-
## v0.0.4
47-
48-
- 优化:功能迭代
49-
50-
## v0.0.3
51-
52-
- 优化:功能迭代
53-
54-
## v0.0.2
55-
56-
- 优化:功能迭代
57-
581
## v0.0.1
592

603
- 优化:第一个正式版本发布

screenshots/cn/about.png

61 KB
Loading

screenshots/cn/appmanage.png

-59.4 KB
Binary file not shown.

screenshots/cn/home.png

-257 KB
Binary file not shown.

screenshots/cn/mirror.png

-74.1 KB
Binary file not shown.

screenshots/cn/screenrecord.png

-45.1 KB
Binary file not shown.

screenshots/cn/screenshot.png

-72.6 KB
Binary file not shown.

screenshots/cn/server-import.png

63.4 KB
Loading

screenshots/cn/server-log.png

122 KB
Loading

screenshots/cn/server-setting.png

54.9 KB
Loading

screenshots/cn/shell.png

-38.1 KB
Binary file not shown.

screenshots/cn/voice-clone.png

64 KB
Loading

screenshots/cn/vouce-tts.png

68.9 KB
Loading

screenshots/en/appmanage.png

-52.5 KB
Binary file not shown.

screenshots/en/home.png

-261 KB
Binary file not shown.

screenshots/en/mirror.png

-63.6 KB
Binary file not shown.

screenshots/en/screenrecord.png

-41.4 KB
Binary file not shown.

screenshots/en/screenshot.png

-71.9 KB
Binary file not shown.

screenshots/en/shell.png

-37.1 KB
Binary file not shown.

src/components/Server/ServerActionInfoDialog.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,56 +29,56 @@ defineExpose({
2929
<div>
3030
<div class="border rounded-lg p-3">
3131
<div class="flex mb-4">
32-
<div class="w-20">类型</div>
32+
<div class="w-20">{{$t('类型')}}</div>
3333
<div>
3434
<span v-if="record.type===EnumServerType.LOCAL">
3535
<i class="iconfont icon-desktop mr-1"></i>
36-
本地模型
36+
{{ $t('本地模型')}}
3737
</span>
3838
<span v-else-if="record.type===EnumServerType.REMOTE">
3939
<i class="iconfont icon-network mr-1"></i>
40-
远程模型
40+
{{ $t('远程模型')}}
4141
</span>
4242
</div>
4343
</div>
4444
<div class="flex mb-4">
45-
<div class="w-20">模型</div>
45+
<div class="w-20">{{ $t('模型')}}</div>
4646
<div>
4747
{{ props.record.title }}
4848
</div>
4949
</div>
5050
<div class="flex mb-4">
51-
<div class="w-20">版本</div>
51+
<div class="w-20">{{ $t('版本')}}</div>
5252
<div>
5353
<a-tag>
5454
v{{ props.record.version }}
5555
</a-tag>
5656
</div>
5757
</div>
5858
<div class="flex mb-4">
59-
<div class="w-20">功能</div>
59+
<div class="w-20">{{ $t('功能')}}</div>
6060
<div>
6161
<a-tag v-for="label in functionToLabels(record.functions)" class="mr-1">
6262
{{ label }}
6363
</a-tag>
6464
</div>
6565
</div>
6666
<div class="flex mb-4">
67-
<div class="w-20">标识</div>
67+
<div class="w-20">{{ $t('标识')}}</div>
6868
<div>
6969
<span class="mr-2 text-sm bg-gray-100 px-2 leading-6 inline-block rounded-lg">
7070
{{ props.record.name }}
7171
</span>
7272
</div>
7373
</div>
7474
<div class="flex mb-4">
75-
<div class="w-20">服务</div>
75+
<div class="w-20">{{$t('服务')}}</div>
7676
<div class="">
7777
<div v-if="props.record.runtime?.httpUrl" class="font-mono text-sm">
7878
{{ props.record.runtime?.httpUrl }}
7979
</div>
8080
<div v-else class="text-gray-400 text-sm">
81-
未启动
81+
{{ $t('未启动')}}
8282
</div>
8383
</div>
8484
</div>

src/components/Server/ServerActionSettingDialog.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {computed, ref, toRaw} from "vue";
44
import {useServerStore} from "../../store/modules/server";
55
import {Dialog} from "../../lib/dialog";
66
import {clone, cloneDeep} from "lodash-es";
7+
import {t} from "../../lang";
78
89
const serverStore = useServerStore()
910
const props = defineProps<{
@@ -32,7 +33,7 @@ const show = () => {
3233
3334
const doSubmit = async () => {
3435
await serverStore.updateSetting(props.record.key, cloneDeep(toRaw(setting.value)))
35-
Dialog.tipSuccess('设置成功')
36+
Dialog.tipSuccess(t('设置成功'))
3637
visible.value = false
3738
}
3839
@@ -56,21 +57,21 @@ defineExpose({
5657
</template>
5758
<div>
5859
<a-form :model="{}">
59-
<a-form-item field="port" label="服务端口">
60-
<a-input placeholder="留空会检测使用随机端口"
60+
<a-form-item field="port" :label="$t('服务端口')">
61+
<a-input :placeholder="$t('留空会检测使用随机端口')"
6162
:readonly="readonly"
6263
v-model="setting.port"/>
6364
</a-form-item>
64-
<a-form-item field="gpuMode" label="GPU模式">
65+
<a-form-item field="gpuMode" :label="$t('GPU模式')">
6566
<a-radio-group v-model="setting.gpuMode" :disabled="readonly">
6667
<a-radio value="">{{ $t('GPU优先') }}</a-radio>
6768
<a-radio value="cpu">{{ $t('使用CPU') }}</a-radio>
6869
</a-radio-group>
6970
</a-form-item>
70-
<a-form-item field="entryCommand" label="启动命令">
71+
<a-form-item field="entryCommand" :label="$t('启动命令')">
7172
<a-input v-model="setting.entryCommand"
7273
:readonly="readonly"
73-
placeholder="留空使用默认启动命令"/>
74+
:placeholder="$t('留空使用默认启动命令')"/>
7475
</a-form-item>
7576
</a-form>
7677
</div>

0 commit comments

Comments
 (0)