From 9909a283e33de25dce61bd078e7a38e7968479c0 Mon Sep 17 00:00:00 2001 From: 2000me <32091429+2000me@users.noreply.github.com> Date: Sat, 2 Feb 2019 14:48:10 +0100 Subject: [PATCH] l18n enablement --- _locales/en/messages.json | 22 ++++++++++++++++++++++ manifest.json | 8 +++++--- 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 _locales/en/messages.json diff --git a/_locales/en/messages.json b/_locales/en/messages.json new file mode 100644 index 0000000..2d004bb --- /dev/null +++ b/_locales/en/messages.json @@ -0,0 +1,22 @@ +{ + "extensionName": { + "message": "VirusTotal Scan" + }, + "extensionDescription": { + "message": "Scan URL with VirusTotal" + }, + "notifyQueuedAndPolling": { + "message": "VirusTotal Scan queued.\nPolling every $POLL_INTERVAL_SECONDS$ seconds for the results...", + "placeholders": { + "POLL_INTERVAL_SECONDS": { + "content": "$1" + } + } + }, + "notifyStillQueuedStoppedPolling": { + "message": "VirusTotal Scan still queued. Stopped polling for the results.\nPlease select VirusTotal Scan again in a minute or later." + }, + "notifyUnexpectedResponse": { + "message": "Received unexpected response. Please retry." + } +} diff --git a/manifest.json b/manifest.json index 3c45069..33754e1 100644 --- a/manifest.json +++ b/manifest.json @@ -3,16 +3,18 @@ "background": { "page": "b.html" }, - "description": "Scan URL with VirusTotal", + "default_locale": "en", + "description": "__MSG_extensionDescription__", "homepage_url": "https://www.github.com/2000me/vtscan", "icons": { "16": "i.svg" }, "manifest_version": 2, - "name": "VirusTotal Scan", + "name": "__MSG_extensionName__", "permissions": [ "contextMenus", + "notifications", "https://www.virustotal.com/*" ], - "version": "0.5.4" + "version": "0.6.0" }