diff --git a/canvasblocker.xpi b/canvasblocker.xpi index b3c17ce..977cb0e 100644 Binary files a/canvasblocker.xpi and b/canvasblocker.xpi differ diff --git a/locale/de-DE.json b/locale/de-DE.json new file mode 100644 index 0000000..bfffa8d --- /dev/null +++ b/locale/de-DE.json @@ -0,0 +1,52 @@ +{ + "allowPDFCanvas_description": "Die native pdf.js verwendet um den Inhalt von PDFs anzuzeigen. Wenn viele Nachfragedialoge erscheinen oder die PDF-Ansicht nicht funktioniert, müssen diese erlaubt werden.", + "allowPDFCanvas_title": " in PDFs erlauben", + "askForInvisiblePermission": "Wollen Sie unsichtbare erlauben?", + "askForInvisibleReadoutPermission": "Wollen Sie das Auslesen von unsichtbaren erlauben?", + "askForPermission": "Wollen Sie erlauben?", + "askForReadoutPermission": "Wollen Sie das Auslesen von erlauben?", + "askForVisiblePermission": "Wollen Sie das rot umrandete erlauben?", + "askForVisibleReadoutPermission": "Wollen Sie das Auslesen des rot umrandeten erlauben?", + "askOnlyOnce_description": "Wenn der Blockiermodus des Canvas Blockers auf \"um Erlaubnis fragen\" oder \"bei Auslese-API um Erlaubnis fragen\" gesetzt ist, erscheint jedes mal ein Abfragedialog, wenn eine Seite versucht, die (Auslese-)API aufzurufen. Diese Einstellung versucht diese Abfrage nur einmal pro Seite anzuzeigen, unabhängig davon wie oft die API aufgerufen wird. Es können trotzdem mehrere Dialoge pro Seite erscheinen.", + "askOnlyOnce_title": "Nur einmal nachfragen", + "blackList_description": "Domänen oder URLs, die die -API niemals verwenden dürfen. Mehrere Einträge müssen durch ein Komma getrennt werden.", + "blackList_title": "Blacklist", + "blockMode_description": "", + "blockMode_options.allow everything": "alles erlauben", + "blockMode_options.allow only white list": "nur Einträge der Whitelist erlauben", + "blockMode_options.ask for permission": "um Erlaubnis fragen", + "blockMode_options.ask for readout API permission": "bei Auslese-API um Erlaubnis fragen", + "blockMode_options.block everything": "alles blockieren", + "blockMode_options.block only black list": "nur Einträge der Blacklist blockieren", + "blockMode_options.block readout API": "Auslese-API blockieren", + "blockMode_options.fake readout API": "Auslese-API vortäuschen", + "blockMode_title": "Blockiermodus", + "disableNotifications": "Benachrichtigungen deaktivieren", + "displayCallingStack": "Aufrufestack anzeigen", + "displayFullURL": "URL anzeigen", + "enableStackList_description": "", + "enableStackList_title": "Dateispezifische Whitelist verwenden", + "fakedReadout": "Auslese vorgetäuscht auf {url}", + "ignoreList_description": "Domänen oder URLs, bei denen keine Benachrichtigung angezeigt werden. Mehrere Einträge müssen durch ein Komma getrennt werden.", + "ignoreList_title": "Ignorierliste", + "ignorelistDomain": "ignoriere Domain", + "ignorelistURL": "ignoriere URL", + "inputIgnoreDomain": "Geben Sie die Domain ein, die ignoriert werden soll:", + "inputWhitelistDomain": "Geben Sie die URL RegExp ein, die erlaubt werden soll:", + "inputWhitelistURL": "Geben Sie die Domain ein, die erlaubt werden soll:", + "settings": "Einstellungen", + "showCallingFile_description": "", + "showCallingFile_title": "Aufrufende Datei anzeigen", + "showCompleteCallingStack_description": "", + "showCompleteCallingStack_title": "Kompletten Aufrufestack anzeigen", + "showNotifications_description": "Benachrichtigungen anzeigen, wenn der Blockiermodus auf \"Auslese-API vortäuschen\" gesetzt ist.", + "showNotifications_title": "Benachrichtigungen anzeigen", + "sourceOutput": "Aufrufende Datei", + "stackEntryOutput": "{url} Zeile {line} Spalte {column}", + "stackList_description": "JS-Dateien, die die -API verwenden dürfen. Die Angabe muss hier im JSON-Format vorliegen. Beispiel: [{\"url\": \"http://domain/datei1.js\"}, {\"url\": \"http://domain/datei2.js\", \"line\": 1, \"column\": 4, \"stackPosition\": -3}]", + "stackList_title": "Dateispezifische Whitelist", + "whiteList_description": "Domänen oder URLs, die die -API verwenden dürfen. Mehrere Einträge müssen durch ein Komma getrennt werden.", + "whiteList_title": "Whitelist", + "whitelistDomain": "erlaube Domain", + "whitelistURL": "erlaube URL" +} \ No newline at end of file diff --git a/locale/de-DE.properties b/locale/de-DE.properties deleted file mode 100644 index 9674bfb..0000000 --- a/locale/de-DE.properties +++ /dev/null @@ -1,66 +0,0 @@ -whiteList_title= Whitelist -whiteList_description= Domänen oder URLs, die die -API verwenden dürfen. Mehrere Einträge müssen durch ein Komma getrennt werden. - -blackList_title= Blacklist -blackList_description= Domänen oder URLs, die die -API niemals verwenden dürfen. Mehrere Einträge müssen durch ein Komma getrennt werden. - -ignoreList_title= Ignorierliste -ignoreList_description= Domänen oder URLs, bei denen keine Benachrichtigung angezeigt werden. Mehrere Einträge müssen durch ein Komma getrennt werden. - -blockMode_title= Blockiermodus -blockMode_description= - -blockMode_options.block everything= alles blockieren -blockMode_options.allow only white list= nur Einträge der Whitelist erlauben -blockMode_options.ask for permission= um Erlaubnis fragen -blockMode_options.block readout API= Auslese-API blockieren -blockMode_options.fake readout API= Auslese-API vortäuschen -blockMode_options.ask for readout API permission= bei Auslese-API um Erlaubnis fragen -blockMode_options.block only black list= nur Einträge der Blacklist blockieren -blockMode_options.allow everything= alles erlauben - -askOnlyOnce_title= Nur einmal nachfragen -askOnlyOnce_description= Wenn der Blockiermodus des Canvas Blockers auf "um Erlaubnis fragen" oder "bei Auslese-API um Erlaubnis fragen" gesetzt ist, erscheint jedes mal ein Abfragedialog, wenn eine Seite versucht, die (Auslese-)API aufzurufen. Diese Einstellung versucht diese Abfrage nur einmal pro Seite anzuzeigen, unabhängig davon wie oft die API aufgerufen wird. Es können trotzdem mehrere Dialoge pro Seite erscheinen. - -showNotifications_title= Benachrichtigungen anzeigen -showNotifications_description= Benachrichtigungen anzeigen, wenn der Blockiermodus auf "Auslese-API vortäuschen" gesetzt ist. - -showCallingFile_title= Aufrufende Datei anzeigen -showCallingFile_description= - -showCompleteCallingStack_title= Kompletten Aufrufestack anzeigen -showCompleteCallingStack_description= - -enableStackList_title= Dateispezifische Whitelist verwenden -enableStackList_description= - -stackList_title= Dateispezifische Whitelist -stackList_description= JS-Dateien, die die -API verwenden dürfen. Die Angabe muss hier im JSON-Format vorliegen. Beispiel: [{"url": "http://domain/datei1.js"}, {"url": "http://domain/datei2.js", "line": 1, "column": 4, "stackPosition": -3}] - -allowPDFCanvas_title= in PDFs erlauben -allowPDFCanvas_description= Die native pdf.js verwendet um den Inhalt von PDFs anzuzeigen. Wenn viele Nachfragedialoge erscheinen oder die PDF-Ansicht nicht funktioniert, müssen diese erlaubt werden. - -askForPermission= Wollen Sie erlauben? -askForVisiblePermission= Wollen Sie das rot umrandete erlauben? -askForInvisiblePermission= Wollen Sie unsichtbare erlauben? -askForReadoutPermission= Wollen Sie das Auslesen von erlauben? -askForVisibleReadoutPermission= Wollen Sie das Auslesen des rot umrandeten erlauben? -askForInvisibleReadoutPermission= Wollen Sie das Auslesen von unsichtbaren erlauben? - -sourceOutput= Aufrufende Datei -stackEntryOutput= {url} Zeile {line} Spalte {column} - -fakedReadout = Auslese vorgetäuscht auf {url} -settings = Einstellungen -displayCallingStack = Aufrufestack anzeigen -displayFullURL = URL anzeigen -whitelistURL = erlaube URL -whitelistDomain = erlaube Domain -disableNotifications = Benachrichtigungen deaktivieren - -ignorelistURL = ignoriere URL -ignorelistDomain = ignoriere Domain - -inputIgnoreDomain = Geben Sie die Domain ein, die ignoriert werden soll: -inputWhitelistDomain = Geben Sie die URL RegExp ein, die erlaubt werden soll: -inputWhitelistURL = Geben Sie die Domain ein, die erlaubt werden soll: \ No newline at end of file diff --git a/locale/en-US.json b/locale/en-US.json new file mode 100644 index 0000000..63f4dbd --- /dev/null +++ b/locale/en-US.json @@ -0,0 +1,53 @@ +{ + "allowPDFCanvas_description": "Firefox's native PDF reader uses the API to display PDF content. If too many ask dialogs appear or the PDF reader does not work at all, these have to be allowed.", + "allowPDFCanvas_title": "Allow canvas in PDFs", + "askForInvisiblePermission": "Do you want to allow invisible ?", + "askForInvisibleReadoutPermission": "Do you want to allow invisible readout?", + "askForPermission": "Do you want to allow ?", + "askForReadoutPermission": "Do you want to allow readout?", + "askForVisiblePermission": "Do you want to allow the red bordered ?", + "askForVisibleReadoutPermission": "Do you want to allow the readout of the red bordered ?", + "askOnlyOnce_description": "When Canvas Blocker's Block mode is set to 'ask permission' or 'ask permission for readout API', a confirm message will appear every time a page tries to access the API or readout API. This setting tries to display the confirm message only once for each page regardless of how many times the page tries to access the API. Nevertheless, multiple confirm messages may still be displayed on some pages.", + "askOnlyOnce_title": "Ask only once", + "blackList_description": "Domains or URLs where the -API should always be blocked. To add multiple entries, separate them by commas.", + "blackList_title": "Black list", + "blockMode_description": "", + "blockMode_options.allow everything": "allow everything", + "blockMode_options.allow only white list": "allow only white list", + "blockMode_options.ask for permission": "ask for permission", + "blockMode_options.ask for readout API permission": "ask for readout API permission", + "blockMode_options.block everything": "block everything", + "blockMode_options.block only black list": "block only black list", + "blockMode_options.block readout API": "block readout API", + "blockMode_options.fake readout API": "fake readout API", + "blockMode_title": "Block mode", + "disableNotifications": "disable notifications", + "displayCallingStack": "display calling stack", + "displayFullURL": "display full URL", + "enableStackList_description": "", + "enableStackList_title": "Use file specific white list", + "fakedReadout": "Faked readout on {url}", + "ignoreList_description": "Domains or URLs where no notification will be shown. To add multiple entries, separate them by commas.", + "ignoreList_title": "Ignore list", + "ignorelistDomain": "ignore domain", + "ignorelistURL": "ignore URL", + "inputIgnoreDomain": "Input domain to add to ignore list:", + "inputWhitelistDomain": "Input URL RegExp to add to white list:", + "inputWhitelistURL": "Input domain to add to white list:", + "settings": "settings", + "showCallingFile_description": "", + "showCallingFile_title": "Show calling file", + "showCompleteCallingStack_description": "", + "showCompleteCallingStack_title": "Display complete calling stack", + "showNotifications_description": "Show a notification when the block mode is set to \"fake readout API\".", + "showNotifications_title": "Show notifications", + "sourceOutput": "Calling file", + "stackEntryOutput": "{url} line {line} column {column}", + "stackList_description": "JS files which are allowed to use the -API. The input has to be in JSON format. Example: [{\"url\": \"http://domain/file1.js\"}, {\"url\": \"http://domain/file2.js\", \"line\": 1, \"column\": 4, \"stackPosition\": -3}]", + "stackList_title": "File specific white list", + "whilteList_title": "White list", + "whiteList_description": "Domains or URLs where the -API should not be blocked. To add multiple entries, separate them by commas.", + "whitelist": "whitelist", + "whitelistDomain": "whitelist domain", + "whitelistURL": "whitelist URL" +} \ No newline at end of file diff --git a/locale/en-US.properties b/locale/en-US.properties deleted file mode 100644 index b803165..0000000 --- a/locale/en-US.properties +++ /dev/null @@ -1,67 +0,0 @@ -whilteList_title= White list -whiteList_description= Domains or URLs where the -API should not be blocked. To add multiple entries, separate them by commas. - -blackList_title= Black list -blackList_description= Domains or URLs where the -API should always be blocked. To add multiple entries, separate them by commas. - -ignoreList_title= Ignore list -ignoreList_description= Domains or URLs where no notification will be shown. To add multiple entries, separate them by commas. - -blockMode_title= Block mode -blockMode_description= - -blockMode_options.block everything= block everything -blockMode_options.allow only white list= allow only white list -blockMode_options.ask for permission= ask for permission -blockMode_options.block readout API= block readout API -blockMode_options.fake readout API= fake readout API -blockMode_options.ask for readout API permission= ask for readout API permission -blockMode_options.block only black list= block only black list -blockMode_options.allow everything= allow everything - -askOnlyOnce_title= Ask only once -askOnlyOnce_description= When Canvas Blocker's Block mode is set to 'ask permission' or 'ask permission for readout API', a confirm message will appear every time a page tries to access the API or readout API. This setting tries to display the confirm message only once for each page regardless of how many times the page tries to access the API. Nevertheless, multiple confirm messages may still be displayed on some pages. - -showNotifications_title= Show notifications -showNotifications_description= Show a notification when the block mode is set to "fake readout API". - -showCallingFile_title= Show calling file -showCallingFile_description= - -showCompleteCallingStack_title= Display complete calling stack -showCompleteCallingStack_description= - -enableStackList_title= Use file specific white list -enableStackList_description= - -stackList_title= File specific white list -stackList_description= JS files which are allowed to use the -API. The input has to be in JSON format. Example: [{"url": "http://domain/file1.js"}, {"url": "http://domain/file2.js", "line": 1, "column": 4, "stackPosition": -3}] - -allowPDFCanvas_title= Allow canvas in PDFs -allowPDFCanvas_description= Firefox's native PDF reader uses the API to display PDF content. If too many ask dialogs appear or the PDF reader does not work at all, these have to be allowed. - -askForPermission= Do you want to allow ? -askForVisiblePermission= Do you want to allow the red bordered ? -askForInvisiblePermission= Do you want to allow invisible ? -askForReadoutPermission= Do you want to allow readout? -askForVisibleReadoutPermission= Do you want to allow the readout of the red bordered ? -askForInvisibleReadoutPermission= Do you want to allow invisible readout? - -sourceOutput= Calling file -stackEntryOutput= {url} line {line} column {column} - -fakedReadout = Faked readout on {url} -settings = settings -displayCallingStack = display calling stack -displayFullURL = display full URL -whitelist = whitelist -whitelistURL = whitelist URL -whitelistDomain = whitelist domain -disableNotifications = disable notifications - -ignorelistURL = ignore URL -ignorelistDomain = ignore domain - -inputIgnoreDomain = Input domain to add to ignore list: -inputWhitelistDomain = Input URL RegExp to add to white list: -inputWhitelistURL = Input domain to add to white list: \ No newline at end of file diff --git a/locales.json b/locales.json new file mode 100644 index 0000000..7a2112b --- /dev/null +++ b/locales.json @@ -0,0 +1 @@ +{"locales": ["de-DE", "en-US"]}