Format json files

This commit is contained in:
sienori 2020-05-02 01:41:49 +09:00
parent 35fd136c2a
commit 6d9a807d3a
3 changed files with 47 additions and 45 deletions

View file

@ -5,7 +5,6 @@
"extDescription": {
"message": "Quickly translate selected text on web page. In toolbar popup, you can translate input text."
},
"donateWithPaypalLabel": {
"message": "Donate with PayPal"
},
@ -42,7 +41,6 @@
"langList": {
"message": "af:Afrikaans, sq:Albanian, am:Amharic, ar:Arabic, hy:Armenian, az:Azerbaijani, eu:Basque, be:Belarusian, bn:Bengali, bs:Bosnian, bg:Bulgarian, ca:Catalan, ceb:Cebuano, ny:Chewa, zh-CN:Chinese (PRC), zh-TW:Chinese (Taiwan), co:Corsican, hr:Croatian, cs:Czech, da:Danish, nl:Dutch, en:English, eo:Esperanto, et:Estonian, fi:Finnish, fr:French, fy:Frisian, gl:Galician, ka:Georgian, de:German, el:Greek, gu:Gujarati, ht:Haitian, ha:Hausa, haw:Hawaiian, he:Hebrew, hi:Hindi, hu:Hungarian, is:Icelandic, ig:Igbo, id:Indonesian, ga:Irish, it:Italian, ja:Japanese, jv:Javanese, kn:Kannada, kk:Kazakh, km:Khmer, ky:Kirghiz, ko:Korean, ku:Kurdish, lo:Laotian, la:Latin, lv:Latvian, lt:Lithuanian, lb:Luxembourgish, mk:Macedonian, mg:Malagasy, ms:Malay, ml:Malayalam, mt:Maltese, mi:Maori, mr:Marathi, mn:Mongolian, hmn:Monk, my:Myanmar, ne:Nepali, no:Norwegian, fa:Persian, pl:Polish, pt:Portuguese, pa:Punjabi, ps:Pushto, ro:Romanian, ru:Russian, sm:Samoan, gd:Scottish Gaelic, sr:Serbian, sn:Shona, sd:Sindhi, si:Sinhala, sk:Slovak, sl:Slovenian, so:Somali, sx:Sotho, es:Spanish, su:Sundanese, sw:Swahili, sv:Swedish, tl:Tagalog, tg:Tajiki, ta:Tamil, te:Telugu, th:Thai, tr:Turkish, uk:Ukrainian, ur:Urdu, uz:Uzbek, vi:Vietnamese, cy:Welsh, xh:Xosa, yi:Yiddish, yo:Yoruba, zu:Zulu"
},
"settingsLabel": {
"message": "Settings"
},
@ -103,7 +101,6 @@
"disableUrlListCaptionLabel": {
"message": "If the page URL matches the list, translation on the web page is disabled. The list allows \"*\" wildcards."
},
"toolbarLabel": {
"message": "Toolbar popup"
},
@ -128,7 +125,6 @@
"waitTime2CaptionLabel": {
"message": "If you translate it many times in a short time, it may become unusable for a while."
},
"menuLabel": {
"message": "Context menu"
},
@ -138,7 +134,6 @@
"ifShowMenuCaptionLabel": {
"message": "Add items to the context menu displayed when right clicking on the web page or the tab."
},
"styleLabel": {
"message": "Style"
},
@ -220,7 +215,6 @@
"bgColorLabel": {
"message": "Background color"
},
"otherLabel": {
"message": "Other"
},
@ -245,7 +239,6 @@
"resetSettingsButtonLabel": {
"message": "Reset"
},
"shortcutsLabel": {
"message": "Shortcuts"
},
@ -279,7 +272,6 @@
"reset": {
"message": "Reset"
},
"informationLabel": {
"message": "Information"
},
@ -310,7 +302,6 @@
"addonUrl": {
"message": "https://addons.mozilla.org/en-US/firefox/addon/simple-translate/?src=optionpage"
},
"networkError": {
"message": "Error: Check network connection status."
},
@ -320,7 +311,6 @@
"unknownError": {
"message": "Error: Unknown error"
},
"translatePageMenu": {
"message": "Translate this page"
},
@ -330,7 +320,6 @@
"translateLinkMenu": {
"message": "Translate selected link"
},
"openPopupDescription": {
"message": "Open toolbar popup"
}

View file

@ -1,18 +1,18 @@
{
"manifest_version": 2,
"version": "2.2.0",
"name": "__MSG_extName__",
"description": "__MSG_extDescription__",
"default_locale": "en",
"permissions": ["<all_urls>", "storage", "contextMenus"],
"permissions": [
"<all_urls>",
"storage",
"contextMenus"
],
"options_ui": {
"page": "options/index.html",
"open_in_tab": true
},
"icons": {
"512": "icons/512.png",
"128": "icons/128.png",
@ -20,11 +20,11 @@
"48": "icons/48.png",
"32": "icons/32.png"
},
"background": {
"scripts": ["background/background.js"]
"scripts": [
"background/background.js"
]
},
"browser_action": {
"default_icon": {
"512": "icons/512.png",
@ -38,18 +38,25 @@
},
"default_popup": "popup/index.html"
},
"content_scripts": [
{
"all_frames": true,
"matches": ["http://*/*", "https://*/*", "<all_urls>"],
"js": ["content/content.js"],
"css": ["content/content.css"]
"matches": [
"http://*/*",
"https://*/*",
"<all_urls>"
],
"js": [
"content/content.js"
],
"css": [
"content/content.css"
]
}
],
"web_accessible_resources": ["icons/512.png"],
"web_accessible_resources": [
"icons/512.png"
],
"commands": {
"_execute_browser_action": {
"description": "__MSG_openPopupDescription__",

View file

@ -1,24 +1,23 @@
{
"manifest_version": 2,
"version": "2.2.0",
"name": "__MSG_extName__",
"description": "__MSG_extDescription__",
"default_locale": "en",
"applications": {
"gecko": {
"id": "simple-translate@sienori"
}
},
"permissions": ["<all_urls>", "storage", "contextMenus"],
"permissions": [
"<all_urls>",
"storage",
"contextMenus"
],
"options_ui": {
"page": "options/index.html",
"open_in_tab": true
},
"icons": {
"512": "icons/512.png",
"128": "icons/128.png",
@ -26,11 +25,11 @@
"48": "icons/48.png",
"32": "icons/32.png"
},
"background": {
"scripts": ["background/background.js"]
"scripts": [
"background/background.js"
]
},
"browser_action": {
"default_icon": {
"512": "icons/512.png",
@ -44,18 +43,25 @@
},
"default_popup": "popup/index.html"
},
"content_scripts": [
{
"all_frames": true,
"matches": ["http://*/*", "https://*/*", "<all_urls>"],
"js": ["content/content.js"],
"css": ["content/content.css"]
"matches": [
"http://*/*",
"https://*/*",
"<all_urls>"
],
"js": [
"content/content.js"
],
"css": [
"content/content.css"
]
}
],
"web_accessible_resources": ["icons/512.png"],
"web_accessible_resources": [
"icons/512.png"
],
"commands": {
"_execute_browser_action": {
"description": "__MSG_openPopupDescription__"