cloud-drive-renamer/manifest.json
Zain bbfcebad8e feat(i18n): 实现多语言支持并修复语言同步问题
添加完整的国际化支持,包括简体中文、繁体中文和英文翻译
新增语言切换功能,支持运行时动态更新界面语言
修复content script和popup之间的语言同步问题
添加翻译文件转换脚本和单元测试
更新相关组件以支持动态语言切换
2025-12-18 21:54:12 +08:00

72 行
1.4 KiB
JSON

{
"manifest_version": 3,
"default_locale": "zh_CN",
"name": "__MSG_extName__",
"version": "0.2.1",
"description": "__MSG_extDescription__",
"permissions": [
"storage",
"tabs"
],
"host_permissions": [
"https://pan.quark.cn/*",
"https://www.aliyundrive.com/*",
"https://pan.baidu.com/*"
],
"background": {
"service_worker": "src/background/service-worker.ts",
"type": "module"
},
"content_scripts": [
{
"matches": [
"https://pan.quark.cn/*"
],
"js": [
"src/content/index.ts"
],
"run_at": "document_idle"
},
{
"matches": [
"https://pan.quark.cn/*"
],
"js": [
"src/adapters/quark/page-script.ts"
],
"run_at": "document_start",
"world": "MAIN"
}
],
"web_accessible_resources": [
{
"resources": [
"src/dialog/*",
"src/dialog/**/*",
"assets/*",
"icons/*",
"*.js",
"*.css"
],
"matches": [
"https://pan.quark.cn/*",
"https://www.aliyundrive.com/*",
"https://pan.baidu.com/*"
]
}
],
"action": {
"default_popup": "src/popup/index.html",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
}