Coder Social home page Coder Social logo

chunibyocola / sc-translator-crx Goto Github PK

View Code? Open in Web Editor NEW
399.0 399.0 37.0 2.78 MB

Focus on providing a great inline web translation experience.

License: GNU General Public License v3.0

HTML 0.17% CSS 7.53% JavaScript 1.65% TypeScript 90.65%
chrome-extension custom-translate-source extension firefox-addon page-translation react separate-translate-window translation translation-collection

sc-translator-crx's People

Contributors

chunibyocola 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  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  avatar  avatar  avatar

sc-translator-crx's Issues

希望简化下网页翻译步骤

  1. 每次网页翻译都要点击右键网页翻译,然后点击翻译,然后点击切换译文,感觉太过繁琐了,
    希望能提供设置选项,右键点击后能直接翻译,以及隐藏右下角的控制栏的选项。

  2. 关于独立窗口,如图,这个控制栏希望能去掉,LOGO和上方冲突,皮肤和设置按钮没必要在这添加入口,希望您考虑下,万分感谢!
    32_44

Extension's bage can not be updated in Chromium v91

With erroes:

Unchecked runtime.lastError: Tabs cannot be queried right now (user may be dragging a tab).
Error handling response: TypeError: Cannot read property '0' of undefined at <URL>

It seems like in Chromium v91, queryTabs is no more supported in onActivated of tab life cycle.

Please don't upgrade to "2.4.0" in chrome extension store

I didn't try to drag the translate panel after I update to [email protected]. And I find that it makes the panel undraggable. This is my oversight. The document.onmouseup not triggered due to some unknown reason. I can't cancel the review in chrome store. All I can do is wait for the review to be completed before releasing a new version 2.4.1. Sorry about that.

希望增加火山翻译,腾讯翻译等

主要用网页全文翻译建议新增右键菜单而不是点图标全文翻译主要不方便

目前支持谷歌和微软

自定义网页翻译源实在是看不懂怎么设置

希望能增加像划词翻译一样的还想要其他的翻译

剪切板

剪切板打开时默认大小希望可以调整

设置备份选项

请问能否提供将设置备份或导入至文件或者onedrive的选项?
可以参考油猴插件设置备份的功能

网页翻译建议

非常好用的拓展😊,有下面建议

  1. 这个页面举例https://www.npmjs.com/package/jotai,有一些不用翻译,比如版本号(全数字),代码片段.
  2. 对照翻译翻译后的文本增加一个标识,比如一个虚线框.
  3. 点击拓展图标弹出框添加网页翻译按钮

Failed connection to translation service providers.

Thank you for your addon. It is very useful and promising. But one bug is persistent. That is , failed connection with translation service providers. Sometimes it is Google Translater as shown by the image below. Sometimes it is Bing Translator. Sometimes both. Besides, Translation History is always empty and does not seem to be working. Could you pls fix it?
Thank you and best regards!

图片

图片

The problem I meet when I try to migrate to MV3

I am migrating this project to MV3, the background get frozen if I reload the project.

This issue due to an iFrame inside content-script. Seems like that if there is an iFrame and you reload the project without closing this, the background will get frozen. This issue took me all day.

Trying to fix it...

http 429

SC 没法用了,我不确定是我自己的网络环境问题,还是插件请求过于频繁,被限制住了。
image

image

image

image

Window position is not storing

Dear friend,
thank you for your translator addon
but on tab with pdf document in edge the resulting window does not retain its size and position.
the choice of settings for displaying components in this window is also reset.
in particular, I can not remove text field with the source for translation.

sync settings

This extension is super useful, thank you!

Is it possible to synchronize settings, or perhaps have import/export settings function? I'd like to have the same settings between my desktop and laptop. I'm using Edge.

[BUG] Firefox 选项界面显示异常

打开设置界面,画面一闪而过之后完全空白。

打开控制台,报以下两个错误。

  • TypeError: can't access property "source", t is undefined
  • Uncaught TypeError: can't access property "source", t is undefined

Firefox 版本:103
扩展版本:4.2.0

Firefox.mp4

希望增加自动翻译选项等

  1. 希望增加一个这样的名单,名单内的域名自动网页翻译。
    48_15

  2. 快捷键希望支持切换原文,例如我现在Alt+Q是网页翻译,再次按Alt+Q可以显示原文。

  3. 关于右键菜单,翻译网页后右键菜单依然显示“翻译当前页面”,希望此时显示为“显示原文”。

  4. 右下角的控制栏真的很有存在的必要吗?反正我感觉挺多余的,希望增加开关彻底去掉。🤣

最后感谢大佬!辛苦啦!!

关于收藏列表的一键导出和增加翻译源及笔记

您好!贵app的收藏功能,我个人觉得非常棒!希望能在已有基础收藏功能上,把它改为一个类似笔记本的功能,具体需求如下:
1、能够一键导出收藏列表的所有内容(包括中英文翻译、原文链接、笔记、标签)
2、能够给每条收藏加上自定义分类标签
3、收藏内容能够链接到原网页(或文件出处),一键点击直达
4、能够对于收藏内容进行补充的笔记编辑(添加批注文本等,约等于可以直接修改收藏列表内的中英文内容(目前只能阅读,不能修改))

如果能够做到以上这些,相信会是一个特别棒的进步!尤其对需要经常阅读和做笔记的科研人员和工作党而言。感谢!

浏览器右上角的扩展图标左键单击时可以直接翻译网页

目前浏览器右上角的扩展图标左键单击时弹出翻译面板,希望可以在设置里面可以选择左键单击扩展图标采取的操作,比如弹出翻译面板或者翻译整个页面,这样频繁使用网页翻译就可以经过设置后一键翻译网页了,十分感谢~

Firefox 下,重启浏览器会导致右键菜单消失

sc: 4.1.0

firefox: 100.0.2 (64-bit)

windows: win11 21H2 22000.675

现象:每次启动 Firefox 浏览器,网页右键菜单中不会有 sctranslator 的选项,需要打开设置,重新取消勾选,再勾选一次,才可以看到右键菜单

网页翻译双文对照排版问题,以及个人建议

你好,我是edge浏览器用户。我在使用网页翻译,选择显示原文+译文的时候,出现网页上部分结果中英文排版“混乱”的情况。
例如以下网站。这种“混乱”是因为HTML源码本身把一段句子分割在不同标签内了,才导致翻译结果不是期望的那样。我目前用划词翻译+自动把翻译结果插入网页的功能临时代替使用。
请问会有更好解决的方法吗?谢谢!

https://docs.microsoft.com/en-us/powerquery-m/m-spec-lexical-structure

双文对照翻译结果

双文对照翻译结果-htlm源码




另外有一个功能上的建议。是否考虑网页翻译结果显示译文时,支持鼠标悬停显示原文。或者反之结果显示原文,鼠标悬停显示译文。我之前用过这样的一个翻译插件(貌似是某款浏览器自带的?),但是之前用的电脑坏了。已经找不到了。一直没找到替代的插件。SC是我目前最满意的翻译插件了。

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.