Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Commit

Permalink
Opens options page on install/update
Browse files Browse the repository at this point in the history
+ fixing locales
  • Loading branch information
ArnaudLigny committed Jul 27, 2015
1 parent c987517 commit 1d4ab22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"message": "Battlelog updates"
},
"notificationUpdatesMessage": {
"message": "You got $count$ new updates",
"message": "$count$ new update(s)",
"placeholders": {
"count": {
"content": "$1",
Expand All @@ -52,7 +52,7 @@
"message": "Battlelog friends"
},
"notificationFriendsMessage": {
"message": "Friend(s) $status$: $count$",
"message": "$count$ friend(s) $status$",
"placeholders": {
"count": {
"content": "$1",
Expand Down
4 changes: 2 additions & 2 deletions src/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"message": "Mises à jour Battlelog"
},
"notificationUpdatesMessage": {
"message": "Vous avez $count$ nouvelles mises à jour",
"message": "$count$ nouvelle(s) mise(s) à jour",
"placeholders": {
"count": {
"content": "$1",
Expand All @@ -51,7 +51,7 @@
"message": "Amis Battlelog"
},
"notificationFriendsMessage": {
"message": "Ami(s) $status$ : $count$",
"message": "$count$ ami(s) $status$",
"placeholders": {
"count": {
"content": "$1",
Expand Down
1 change: 1 addition & 0 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@
console.log(manifest.name + " updated from v" + details.previousVersion + " to v" + manifest.version);
}
chrome.runtime.sendMessage({do: 'update_badge'});
chrome.tabs.create({url: chrome.extension.getURL('options.html')});
});

// on message update badge
Expand Down

0 comments on commit 1d4ab22

Please sign in to comment.