Skip to content

Commit de423a9

Browse files
committed
0.5.1
1 parent 069da6d commit de423a9

File tree

3 files changed

+11
-21
lines changed

3 files changed

+11
-21
lines changed

CHANGELOG

+7-17
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
1-
## 0.5.0 (2023-06-01)
2-
3-
### BREAK:
4-
5-
- 本次更新有语言代码变动,手动设置一次目标语言即可正常使用。
1+
## 0.5.1 (2023-06-04)
62

73
### New feature:
84

9-
- 添加应用多语言支持 (#177)([`05d5c55`](https://github.com/pot-app/pot-desktop/commit/05d5c5576f06784b82d25c885325cbe06792ffa4)) (by 派了个萌)
5+
- Add Youdao translate (#180)([`3bd240c`](https://github.com/pot-app/pot-desktop/commit/3bd240cdfb70fabf25eb9d50d0ddf6368167de12)) (by @Pylogmon)
6+
- Traditional Chinese support (#179)([`24f801f`](https://github.com/pot-app/pot-desktop/commit/24f801fa959e7e7b585720055288c0b25a930d37)) (by @bestpika)
107

118
### Bugs fixed:
129

13-
- 多屏幕窗口边界问题 (#176)([`5109b84`](https://github.com/pot-app/pot-desktop/commit/5109b843e1162d52ba4ad06e549ac6ceb4a4ef38)) (by AlphaBoom)
14-
- 修复部分情况下自动删除换行无效([`bd3bd5b`](https://github.com/pot-app/pot-desktop/commit/bd3bd5be13889e37cfe4638db68e365800d34ec6)) (by 派了个萌)
10+
- Fix missing language in DeepL (#183)([`1ef997b`](https://github.com/pot-app/pot-desktop/commit/1ef997b152bf73c305c24e920b9505441f301116)) (by @Pylogmon)
1511

16-
---
17-
18-
### New feature:
19-
20-
- Add multi-language support for the application. (#177)([`05d5c55`](https://github.com/pot-app/pot-desktop/commit/05d5c5576f06784b82d25c885325cbe06792ffa4)) (by 派了个萌)
21-
22-
### Bugs fixed:
12+
### Performance improves:
2313

24-
- Multi-screen window boundary issues (#176)([`5109b84`](https://github.com/pot-app/pot-desktop/commit/5109b843e1162d52ba4ad06e549ac6ceb4a4ef38)) (by AlphaBoom)
25-
- Fixed some cases of automatic deletion of line breaks invalid ([`bd3bd5b`](https://github.com/pot-app/pot-desktop/commit/bd3bd5be13889e37cfe4638db68e365800d34ec6)) (by 派了个萌)
14+
- Optimize Windows get selection text([`069da6d`](https://github.com/pot-app/pot-desktop/commit/069da6d97aaa37a23ed6cbad12213baf3e21ca76)) (by @Pylogmon)
15+
- Debounce for resize event([`06a11de`](https://github.com/pot-app/pot-desktop/commit/06a11de12ac0a644beedfbf93c3e1d9531493ad7)) (by @Pylogmon)

src-tauri/tauri.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"package": {
1010
"productName": "pot",
11-
"version": "0.5.0"
11+
"version": "0.5.1"
1212
},
1313
"tauri": {
1414
"allowlist": {

src/windows/main.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ export function get(key) {
3434
return config[key];
3535
}
3636

37-
// document.addEventListener('contextmenu', (e) => {
38-
// e.preventDefault();
39-
// });
37+
document.addEventListener('contextmenu', (e) => {
38+
e.preventDefault();
39+
});
4040
document.addEventListener('keydown', async (e) => {
4141
let allowKeys = ['c', 'v', 'x', 'a'];
4242
if (e.ctrlKey && !allowKeys.includes(e.key.toLowerCase())) {

0 commit comments

Comments
 (0)