diff --git a/README.md b/README.md index 22f2152..473e7a6 100755 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [](https://github.com/mozillabrasil/sumo_live_helper/releases) ![sumo_live_helper](src/res/icons/icon.png) -# SUMO Live Helper +# SUMO Live Helper [](https://addons.mozilla.org/en-US/firefox/addon/sumo-live-helper-/) The goal of this Add-on is for volunteers in SUMO (Support Mozilla) to see when there are new support questions for Firefox Desktop that have not yet been answered. This will help improve the Firefox user experience by getting answers to their problem more quickly. ![SUMO_Live_Helper gif](sumo_live_helper.gif) diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index 0971ddb..29171cf 100755 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -72,7 +72,13 @@ "searching_for_opened_questions": { "message": "Searching for opened questions..." }, + "refresh": { + "message": "Refresh" + }, + "clear_notifications": { + "message": "Clear notifications" + }, "version":{ - "message": "SUMO Live Helper (v1.0.0)" + "message": "SUMO Live Helper (v1.0.1)" } } \ No newline at end of file diff --git a/src/_locales/pt-BR/messages.json b/src/_locales/pt-BR/messages.json index 45fe7e1..fc512bf 100755 --- a/src/_locales/pt-BR/messages.json +++ b/src/_locales/pt-BR/messages.json @@ -72,7 +72,13 @@ "searching_for_opened_questions": { "message": "Buscando por questões abertas..." }, + "refresh": { + "message": "Atualizar" + }, + "clear_notifications": { + "message": "Limpar notificações" + }, "version":{ - "message": "SUMO Live Helper (v1.0.0)" + "message": "SUMO Live Helper (v1.0.1)" } } \ No newline at end of file diff --git a/src/css/popup.css b/src/css/popup.css index b125f58..8c7170f 100755 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -76,14 +76,14 @@ a.active { .refresh-size-and-click { width:16px; height:16px; - margin-left:181px; + margin-left:200px; cursor:pointer; } .clear-notifications { width:16px; height:16px; - margin-left:45px; + margin-left:55px; cursor:pointer; } diff --git a/src/html/popup.html b/src/html/popup.html index 33e57c7..8abe097 100755 --- a/src/html/popup.html +++ b/src/html/popup.html @@ -13,7 +13,7 @@
- +
@@ -21,7 +21,6 @@ diff --git a/src/js/background.js b/src/js/background.js index e02d948..00b5a02 100755 --- a/src/js/background.js +++ b/src/js/background.js @@ -20,6 +20,11 @@ var questions = document.getElementById('questions'); var clear = document.getElementById('clear'); var questionOpened = ''; +// title i18n +clear.title = browser.i18n.getMessage("clear_notifications"); +refresh.title = browser.i18n.getMessage("refresh"); + +// Event Listener clear.addEventListener('click', function(){ clearNotifications(); }, false); diff --git a/src/manifest.json b/src/manifest.json index 717dd38..2bcd934 100755 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", - "version": "1.0.0", + "version": "1.0.1", "homepage_url": "https://github.com/mozillabrasil/sumo_live_helper", "default_locale": "en", "author": "Mozilla Brasil, Jhonatas Rodrigues", diff --git a/sumo_live_helper.gif b/sumo_live_helper.gif index 98bc244..ac2170c 100644 Binary files a/sumo_live_helper.gif and b/sumo_live_helper.gif differ