diff --git a/CHANGELOG.md b/CHANGELOG.md index c89e85d..9d6f112 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ Changelog ===== -## v1.1.X.X (XX-XX-2016) +## v1.1.2.0 (08-05-2016) * Altered the popup's uploads search to include video titles * Implemented watch later feature * Implemented import subscriptions selection diff --git a/README.md b/README.md index debe527..6637230 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This code is licensed under the MIT License. ### Permissions - notifications - unlimitedStorage - - identity (For subscription importing) + - identity (For subscription importing & watch later) - \*://\*.youtube.com/\* - \*://\*.ytimg.com/\* @@ -22,7 +22,7 @@ This code is licensed under the MIT License. [![ChromeWebStore](https://raw.githubusercontent.com/Wassup789/Youtube-Notifications/master/img/chromewebstore.png)](https://chrome.google.com/webstore/detail/youtube-notifications/cilgbgkmanbbecbjihnbpeaoodmgchom) -**Latest Version:** ***v1.1.1.0*** +**Latest Version:** ***v1.1.2.0*** **Release Archive:** @@ -45,7 +45,7 @@ This code is licensed under the MIT License. **Example Notification** -[![Screenshot 4](http://i.imgur.com/M85fE82.png)](http://i.imgur.com/M85fE82.png) +[![Screenshot 4](http://i.imgur.com/6owdPVw.png)](http://i.imgur.com/6owdPVw.png) ## Changelog [See CHANGELOG.md][CLog.md] diff --git a/_locales/es/messages.json b/_locales/es/messages.json index 87010c5..8fa302a 100644 --- a/_locales/es/messages.json +++ b/_locales/es/messages.json @@ -123,6 +123,14 @@ "description": "The label for the change channel's import button", "message": "Importar" }, + "settings_importChannels_check": { + "description": "The label for the import channel's check all button", + "message": "Seleccionar Todos" + }, + "settings_importChannels_uncheck": { + "description": "The label for the import channel's uncheck all button", + "message": "Desmarcar Todo" + }, "settings_importChannels_titlePrefix": { "description": "The prefix for the import channel popup's title", "message": "Importación de" @@ -151,6 +159,10 @@ "description": "The suffix for the import channel popup's content for statistics downloads", "message": "de descargas" }, + "settings_importChannelsSelection_title": { + "description": "The title of the import channel selection popup", + "message": "Seleccione Canales para importar" + }, "settings_searchPlaceholder": { "description": "The label for the search input", "message": "Buscar..." diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index ee12da7..8b73208 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -64,7 +64,7 @@ "message": "Actualiser Manuel" }, "settings_editSettings_importSubscription": { - "description": "The label for the manual refresh button", + "description": "The label for the import subscription button", "message": "Abonnements d'Importation" }, "settings_editSettings_importSubscriptionChange": { @@ -103,6 +103,14 @@ "description": "The label for the add channel's add more button", "message": "Ajouter Plus" }, + "settings_changelog_title": { + "description": "The label for the title of the changelog popup", + "message": "Changelog" + }, + "settings_changelog_close": { + "description": "The label for the changelog's close button", + "message": "Près" + }, "settings_importChannels_title": { "description": "The label for the title of the import channels popup", "message": "Importer des Canaux" @@ -115,6 +123,14 @@ "description": "The label for the change channel's import button", "message": "Importer" }, + "settings_importChannels_check": { + "description": "The label for the import channel's check all button", + "message": "Vérifie tout" + }, + "settings_importChannels_uncheck": { + "description": "The label for the import channel's uncheck all button", + "message": "Décocher tout" + }, "settings_importChannels_titlePrefix": { "description": "The prefix for the import channel popup's title", "message": "Importation" @@ -143,18 +159,14 @@ "description": "The suffix for the import channel popup's content for statistics downloads", "message": "de téléchargements" }, + "settings_importChannelsSelection_title": { + "description": "The title of the import channel selection popup", + "message": "Sélectionner les canaux à l'importation" + }, "settings_searchPlaceholder": { "description": "The label for the search input", "message": "Chercher..." }, - "settings_changelog_title": { - "description": "The label for the title of the changelog popup", - "message": "Changelog" - }, - "settings_changelog_close": { - "description": "The label for the changelog's close button", - "message": "Près" - }, "settingsJs_updating": { "description": "", "message": "Mise à jour..." diff --git a/js/settings.js b/js/settings.js index 9be99e7..a319501 100644 --- a/js/settings.js +++ b/js/settings.js @@ -435,7 +435,14 @@ function refreshPage(){ * Updates the values in the settings page */ function configureSettings(){ - var settings = JSON.parse(localStorage.getItem("settings"));// + var settings = JSON.parse(localStorage.getItem("settings")); + if(settings.notifications.enabled){ + $("#settings_notifications_toggle").addClass("is-checked"); + $("#settings_notifications_toggle input")[0].checked = true; + }else{ + $("#settings_notifications_toggle").removeClass("is-checked"); + $("#settings_notifications_toggle input")[0].checked = false; + } $("#settings_notifications_toggle input").on("change", function(){ var value = $("#settings_notifications_toggle input")[0].checked, settings = JSON.parse(localStorage.getItem("settings")); diff --git a/manifest.json b/manifest.json index 9b82dff..3ea3239 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ }, "name": "__MSG_appName__", "description": "__MSG_appDesc__", - "version": "1.1.1.0", + "version": "1.1.2.0", "permissions": [ "notifications", "unlimitedStorage", @@ -32,7 +32,7 @@ "128": "img/128.png" }, "oauth2": { - "client_id": "836337899077-9v0uf16i106obm32lkhc85ubr90h685u.apps.googleusercontent.com", + "client_id": "836337899077-k426d78agmgff3l32a29c4lalg0tb0q1.apps.googleusercontent.com", "scopes": [ "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtube.force-ssl" diff --git a/settings.html b/settings.html index d983e30..c3502d5 100644 --- a/settings.html +++ b/settings.html @@ -199,8 +199,9 @@

vX.X.X.X