Skip to content

Commit c04a1ee

Browse files
authored
Merge pull request #8 from Menghuan1918/dev
Dev
2 parents 929cb70 + 8d1114a commit c04a1ee

File tree

7 files changed

+60
-45
lines changed

7 files changed

+60
-45
lines changed

.github/workflows/python-app.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
name: Python application[Linux, Windows]
55

66
on:
7-
pull_request:
8-
branches: [ "master" ]
97
workflow_dispatch:
108

119
permissions:

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,13 @@ By default the configuration file is saved in `$HOME/.config/Smartinput/config`.
9292
>
9393
> Arch/Manjaro:`sudo pacman -S xclip`.
9494
95-
Download the packaged binary from [releases](https://github.com/Menghuan1918/Smartinput/releases), unzip the folder and run Refresh_Desktopfile.sh, which will automatically install it into the desktop launcher. To uninstall, run Refresh_Desktopfile.sh uninstall and delete the folder.
96-
Modify the configuration file program and it will work!
95+
Download the packaged binary from [releases](https://github.com/Menghuan1918/Smartinput/releases).The configuration file is automatically stored in `$HOME/.config/Smartinput/config` after the first run
96+
97+
## Linux
98+
Unzip and run `Refresh_Desktopfile.sh`, it will be automatically installed in the system desktop
99+
100+
## Windows
101+
Unzip and run `main.exe`
97102

98103
Or you can clone the source code to use it, please refer to:
99104

README_CN.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,13 @@ Smartinput
8989
>
9090
> Arch/Manjaro:`sudo pacman -S xclip`
9191
92-
[releases](https://github.com/Menghuan1918/Smartinput/releases)下载打包好的二进制文件,将文件夹解压并运行Refresh_Desktopfile.sh,其会自动安装到桌面启动项中。卸载请运行Refresh_Desktopfile.sh uninstall并删除文件夹。
93-
修改好配置文件程序后就能用了!
92+
[releases](https://github.com/Menghuan1918/Smartinput/releases)下载打包好的二进制文件,配置文件在首次运行后自动存放在`$HOME/.config/Smartinput/config`
93+
94+
## Linux
95+
解压后运行`Refresh_Desktopfile.sh`即可,会自动安装到系统桌面中
96+
97+
## Windows
98+
解压后运行`main.exe`即可
9499

95100
或者你也可以克隆源代码进行使用,请参照:
96101

translations.ts

Lines changed: 43 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,90 +4,114 @@
44
<context>
55
<name>TextSelectionMonitor</name>
66
<message>
7-
<location filename="main.py" line="86"/>
7+
<location filename="main.py" line="74"/>
8+
<source>Copy</source>
9+
<translation>复制</translation>
10+
</message>
11+
<message>
12+
<location filename="main.py" line="120"/>
813
<source>Text selection ON/OFF</source>
914
<translation>划线取词开关</translation>
1015
</message>
1116
<message>
12-
<location filename="main.py" line="91"/>
17+
<location filename="main.py" line="125"/>
1318
<source>Processing mode</source>
1419
<translation>处理模式</translation>
1520
</message>
1621
<message>
17-
<location filename="main.py" line="92"/>
22+
<location filename="main.py" line="126"/>
1823
<source>Pop-up confirmation</source>
1924
<translation>弹窗确认</translation>
2025
</message>
2126
<message>
22-
<location filename="main.py" line="95"/>
27+
<location filename="main.py" line="129"/>
2328
<source>Direct show</source>
2429
<translation>直接处理</translation>
2530
</message>
2631
<message>
27-
<location filename="main.py" line="103"/>
32+
<location filename="main.py" line="137"/>
2833
<source>Listening mode</source>
2934
<translation>监听模式</translation>
3035
</message>
3136
<message>
32-
<location filename="main.py" line="104"/>
37+
<location filename="main.py" line="138"/>
3338
<source>Mixed</source>
3439
<translation>混合</translation>
3540
</message>
3641
<message>
37-
<location filename="main.py" line="107"/>
42+
<location filename="main.py" line="141"/>
3843
<source>Clipboard</source>
3944
<translation>剪切板</translation>
4045
</message>
4146
<message>
42-
<location filename="main.py" line="110"/>
47+
<location filename="main.py" line="144"/>
4348
<source>Mouse Selection</source>
4449
<translation>鼠标选择文本</translation>
4550
</message>
4651
<message>
47-
<location filename="main.py" line="119"/>
52+
<location filename="main.py" line="153"/>
4853
<source>Response mode selection</source>
4954
<translation>响应模式选择</translation>
5055
</message>
5156
<message>
52-
<location filename="main.py" line="120"/>
57+
<location filename="main.py" line="154"/>
5358
<source>Intelligent parsing</source>
5459
<translation>智能解析</translation>
5560
</message>
5661
<message>
57-
<location filename="main.py" line="124"/>
62+
<location filename="main.py" line="158"/>
5863
<source>Translated text</source>
5964
<translation>文本翻译</translation>
6065
</message>
6166
<message>
62-
<location filename="main.py" line="128"/>
67+
<location filename="main.py" line="162"/>
6368
<source>Parse text</source>
6469
<translation>解析文本</translation>
6570
</message>
6671
<message>
67-
<location filename="main.py" line="138"/>
72+
<location filename="main.py" line="172"/>
6873
<source>Quit</source>
6974
<translation>退出</translation>
7075
</message>
7176
<message>
72-
<location filename="main.py" line="170"/>
77+
<location filename="main.py" line="202"/>
7378
<source>Turn on text selection</source>
7479
<translation>开启划线取词</translation>
7580
</message>
7681
<message>
77-
<location filename="main.py" line="172"/>
82+
<location filename="main.py" line="204"/>
7883
<source>Turn off text selection</source>
7984
<translation>关闭划线取词</translation>
8085
</message>
8186
<message>
82-
<location filename="main.py" line="227"/>
83-
<source>Process...Please wait</source>
84-
<translation>正在处理....请稍候</translation>
87+
<location filename="main.py" line="261"/>
88+
<source>Processing: Sending request...</source>
89+
<translation>正在处理:发送请求到API...</translation>
8590
</message>
8691
<message>
87-
<location filename="main.py" line="329"/>
92+
<location filename="main.py" line="282"/>
93+
<source>Processing: Normal</source>
94+
<translation>正在处理:一切正常</translation>
95+
</message>
96+
<message>
97+
<location filename="main.py" line="287"/>
98+
<source>API error</source>
99+
<translation>API异常</translation>
100+
</message>
101+
<message>
102+
<location filename="main.py" line="290"/>
103+
<source>Done</source>
104+
<translation>完成</translation>
105+
</message>
106+
<message>
107+
<location filename="main.py" line="297"/>
88108
<source>Copied to clipboard</source>
89109
<translation>已复制到剪切板</translation>
90110
</message>
111+
<message>
112+
<source>Process...Please wait</source>
113+
<translation type="vanished">正在处理....请稍候</translation>
114+
</message>
91115
<message>
92116
<source>Trun on text selection</source>
93117
<translation type="vanished">开启划线取词</translation>

translations_zh.qm

286 Bytes
Binary file not shown.

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.4C
1+
1.0.4D

whats_new

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,15 @@
1-
# 🪄Install
2-
The configuration file is automatically stored in `$HOME/.config/Smartinput/config` after the first run
3-
4-
## Linux
5-
Unzip and run `Refresh_Desktopfile.sh`, it will be automatically installed in the system desktop
6-
7-
## Windows
8-
Unzip and run `main.exe`
9-
101
# 🐛Bug fix
112
- Sometimes on wayland it can not catch clip
123
- Mouse pointer not in the correct position when outputting text
13-
- A dead-end loop that can cause a crash
4+
- A dead-end loop that can cause a crash(This is why V1.0.4B/C not exist)
145

156
# ✨ New feature
167
- Add a current status indicator prompt
178

18-
# 🪄安装
19-
配置文件在首次运行后自动存放在`$HOME/.config/Smartinput/config`中
20-
21-
## Linux
22-
解压后运行`Refresh_Desktopfile.sh`即可,会自动安装到系统桌面中
23-
24-
## Windows
25-
解压后运行`main.exe`即可
26-
279
# 🐛Bug修复
2810
- Wayland下有时候不能捕获剪切板
2911
- 在输出文本时鼠标指针没在正确的位置
12+
- 一个可能导致崩溃的死循环(这就是为什么V1.0.4B/C不存在的原因)
3013

3114
# ✨ 新特征
3215
- 添加了当前状态指示提示

0 commit comments

Comments
 (0)