我正在尝试为我的扩展更新清单版本,但它给了我这个问题:
指定了默认语言环境,但缺少 _locales 子树。
这是我的 manifest.json 文件,谁能告诉我问题出在哪里,我该怎么办?
{
"name": "Selected Text",
"version": "0.1",
"manifest_version": 2,
"description": "Selected Text and some changes",
"default_locale":"en",
"browser_action": {
"default_title": "S. Text",
"default_icon": "online.png",
"default_popup": "popup.html"
},
"permissions": [
"tabs",
"chrome://favicon/",
"http://*/*",
"https://*/*"
],
{
"matches": ["http://*/*"],
"js": ["selection.js"],
"run_at": "document_start",
"all_frames": true
}
}