Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Commit 478210e

Browse files
committed
v1.1.2.0 Release
Fixed notification enable toggle bug Added locale items Changed screenshots
1 parent 7045960 commit 478210e

File tree

7 files changed

+50
-18
lines changed

7 files changed

+50
-18
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Changelog
22
=====
3-
## v1.1.X.X (XX-XX-2016)
3+
## v1.1.2.0 (08-05-2016)
44
* Altered the popup's uploads search to include video titles
55
* Implemented watch later feature
66
* Implemented import subscriptions selection

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ This code is licensed under the MIT License.
1414
### Permissions
1515
- notifications
1616
- unlimitedStorage
17-
- identity (For subscription importing)
17+
- identity (For subscription importing & watch later)
1818
- \*://\*.youtube.com/\*
1919
- \*://\*.ytimg.com/\*
2020

2121
## Downloads
2222

2323
[![ChromeWebStore](https://raw.githubusercontent.com/Wassup789/Youtube-Notifications/master/img/chromewebstore.png)](https://chrome.google.com/webstore/detail/youtube-notifications/cilgbgkmanbbecbjihnbpeaoodmgchom)
2424

25-
**Latest Version:** ***v1.1.1.0***
25+
**Latest Version:** ***v1.1.2.0***
2626

2727
**Release Archive:**
2828

@@ -45,7 +45,7 @@ This code is licensed under the MIT License.
4545

4646
**Example Notification**
4747

48-
[![Screenshot 4](http://i.imgur.com/M85fE82.png)](http://i.imgur.com/M85fE82.png)
48+
[![Screenshot 4](http://i.imgur.com/6owdPVw.png)](http://i.imgur.com/6owdPVw.png)
4949

5050
## Changelog
5151
[See CHANGELOG.md][CLog.md]

_locales/es/messages.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,14 @@
123123
"description": "The label for the change channel's import button",
124124
"message": "Importar"
125125
},
126+
"settings_importChannels_check": {
127+
"description": "The label for the import channel's check all button",
128+
"message": "Seleccionar Todos"
129+
},
130+
"settings_importChannels_uncheck": {
131+
"description": "The label for the import channel's uncheck all button",
132+
"message": "Desmarcar Todo"
133+
},
126134
"settings_importChannels_titlePrefix": {
127135
"description": "The prefix for the import channel popup's title",
128136
"message": "Importación de"
@@ -151,6 +159,10 @@
151159
"description": "The suffix for the import channel popup's content for statistics downloads",
152160
"message": "de descargas"
153161
},
162+
"settings_importChannelsSelection_title": {
163+
"description": "The title of the import channel selection popup",
164+
"message": "Seleccione Canales para importar"
165+
},
154166
"settings_searchPlaceholder": {
155167
"description": "The label for the search input",
156168
"message": "Buscar..."

_locales/fr/messages.json

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"message": "Actualiser Manuel"
6565
},
6666
"settings_editSettings_importSubscription": {
67-
"description": "The label for the manual refresh button",
67+
"description": "The label for the import subscription button",
6868
"message": "Abonnements d'Importation"
6969
},
7070
"settings_editSettings_importSubscriptionChange": {
@@ -103,6 +103,14 @@
103103
"description": "The label for the add channel's add more button",
104104
"message": "Ajouter Plus"
105105
},
106+
"settings_changelog_title": {
107+
"description": "The label for the title of the changelog popup",
108+
"message": "Changelog"
109+
},
110+
"settings_changelog_close": {
111+
"description": "The label for the changelog's close button",
112+
"message": "Près"
113+
},
106114
"settings_importChannels_title": {
107115
"description": "The label for the title of the import channels popup",
108116
"message": "Importer des Canaux"
@@ -115,6 +123,14 @@
115123
"description": "The label for the change channel's import button",
116124
"message": "Importer"
117125
},
126+
"settings_importChannels_check": {
127+
"description": "The label for the import channel's check all button",
128+
"message": "Vérifie tout"
129+
},
130+
"settings_importChannels_uncheck": {
131+
"description": "The label for the import channel's uncheck all button",
132+
"message": "Décocher tout"
133+
},
118134
"settings_importChannels_titlePrefix": {
119135
"description": "The prefix for the import channel popup's title",
120136
"message": "Importation"
@@ -143,18 +159,14 @@
143159
"description": "The suffix for the import channel popup's content for statistics downloads",
144160
"message": "de téléchargements"
145161
},
162+
"settings_importChannelsSelection_title": {
163+
"description": "The title of the import channel selection popup",
164+
"message": "Sélectionner les canaux à l'importation"
165+
},
146166
"settings_searchPlaceholder": {
147167
"description": "The label for the search input",
148168
"message": "Chercher..."
149169
},
150-
"settings_changelog_title": {
151-
"description": "The label for the title of the changelog popup",
152-
"message": "Changelog"
153-
},
154-
"settings_changelog_close": {
155-
"description": "The label for the changelog's close button",
156-
"message": "Près"
157-
},
158170
"settingsJs_updating": {
159171
"description": "",
160172
"message": "Mise à jour..."

js/settings.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,14 @@ function refreshPage(){
435435
* Updates the values in the settings page
436436
*/
437437
function configureSettings(){
438-
var settings = JSON.parse(localStorage.getItem("settings"));//
438+
var settings = JSON.parse(localStorage.getItem("settings"));
439+
if(settings.notifications.enabled){
440+
$("#settings_notifications_toggle").addClass("is-checked");
441+
$("#settings_notifications_toggle input")[0].checked = true;
442+
}else{
443+
$("#settings_notifications_toggle").removeClass("is-checked");
444+
$("#settings_notifications_toggle input")[0].checked = false;
445+
}
439446
$("#settings_notifications_toggle input").on("change", function(){
440447
var value = $("#settings_notifications_toggle input")[0].checked,
441448
settings = JSON.parse(localStorage.getItem("settings"));

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"name": "__MSG_appName__",
77
"description": "__MSG_appDesc__",
8-
"version": "1.1.1.0",
8+
"version": "1.1.2.0",
99
"permissions": [
1010
"notifications",
1111
"unlimitedStorage",
@@ -32,7 +32,7 @@
3232
"128": "img/128.png"
3333
},
3434
"oauth2": {
35-
"client_id": "836337899077-9v0uf16i106obm32lkhc85ubr90h685u.apps.googleusercontent.com",
35+
"client_id": "836337899077-k426d78agmgff3l32a29c4lalg0tb0q1.apps.googleusercontent.com",
3636
"scopes": [
3737
"https://www.googleapis.com/auth/youtube.readonly",
3838
"https://www.googleapis.com/auth/youtube.force-ssl"

settings.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,9 @@ <h2 class="mdl-card__title-text" i18n="settings_changelog_title"></h2>
199199
<div class="mdl-card__supporting-text">
200200
<div class="card-header">vX.X.X.X</div>
201201
<ul>
202-
<li>Implemented search functionality</li>
203-
<li>Added subscription importing</li>
202+
<li>Implemented watch later feature to notifications</li>
203+
<li>Import subscriptions can now be manually selected</li>
204+
<li>Altered the popup's uploads search to include video titles</li>
204205
</ul>
205206
</div>
206207
<div class="mdl-card__actions mdl-card--border">

0 commit comments

Comments
 (0)