diff --git a/manifest.json b/manifest.json index ad85d5b..7c970e6 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name": "Shikiryu Bookmarklet", "version": "0.0.1", "manifest_version": 2, - "description": "Email a link for later read", + "description": "__MSG_extensionDescription__", "icons": { "16": "icons/icon-16.png", "128": "icons/icon-128.png" @@ -46,7 +46,7 @@ }, "applications": { "gecko": { - "id": "bookrmarklet@shikiryu.com" + "id": "bookmarklet@shikiryu.com" } } } diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index e8cb3e1..3a331ca 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -1,14 +1,50 @@ { - "appName": { - "message": "Ext Starter", + "extensionName": { + "message": "Shikiryu Bookmarklet", "description": "The name of the extension." }, - "appDescription": { - "message": "Boilerplate for building cross browser extensions", + "extensionDescription": { + "message": "Email a link for later read", "description": "The description of the extension." }, - "btnTooltip": { - "message": "Ext Starter", - "description": "Tooltip for the button." + "optionsAndSettings": { + "message": "Options & Settings", + "description": "Options page title." + }, + "optionsPageSubtitle": { + "message": "Save this page by email for later read", + "description": "Options page subtitle." + }, + "optionsURL": { + "message": "URL:", + "description": "URL label" + }, + "optionsToken": { + "message": "Token:", + "description": "Token label" + }, + "URLChanged": { + "message": "URL changed!", + "description": "Message when URL is changed." + }, + "tokenSaved": { + "message": "Token saved!", + "description": "Message when token is changed." + }, + "cantExtractTitle": { + "message": "Sorry, could not extract this page's title and URL", + "description": "Message when we could not extract the page's title and URL" + }, + "savedSuccessfully": { + "message": "Your bookmark was saved successfully!", + "description": "Message when your bookmark was saved successfully" + }, + "unknownError": { + "message": "Sorry, there was an error while saving your bookmark.", + "description": "Message when there was an error while saving your bookmark." + }, + "defaultURL": { + "message": "https://bookmarklet.shikiryu.com", + "description": "Default URL" } } diff --git a/src/_locales/fr/messages.json b/src/_locales/fr/messages.json new file mode 100644 index 0000000..bedd7e2 --- /dev/null +++ b/src/_locales/fr/messages.json @@ -0,0 +1,50 @@ +{ + "extensionName": { + "message": "Shikiryu Bookmarklet", + "description": "The name of the extension." + }, + "extensionDescription": { + "message": "Envoyez vous un lien par mail pour plus tard", + "description": "The description of the extension." + }, + "optionsAndSettings": { + "message": "Options & Paramètres", + "description": "Options page title." + }, + "optionsPageSubtitle": { + "message": "Sauvegarde cette page pour lecture ultérieure", + "description": "Options page subtitle." + }, + "optionsURL": { + "message": "Lien :", + "description": "URL label" + }, + "optionsToken": { + "message": "Jeton :", + "description": "Token label" + }, + "URLChanged": { + "message": "URL changed!", + "description": "Message when URL is changed." + }, + "tokenSaved": { + "message": "Token saved!", + "description": "Message when token is changed." + }, + "cantExtractTitle": { + "message": "Sorry, could not extract this page's title and URL", + "description": "Message when we could not extract the page's title and URL" + }, + "savedSuccessfully": { + "message": "Your bookmark was saved successfully!", + "description": "Message when your bookmark was saved successfully" + }, + "unknownError": { + "message": "Sorry, there was an error while saving your bookmark.", + "description": "Message when there was an error while saving your bookmark." + }, + "defaultURL": { + "message": "https://bookmarklet.shikiryu.com", + "description": "Default URL" + } +} diff --git a/src/options.html b/src/options.html index bd1cd2b..b4bfda1 100644 --- a/src/options.html +++ b/src/options.html @@ -4,14 +4,14 @@ -
Save this page by email for later read
+ +