Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: conditional and range requests in Brave #717

Merged
merged 10 commits into from
Apr 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 51 additions & 11 deletions add-on/_locales/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "A label for IPFS icon (panel_headerIpfsNodeIconLabel)"
},
"panel_headerActiveToggleTitle": {
"message": "Globální nastavení: pozastavit všechny IPFS integrace",
"message": "Toggle all IPFS integrations",
"description": "A label for an embedded IPFS node (panel_headerActiveToggleTitle)"
},
"panel_statusOffline": {
Expand Down Expand Up @@ -43,25 +43,41 @@
"message": "Otevřít Web UI",
"description": "A menu item in Browser Action pop-up (panel_openWebui)"
},
"panel_redirectToggle": {
"message": "Redirect to Gateway",
"description": "A menu item in Browser Action pop-up (panel_redirectToggle)"
},
"panel_redirectToggleTooltip": {
"message": "Click to toggle all gateway redirects",
"description": "A menu item in Browser Action pop-up (panel_redirectToggleTooltip)"
},
"panel_toolsSectionHeader": {
"message": "Tools",
"description": "A menu item in Browser Action pop-up (panel_toolsSectionHeader)"
},
"panel_openPreferences": {
"message": "Otevřít nastavení rozšíření",
"description": "A menu item in Browser Action pop-up (panel_openPreferences)"
},
"panel_switchToCustomGateway": {
"message": "Přepnout na vlastní bránu",
"description": "A menu item in Browser Action pop-up (panel_switchToCustomGateway)"
"panel_activeTabSectionHeader": {
"message": "Active Tab",
"description": "A menu item in Browser Action pop-up (panel_activeTabSiteRedirectEnable)"
},
"panel_switchToPublicGateway": {
"message": "Přepnout na veřejnou bránu",
"description": "A menu item in Browser Action pop-up (panel_switchToPublicGateway)"
"panel_activeTabSiteRedirectToggle": {
"message": "Redirect on $1",
"description": "A menu item in Browser Action pop-up (panel_activeTabSiteRedirectToggle)"
},
"panel_activeTabSiteRedirectToggleTooltip": {
"message": "Click to toggle gateway redirects on $1",
"description": "A menu item tooltip in Browser Action pop-up (panel_activeTabSiteRedirectToggleTooltip)"
},
"panel_pinCurrentIpfsAddress": {
"message": "Připnout IPFS objekt",
"description": "A menu item in Browser Action pop-up (panel_pinCurrentIpfsAddress)"
},
"panel_unpinCurrentIpfsAddress": {
"message": "Odepnout IPFS objekt",
"description": "A menu item in Browser Action pop-up (panel_unpinCurrentIpfsAddress)"
"panel_pinCurrentIpfsAddressTooltip": {
"message": "Pinning a CID tells your IPFS node that this data is important and mustn’t be thrown away.",
"description": "A menu item tooltip in Browser Action pop-up (panel_pinCurrentIpfsAddressTooltip)"
},
"panelCopy_currentIpfsAddress": {
"message": "Zkopírovat IPFS cestu",
Expand Down Expand Up @@ -211,12 +227,16 @@
"message": "Integrovaný uzel (experiment): spustí js-ipfs uzel přímo ve vaším prohlížeči (použijte pouze pro vývoj, pro více informací následujte odkaz níže)",
"description": "An option description on the Preferences screen (option_ipfsNodeType_description)"
},
"option_ipfsNodeType_embedded_chromesockets_description": {
"message": "Embedded with Chrome Sockets (experimental): run js-ipfs node in your browser with access to chrome.sockets APIs (details under the link below)",
"description": "An option description on the Preferences screen (option_ipfsNodeType_description)"
},
"option_ipfsNodeConfig_title": {
"message": "Konfigurace IPFS uzlu",
"description": "An option title on the Preferences screen (option_ipfsNodeConfig_title)"
},
"option_ipfsNodeConfig_description": {
"message": "Konfigurace pro integrovaný IPFS uzel. Musí být validní JSON.",
"message": "Additional configuration for the embedded IPFS node (arrays will be merged). Must be valid JSON.",
"description": "An option description on the Preferences screen (option_ipfsNodeConfig_description)"
},
"option_ipfsNodeType_external": {
Expand All @@ -227,6 +247,10 @@
"message": "Integrovaný",
"description": "An option on the Preferences screen (option_ipfsNodeType_embedded)"
},
"option_ipfsNodeType_embedded_chromesockets": {
"message": "Embedded + chrome.sockets",
"description": "An option on the Preferences screen (option_ipfsNodeType_embedded_chromesockets)"
},
"option_header_gateways": {
"message": "Brány",
"description": "A section header on the Preferences screen (option_header_gateways)"
Expand All @@ -251,6 +275,14 @@
"message": "Přesměrovat požadavky pro IPFS objekt skrze vlastní bránu",
"description": "An option description on the Preferences screen (option_useCustomGateway_description)"
},
"option_noRedirectHostnames_title": {
"message": "Redirect Opt-Outs",
"description": "An option title on the Preferences screen (option_noRedirectHostnames_title)"
},
"option_noRedirectHostnames_description": {
"message": "List of websites that should not be redirected to the Custom Gateway (includes subresources from other domains). One hostname per line.",
"description": "An option description on the Preferences screen (option_noRedirectHostnames_description)"
},
"option_publicGatewayUrl_title": {
"message": "Výchozí veřejná brána",
"description": "An option title on the Preferences screen (option_publicGatewayUrl_title)"
Expand Down Expand Up @@ -367,6 +399,14 @@
"message": "Povolit automatické načtení nahraných souborů skrze asynchroní HTTP HEAD požadavek na Veřejnou bránu",
"description": "An option description on the Preferences screen (option_preloadAtPublicGateway_description)"
},
"option_logNamespaces_title": {
"message": "Log Namespaces",
"description": "An option title for tweaking log level (option_logNamespaces_title)"
},
"option_logNamespaces_description": {
"message": "Customize which namespaces are logged to Browser Console. Changing this value will trigger extension restart.",
"description": "An option description for the log level (option_logNamespaces_description)"
},
"option_resetAllOptions_title": {
"message": "Vše vyresetovat",
"description": "An option title and button label on the Preferences screen (option_resetAllOptions_title)"
Expand Down
18 changes: 17 additions & 1 deletion add-on/_locales/da/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,16 @@
"message": "Indlejret (eksperimentel): kør js-ipfs klienten i din browser (benyt kun i udviklingsøjemed, læs om begrænsninger ved linket nedenfor)",
"description": "An option description on the Preferences screen (option_ipfsNodeType_description)"
},
"option_ipfsNodeType_embedded_chromesockets_description": {
"message": "Indlejret med Chrome Sockets (eksperiment): kør js-ipfs klienten i din browser med adgang til chrome.sockets API'er (detaljer under linket nedenfor)",
"description": "An option description on the Preferences screen (option_ipfsNodeType_description)"
},
"option_ipfsNodeConfig_title": {
"message": "IPFS-klient opsætning",
"description": "An option title on the Preferences screen (option_ipfsNodeConfig_title)"
},
"option_ipfsNodeConfig_description": {
"message": "Opsætning af den indlejrede IPFS-klient. Det skal være valid JSON.",
"message": "Yderligere konfiguration for den indlejrede IPFS klient (array's vil blive sammenlagt). Skal være valid JSON.",
"description": "An option description on the Preferences screen (option_ipfsNodeConfig_description)"
},
"option_ipfsNodeType_external": {
Expand All @@ -243,6 +247,10 @@
"message": "Indlejret",
"description": "An option on the Preferences screen (option_ipfsNodeType_embedded)"
},
"option_ipfsNodeType_embedded_chromesockets": {
"message": "Indlejret + chrome.sockets",
"description": "An option on the Preferences screen (option_ipfsNodeType_embedded_chromesockets)"
},
"option_header_gateways": {
"message": "Gateways",
"description": "A section header on the Preferences screen (option_header_gateways)"
Expand Down Expand Up @@ -391,6 +399,14 @@
"message": "Aktiver automatisk forhåndsindlæsning af uploadede aktiver via asynkrone HTTP HEAD-forespørgsler til en Offentlig Gateway",
"description": "An option description on the Preferences screen (option_preloadAtPublicGateway_description)"
},
"option_logNamespaces_title": {
"message": "Log navnerum",
"description": "An option title for tweaking log level (option_logNamespaces_title)"
},
"option_logNamespaces_description": {
"message": "Skræddersy hvilke navnerum der logges til browser konsollen. Ændringer af denne værdi vil medføre genstart af udvidelsen.",
"description": "An option description for the log level (option_logNamespaces_description)"
},
"option_resetAllOptions_title": {
"message": "Komplet nulstilling",
"description": "An option title and button label on the Preferences screen (option_resetAllOptions_title)"
Expand Down
62 changes: 51 additions & 11 deletions add-on/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "A label for IPFS icon (panel_headerIpfsNodeIconLabel)"
},
"panel_headerActiveToggleTitle": {
"message": "Globaler Schalter: Alle IPFS-Einbindungen aufheben",
"message": "Toggle all IPFS integrations",
"description": "A label for an embedded IPFS node (panel_headerActiveToggleTitle)"
},
"panel_statusOffline": {
Expand Down Expand Up @@ -43,25 +43,41 @@
"message": "Web-UI öffnen",
"description": "A menu item in Browser Action pop-up (panel_openWebui)"
},
"panel_redirectToggle": {
"message": "Redirect to Gateway",
"description": "A menu item in Browser Action pop-up (panel_redirectToggle)"
},
"panel_redirectToggleTooltip": {
"message": "Click to toggle all gateway redirects",
"description": "A menu item in Browser Action pop-up (panel_redirectToggleTooltip)"
},
"panel_toolsSectionHeader": {
"message": "Tools",
"description": "A menu item in Browser Action pop-up (panel_toolsSectionHeader)"
},
"panel_openPreferences": {
"message": "Einstellungen der Browser-Erweiterung öffnen",
"description": "A menu item in Browser Action pop-up (panel_openPreferences)"
},
"panel_switchToCustomGateway": {
"message": "Zu benutzerdefiniertem Gateway wechseln",
"description": "A menu item in Browser Action pop-up (panel_switchToCustomGateway)"
"panel_activeTabSectionHeader": {
"message": "Active Tab",
"description": "A menu item in Browser Action pop-up (panel_activeTabSiteRedirectEnable)"
},
"panel_switchToPublicGateway": {
"message": "Zu öffentlichem Gateway wechseln",
"description": "A menu item in Browser Action pop-up (panel_switchToPublicGateway)"
"panel_activeTabSiteRedirectToggle": {
"message": "Redirect on $1",
"description": "A menu item in Browser Action pop-up (panel_activeTabSiteRedirectToggle)"
},
"panel_activeTabSiteRedirectToggleTooltip": {
"message": "Click to toggle gateway redirects on $1",
"description": "A menu item tooltip in Browser Action pop-up (panel_activeTabSiteRedirectToggleTooltip)"
},
"panel_pinCurrentIpfsAddress": {
"message": "IPFS-Ressource anpinnen",
"description": "A menu item in Browser Action pop-up (panel_pinCurrentIpfsAddress)"
},
"panel_unpinCurrentIpfsAddress": {
"message": "Pin der IPFS-Ressource entfernen",
"description": "A menu item in Browser Action pop-up (panel_unpinCurrentIpfsAddress)"
"panel_pinCurrentIpfsAddressTooltip": {
"message": "Pinning a CID tells your IPFS node that this data is important and mustn’t be thrown away.",
"description": "A menu item tooltip in Browser Action pop-up (panel_pinCurrentIpfsAddressTooltip)"
},
"panelCopy_currentIpfsAddress": {
"message": "IPFS-Pfad kopieren",
Expand Down Expand Up @@ -211,12 +227,16 @@
"message": "Eingebettet (experimentell): einen JS-IPFS-Node im Browser betreiben (nur für Entwickler; siehe Link unten für weitere Details zu den Limitierungen)",
"description": "An option description on the Preferences screen (option_ipfsNodeType_description)"
},
"option_ipfsNodeType_embedded_chromesockets_description": {
"message": "Embedded with Chrome Sockets (experimental): run js-ipfs node in your browser with access to chrome.sockets APIs (details under the link below)",
"description": "An option description on the Preferences screen (option_ipfsNodeType_description)"
},
"option_ipfsNodeConfig_title": {
"message": "IPFS-Node-Konfiguration",
"description": "An option title on the Preferences screen (option_ipfsNodeConfig_title)"
},
"option_ipfsNodeConfig_description": {
"message": "Konfiguration für den eingebetteten IPFS-Node; muss zulässiges JSON sein.",
"message": "Additional configuration for the embedded IPFS node (arrays will be merged). Must be valid JSON.",
"description": "An option description on the Preferences screen (option_ipfsNodeConfig_description)"
},
"option_ipfsNodeType_external": {
Expand All @@ -227,6 +247,10 @@
"message": "Eingebettet",
"description": "An option on the Preferences screen (option_ipfsNodeType_embedded)"
},
"option_ipfsNodeType_embedded_chromesockets": {
"message": "Embedded + chrome.sockets",
"description": "An option on the Preferences screen (option_ipfsNodeType_embedded_chromesockets)"
},
"option_header_gateways": {
"message": "Gateways",
"description": "A section header on the Preferences screen (option_header_gateways)"
Expand All @@ -251,6 +275,14 @@
"message": "Anfragen zu IPFS-Ressourcen an das benutzerdefinierte Gateway weiterleiten",
"description": "An option description on the Preferences screen (option_useCustomGateway_description)"
},
"option_noRedirectHostnames_title": {
"message": "Redirect Opt-Outs",
"description": "An option title on the Preferences screen (option_noRedirectHostnames_title)"
},
"option_noRedirectHostnames_description": {
"message": "List of websites that should not be redirected to the Custom Gateway (includes subresources from other domains). One hostname per line.",
"description": "An option description on the Preferences screen (option_noRedirectHostnames_description)"
},
"option_publicGatewayUrl_title": {
"message": "Öffentliches Standard-Gateway",
"description": "An option title on the Preferences screen (option_publicGatewayUrl_title)"
Expand Down Expand Up @@ -367,6 +399,14 @@
"message": "Aktiviert automatisches Vorladen der Upload-Ressourcen über asynchrone HTTP-HEAD-Anfragen an ein öffentliches Gateway",
"description": "An option description on the Preferences screen (option_preloadAtPublicGateway_description)"
},
"option_logNamespaces_title": {
"message": "Log Namespaces",
"description": "An option title for tweaking log level (option_logNamespaces_title)"
},
"option_logNamespaces_description": {
"message": "Customize which namespaces are logged to Browser Console. Changing this value will trigger extension restart.",
"description": "An option description for the log level (option_logNamespaces_description)"
},
"option_resetAllOptions_title": {
"message": "Alles zurücksetzen",
"description": "An option title and button label on the Preferences screen (option_resetAllOptions_title)"
Expand Down
Loading