magpie-select-translate 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -65,6 +65,7 @@ helper 只在 magpie 启动插件时被拉起,magpie 不开它就不会常驻
65
65
 
66
66
  ## 更新
67
67
 
68
+ - 0.2.2:显示名改成包名 `magpie-select-translate`(`magpie.name` 之前是 "Select Translate",发现页卡片上看到的就是它)。
68
69
  - 0.2.1:修安全漏洞:本地接口拒绝带浏览器 `Origin` 的请求,写请求必须是 `application/json`;术语表只接收正文(`glossary`),不再按路径读本地文件。`package.json` 去掉 BOM。
69
70
  - 0.2.0:浮窗加了浅绿描边;正文改成整行取整、滚动条常驻,长译文不会再被切掉半行;顶部可以直接按住拖动(之前 `WM_NCHITTEST` 把屏幕坐标当客户区坐标用,拖不动);标题改父窗口自绘,修掉连续取词时的残影。
70
71
  - 0.1.1:设置页和 `magpie.summary` 补全,能被 magpie 的 Discover 展示。
package/bin/helper.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magpie-select-translate",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "划词翻译:选中文字按热键,鼠标旁浮窗流式显示 magpie 模型的译文。Select-to-translate popover for magpie: hit a hotkey on any selection and the translation streams next to your cursor.",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",
@@ -23,7 +23,7 @@
23
23
  "magpie": ">=0.1.1340"
24
24
  },
25
25
  "magpie": {
26
- "name": "Select Translate",
26
+ "name": "magpie-select-translate",
27
27
  "summary": {
28
28
  "en": "Select text anywhere and press a hotkey: a popover next to the cursor streams the translation from magpie's own models. Ships the Windows helper, so there is nothing else to install.",
29
29
  "zh": "在任意程序里选中文字按热键,鼠标旁的浮窗流式显示 magpie 模型的译文。包内自带 Windows helper,装上就能用。"