Skip to content

Commit

Permalink
Typos changes in the popup menu => facilitates understanding of optio…
Browse files Browse the repository at this point in the history
…ns (#45)
  • Loading branch information
ysard committed Nov 11, 2018
1 parent 2aec173 commit c901c44
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,10 @@



"popupSimple": {
"message": "Verwalten Sie alle Cookies",
"description": "Popup menu: Display the main interface of CQM"
},

"popupSearch": {
"message": "In Cookies suchen nach: ",
Expand Down
6 changes: 5 additions & 1 deletion src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,13 @@



"popupSimple": {
"message": "Manage all Cookies",
"description": "Popup menu: Display the main interface of CQM"
},

"popupSearch": {
"message": "Search cookie for: ",
"message": "Search Cookies for: ",
"description": "Popup menu: Search and edit cookies in the main interface of CQM"
},

Expand Down
4 changes: 4 additions & 0 deletions src/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,10 @@



"popupSimple": {
"message": "Gérer tous les cookies",
"description": "Popup menu: Display the main interface of CQM"
},

"popupSearch": {
"message": "Chercher les cookies pour: ",
Expand Down
5 changes: 2 additions & 3 deletions src/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
</head>
<body>
<div class="panel">
<a href="#" id="simple_cookie_manager">
<img class="favicon" src="icons/icon48.png" alt="addon favicon">Cookie Quick Manager</a>
<a href="#" id="search_cookie_manager" data-i18n-content="popupSearch">Search cookie for: </a>
<a href="#" id="simple_cookie_manager" data-i18n-content="popupSimple"><img class="favicon" src="icons/icon48.png">Manage all Cookies</a>
<a href="#" id="search_cookie_manager" data-i18n-content="popupSearch">Search Cookies for: </a>
<a href="#" id="delete_current_cookies" data-i18n-content="popupDeleteCurrentCookies"><img class="favicon" src="icons/forbidden48.png">Delete current Site Cookies</a>
<a href="#" id="delete_current_localstorage" class="hidden_item" data-i18n-content="popupDeleteCurrentLocalStorage"><span class="favicon"></span>Delete current Site LocalStorage</a>
<a href="#" id="options" data-i18n-content="popupOptions"><span class="favicon"></span>Options</a>
Expand Down
2 changes: 2 additions & 0 deletions src/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@
function set_translations() {
// Set translations after the insertion of favicons and numbers of cookies/items
// set_translations replace specific childNodes in a predefined position
// PS: Be careful not to skip a line in the html code so as not to change the index
// of the text element to be modified.

// Workaround used to speed-up the load of UI for non supported locales
let supported_locales = ['fr', 'de'];
Expand Down

0 comments on commit c901c44

Please sign in to comment.