mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
code review (lot more needed), jshint
This commit is contained in:
parent
1deae3bfe0
commit
e032b7aab9
9 changed files with 24 additions and 137 deletions
|
|
@ -259,52 +259,12 @@
|
|||
"message":"Quellcode (GPLv3)",
|
||||
"description":"English: Source code (GPLv3)"
|
||||
},
|
||||
"aboutExtensionDataHeader":{
|
||||
"message":"Externe Ressourcen dieser Erweiterung",
|
||||
"description":"English: Extension data"
|
||||
},
|
||||
"aboutAssetsUpdatePrompt":{
|
||||
"message":"Von <i>µBlock<\/i> benutzte externe Ressourcen können hier upgedatet werden, ohne auf eine neue Version dieser Erweiterung warten zu müssen. Diese Ressourcen werden bezogen vom <a href=\"https:\/\/github.com\/gorhill\/ublock\">Github Repository dieses Projekts<\/a>.",
|
||||
"description":"Short descriptive text of the update feature"
|
||||
},
|
||||
"aboutAssetsUpdateColPath":{
|
||||
"message":"Pfad",
|
||||
"description":"Path column header"
|
||||
},
|
||||
"aboutAssetsUpdateColStatus":{
|
||||
"message":"Status",
|
||||
"description":"Status column header"
|
||||
},
|
||||
"aboutAssetsUpdateGetListError":{
|
||||
"message":"Ein Fehler ist aufgetreten. Ist <b>XHR<\/b> blockiert für <b>raw2.github.com<\/b>?",
|
||||
"description":"Successful outcome of clicking 'update' button"
|
||||
},
|
||||
"aboutAssetsUpdateStatusAdded":{
|
||||
"message":"Hinzufügen",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateStatusChanged":{
|
||||
"message":"Neue Version verfügbar",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateStatusUnchanged":{
|
||||
"message":"Aktuell",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateStatusRemoved":{
|
||||
"message":"Entfernen",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateButton":{
|
||||
"message":"Aktualisieren",
|
||||
"description":"Update button"
|
||||
},
|
||||
"aboutAssetsUpdatingButton":{
|
||||
"message":"Wird aktualisiert...",
|
||||
"description":"Updating..."
|
||||
"aboutContributors":{
|
||||
"message":"Contributors",
|
||||
"description":"English: Contributors"
|
||||
},
|
||||
"dummy":{
|
||||
"message":"Dieser Eintrag muss der letzte sein",
|
||||
"description":"so we dont need to deal with comma for last entry"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -259,49 +259,9 @@
|
|||
"message":"Source code (GPLv3)",
|
||||
"description":"English: Source code (GPLv3)"
|
||||
},
|
||||
"aboutExtensionDataHeader":{
|
||||
"message":"Extension data",
|
||||
"description":"English: Extension data"
|
||||
},
|
||||
"aboutAssetsUpdatePrompt":{
|
||||
"message":"<i>µBlock<\/i> assets can be updated here without having to wait for the next release of the extension. These assets are pulled from the <a href=\"https:\/\/github.com\/gorhill\/ublock\">project's Github repository<\/a>.",
|
||||
"description":"Short descriptive text of the update feature"
|
||||
},
|
||||
"aboutAssetsUpdateColPath":{
|
||||
"message":"Path",
|
||||
"description":"Path column header"
|
||||
},
|
||||
"aboutAssetsUpdateColStatus":{
|
||||
"message":"Status",
|
||||
"description":"Status column header"
|
||||
},
|
||||
"aboutAssetsUpdateGetListError":{
|
||||
"message":"An error occurred. Is <b>XHR<\/b> blocked for <b>raw2.github.com<\/b>?",
|
||||
"description":"Successful outcome of clicking 'update' button"
|
||||
},
|
||||
"aboutAssetsUpdateStatusAdded":{
|
||||
"message":"To add",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateStatusChanged":{
|
||||
"message":"New version available",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateStatusUnchanged":{
|
||||
"message":"Up to date",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateStatusRemoved":{
|
||||
"message":"To remove",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateButton":{
|
||||
"message":"Update",
|
||||
"description":"Update button"
|
||||
},
|
||||
"aboutAssetsUpdatingButton":{
|
||||
"message":"Updating...",
|
||||
"description":"Updating..."
|
||||
"aboutContributors":{
|
||||
"message":"Contributors",
|
||||
"description":"English: Contributors"
|
||||
},
|
||||
"dummy":{
|
||||
"message":"This entry must be the last one",
|
||||
|
|
|
|||
|
|
@ -259,52 +259,12 @@
|
|||
"message":"Code Source (Licence GPLv3, en Anglais)",
|
||||
"description":"English: Source code (GPLv3)"
|
||||
},
|
||||
"aboutExtensionDataHeader":{
|
||||
"message":"Données de l'extension",
|
||||
"description":"English: Extension data"
|
||||
},
|
||||
"aboutAssetsUpdatePrompt":{
|
||||
"message":"Les éléments dynamiques, comprenant entre autres listes d'hôtes à bloquer et recettes prédéfinies, peuvent être mis à jour ici sans avoir à attendre la prochaine version de µBlock. Le processus s'effectue à partir de la <a href=\"https:\/\/github.com\/gorhill\/ublock\">page du projet sur Github<\/a>.",
|
||||
"description":"Short descriptive text of the update feature"
|
||||
},
|
||||
"aboutAssetsUpdateColPath":{
|
||||
"message":"Élément dynamique",
|
||||
"description":"Path column header"
|
||||
},
|
||||
"aboutAssetsUpdateColStatus":{
|
||||
"message":"État",
|
||||
"description":"Status column header"
|
||||
},
|
||||
"aboutAssetsUpdateGetListError":{
|
||||
"message":"Une erreur est survenue. Veuillez vous assurer que les requêtes de type <b>XHR<\/b> ne soient pas bloquées pour <b>raw2.github.com<\/b>",
|
||||
"description":"Successful outcome of clicking 'update' button"
|
||||
},
|
||||
"aboutAssetsUpdateStatusAdded":{
|
||||
"message":"À ajouter",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateStatusChanged":{
|
||||
"message":"Nouvelle version disponible",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateStatusUnchanged":{
|
||||
"message":"À jour",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateStatusRemoved":{
|
||||
"message":"À supprimer",
|
||||
"description":"Displayed in the status column for each entry"
|
||||
},
|
||||
"aboutAssetsUpdateButton":{
|
||||
"message":"Mettre à jour",
|
||||
"description":"Update button"
|
||||
},
|
||||
"aboutAssetsUpdatingButton":{
|
||||
"message":"Mise à jour en cours...",
|
||||
"description":"Updating..."
|
||||
"aboutContributors":{
|
||||
"message":"Contributeurs",
|
||||
"description":"English: Contributors"
|
||||
},
|
||||
"dummy":{
|
||||
"message":"This entry must be the last one",
|
||||
"description":"so we dont need to deal with comma for last entry"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -16,8 +16,13 @@ ul {
|
|||
|
||||
<h2>µBlock <span id="aboutVersion"></span></h2>
|
||||
<ul>
|
||||
<li><a href="https://github.com/gorhill/uBlock/releases" data-i18n="aboutChangelog"></a><br>
|
||||
<li><a href="https://github.com/gorhill/ublock" data-i18n="aboutCode"></a><br>
|
||||
<li><a href="https://github.com/gorhill/uBlock/releases" data-i18n="aboutChangelog"></a>
|
||||
<li><a href="https://github.com/gorhill/ublock" data-i18n="aboutCode"></a>
|
||||
<li><span data-i18n="aboutContributors"></span>
|
||||
<ul>
|
||||
<li><a href="https://github.com/gorhill/uBlock/graphs/contributors">Github</a>
|
||||
<li><a href="https://crowdin.net/project/ublock">Crowdin</a>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<script src="js/udom.js"></script>
|
||||
|
|
|
|||
2
dist/description/description-zh_CN.txt
vendored
2
dist/description/description-zh_CN.txt
vendored
|
|
@ -41,7 +41,7 @@ https://github.com/gorhill/uBlock/wiki/%C2%B5Block-vs.-ABP:-efficiency-compared
|
|||
开放源代码与公共许可证 (GPLv3)
|
||||
一切为了用户。
|
||||
|
||||
贡献者@ Github:
|
||||
贡献者 @ Github:
|
||||
https://github.com/gorhill/uBlock/graphs/contributors
|
||||
贡献者 @ Crowdin:
|
||||
https://crowdin.net/project/ublock
|
||||
|
|
|
|||
|
|
@ -319,7 +319,7 @@ var onListLinkClicked = function(ev) {
|
|||
|
||||
/******************************************************************************/
|
||||
|
||||
var onPurgeClicked = function(ev) {
|
||||
var onPurgeClicked = function() {
|
||||
var button = uDom(this);
|
||||
var li = button.parent();
|
||||
var href = li.find('a').first().attr('href');
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@
|
|||
Home: https://github.com/gorhill/uBlock
|
||||
*/
|
||||
|
||||
/* global chrome, µBlock */
|
||||
|
||||
// So there might be memory leaks related to the direct use of sendMessage(),
|
||||
// as per https://code.google.com/p/chromium/issues/detail?id=320723. The issue
|
||||
// is not marked as resolved, and the last message from chromium dev is:
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
Home: https://github.com/gorhill/uBlock
|
||||
*/
|
||||
|
||||
// ORDER IS IMPORTANT
|
||||
/* global µBlock */
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"manifest_version": 2,
|
||||
"name": "__MSG_extName__",
|
||||
"short_name": "µBlock",
|
||||
"version": "0.4.0.2",
|
||||
"version": "0.4.1.0",
|
||||
"description": "__MSG_extShortDesc__",
|
||||
"icons": {
|
||||
"16": "img/icon_16.png",
|
||||
|
|
|
|||
Loading…
Reference in a new issue