Giter VIP home page Giter VIP logo

weel-translate's People

Contributors

wallenweel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

weel-translate's Issues

能不能设置一个快捷键弹出翻译界面?

有几个建议,不知实现起来方便不:
1、网页中翻译快捷键
比如选中单词的时候(或者之后),按下某个按键就能弹出翻译的窗口。选中任何单词都弹出小按钮是很方便,但是也是一种干扰,因为有时候只是极个别的词不认识,更多的时候双击选中单词只是为了复制......
2、工具栏翻译界面
目前是ctrl+enter的方式翻译,可否加各设置改成输完就翻译呢,或者回车就翻译。这种翻译换行的作用不是很常用吧。(或者有其他方面的考虑?)
3、工具栏上的图标不太美好啊~~

增加&优化内置的翻译源配置

因为过去使用的翻译源(百度、有道)已经全面变动了相关接口,重新寻找调校都很花功夫,目前对大陆地区效果最好的还是 Google **,希望在后续更新中情况能有所好转。

能支持划词翻译吗?

使用体验很好,插件非常美观,实用性很强,已经爱上了这款插件。
但是现在只能翻译句子,感觉很不方便,能增加划词翻译的选项吗?

Build at different directory path can't get same hash data of output's files

I spent more than ten hours for this issue, but can not resolve it. only things I knew is the reasons are related to uglifyjs plugin, babel shims and "import" some modules declared types from node_modules in typescript.

Now I use "modern" mode of vue-cli supplied to generate two types bundles, fortunately all problem codes are bundle into the legacy mode files, and I could ruled out them.

避免网页样式对 浮动面板/按钮 的影响

当前做法是将注入的内容放在一个div容器内,然后对这个容器和所有子元素添加 all: initial 来重置所有样式。

问题

  • 需要手动重新为元素还原浏览器默认的样式
  • 如果网页中存在优先级更高的样式规则,依然会被影响

可能方法

  • all: initial !important 来加增加权重,但是需要写的所有样式也都带上 !important 很繁琐
  • 使用自定义元素,不用可能会被选择器选中的元素和类名或属性

使用右键菜单后页面浮动面板不会消失

首先,在新的标签页直接右键翻译是不行的,得先选择一个词
选择一个词后右键翻译或者浮动按钮翻译,正常
然后取消选择单词,再使用右键翻译,这时弹出浮动面板,翻译的是刚刚选择的词,然后浮动面板就无法消失了。。。得另外选词或者刷新页面

Firefox 58.0b13 Windows 10 1709

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.