1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

code review + follow chromium ways of rendering keybd shortcuts

This commit is contained in:
gorhill 2014-08-25 09:24:01 -04:00
parent 8be4e4022a
commit 0e94a66083
4 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@
},
"popupPowerSwitchInfo":{
"message":"klicke das An-\/Ausschalter-Symbol, um µBlock für diese Webseite permanent ein- oder auszuschalten.\n\n<Strg>-Klick: schalte µBlock nur für diese spezifische Seite aus.",
"description":"English: Click: permanently disable\/enable µBlock for this site.\n\n<Ctrl>-click: disable µBlock only on this page."
"description":"English: Click: permanently disable\/enable µBlock for this site.\n\nCtrl+click: disable µBlock only on this page."
},
"popupBlockedRequestPrompt":{
"message":"blockierte Anfragen",

View File

@ -32,8 +32,8 @@
"description":"appears as tab name in dashboard."
},
"popupPowerSwitchInfo":{
"message":"Click: permanently disable\/enable µBlock for this site.\n\n<Ctrl>-click: disable µBlock only on this page.",
"description":"English: Click: permanently disable\/enable µBlock for this site.\n\n<Ctrl>-click: disable µBlock only on this page."
"message":"Click: permanently disable\/enable µBlock for this site.\n\nCtrl+click: disable µBlock only on this page.",
"description":"English: Click: permanently disable\/enable µBlock for this site.\n\nCtrl+click: disable µBlock only on this page."
},
"popupBlockedRequestPrompt":{
"message":"requests blocked",

View File

@ -32,8 +32,8 @@
"description":"appears as tab name in dashboard."
},
"popupPowerSwitchInfo":{
"message":"Cliquez pour désactiver\/activer en permanence µBlock pour le site courant\n\n<Ctrl>-cliquez pour désactiver µBlock sur cette page seulement",
"description":"English: Click: permanently disable\/enable µBlock for this site.\n\n<Ctrl>-click: disable µBlock only on this page."
"message":"Cliquez pour désactiver\/activer en permanence µBlock pour le site courant\n\nCtrl+cliquez pour désactiver µBlock sur cette page seulement",
"description":"English: Click: permanently disable\/enable µBlock for this site.\n\nCtrl+click: disable µBlock only on this page."
},
"popupBlockedRequestPrompt":{
"message":"Requêtes bloquées",

View File

@ -584,7 +584,7 @@ var uBlockMessaging = (function(name){
return;
}
var src = target[prop];
if ( !src ) {
if ( typeof src !== 'string' || src === '' ) {
return;
}
// https://github.com/gorhill/uBlock/issues/174