Skip to content

Commit

Permalink
New version: 0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Borber committed Mar 1, 2024
1 parent a3e017e commit ff8b473
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## [0.2.6]

- 支持固定时双击选词翻译
- 托盘菜单模式选项显示当前模式
- ![tran-mode](https://cdn.jsdelivr.net/gh/Borber/PublicPic1/tran/v1/tran-mode.png)

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
- 选中文本之后, 快速按下快捷键 `CapsLock`**两次**. 你可以通过点击其他地方使 `Tran` 失去焦点, 自动关闭
- 双击 CapsLock. 我知道这可能会一些非常出色的工具产生不可调和的快捷键冲突, 在此提前抱歉.
- 多次翻译
- 在单次翻译之后, 拖动翻译面板, 使 `Tran` 自动固定
- 固定面板后, 依次选中其它文本 `Tran` 将自动翻译, 无需按快捷键
- 在单次翻译之后, 拖动翻译面板, 使 `Tran` 固定
- 固定面板后, 双击单词或选中长文本 `Tran` 将自动翻译
- 选中面板, 按 `Esc` 键关闭
- 复制译文
- 双击翻译结果即可将译文到剪切板
Expand Down Expand Up @@ -105,6 +105,8 @@

vercel proxy google translate

- 仅消耗流量, 不消耗函数运行次数

[![vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/Borber/v2g)

> 因 vercel 默认域名无法直接访问, 如果您没有域名,可以提 issue , 我将提供域名供您绑定。
Expand Down
6 changes: 4 additions & 2 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ If you are a Chinese user but need to read in English, you can choose the instal
- single translation
- After selecting the text, quickly press the `CapsLock` key **twice**. You can make `Tran` lose focus and close automatically by clicking elsewhere.
- Multiple translations
- After a single translation, drag the translation panel to make `Tran` automatically fixed
- After fixing the panel, select other texts in turn and `Tran` will be automatically translated without pressing shortcut keys.
- After a single translation, drag the translation panel to make `Tran` fixed
- After pinning the panel, double-click a word or select long text `Tran` will be automatically translated
- Double-click the translation result to save the translation to the clipboard

## Recommend
Expand Down Expand Up @@ -102,6 +102,8 @@ More mirrors can support more people, so you are encouraged to create mirrors.

vercel proxy google translate

- Only consumes traffic, not the number of function runs

[![vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/Borber/v2g)

> Because the default domain name of vercel cannot be directly accessed in China, if you do not have a domain name, you can raise an issue and I will provide a domain name for you to bind.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tran",
"version": "0.2.5",
"version": "0.2.6",
"description": "简洁, 快速, 划词翻译",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tran"
version = "0.2.5"
version = "0.2.6"
description = "Tran translate the selected words"
authors = ["Borber"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"productName": "Tran",
"version": "0.2.5",
"version": "0.2.6",
"identifier": "com.borber.tran",
"build": {
"beforeDevCommand": "pnpm dev",
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const App = () => {
await fetch("https://key.borber.top/TRAN_VERSION").then(
async (resp) => {
const version = await resp.text()
Update(version != "0.2.5")
Update(version != "0.2.6")
}
)
})
Expand Down

0 comments on commit ff8b473

Please sign in to comment.