Commit Graph

13 Commits

Author SHA1 Message Date
ebf6447507 feat: 为chrome拓展添加手动调用翻译的功能 (#3)
* feat: 为chrome拓展添加手动调用翻译的功能

* feat: add SC-BOX-TRANSLATE-API-AVAILABLE message

* refactor: move content script logic to core.js

* feat: add context menu for translating pages

* chore: 🤖 使用extension.js

* chore: update package metadata

* chore: ensure context menu creation on extension install

* feat: add toggle translation functionality

* feat: add support for dynamic localization based on tab URL

* feat: add Chinese translation for Star Citizen browser extension

* docs: update README with new API usage instructions

* refactor: update translation logic to append original values

* typescript support

* feat: add manual URL handling for localization

* feat: add postMessage for toggling SC-BOX translate

* feat: add translation toggle event to postMessage

* feat: add translation status and message handling

* refactor: optimize localization version logging
2025-05-08 19:56:41 +08:00
154fc2515b Update README.md 2023-10-20 15:40:43 +08:00
0ee4535523 Update README.md 2023-10-20 15:40:26 +08:00
b83a7d372e Update README.md 2023-10-16 14:15:34 +08:00
8f226c8bf7 Update README.md 2023-10-16 14:09:58 +08:00
7b60049d54 update 2023-10-13 21:08:56 +08:00
603210a4c3 Update README.md 2023-10-10 21:44:08 +08:00
9b33d12146 Update Firefox 2023-10-10 21:12:38 +08:00
ff0717b2fb update readme 2023-10-10 20:14:12 +08:00
1704c19331 Update README.md 2023-10-09 20:55:03 +08:00
9ba0fc9196 Update README.md 2023-10-09 20:54:21 +08:00
a79608d87c Update README.md 2023-10-09 20:51:13 +08:00
0fc417e2f0 Create README.md 2023-10-09 20:50:05 +08:00