Skip to content

Commit

Permalink
Merge pull request #320 from tableflip/feat/ipfs-init
Browse files Browse the repository at this point in the history
Refactored init that lets user to select ipfs-api or js-ipfs under Brave
  • Loading branch information
lidel committed Dec 12, 2017
2 parents 19e1e6d + a0c38aa commit 85106e9
Show file tree
Hide file tree
Showing 36 changed files with 3,010 additions and 246 deletions.
36 changes: 36 additions & 0 deletions add-on/_locales/de_DE/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,26 @@
"message": "Eingebettet",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeEmbeddedTitle": {
"message": "Experimental: Use IPFS embedded in your browser via js-ipfs",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeExternal": {
"message": "Extern",
"description": "Label for an external IPFS node"
},
"panel_headerIpfsNodeExternalTitle": {
"message": "Connect to an IPFS node over http",
"description": "Label for an external IPFS node"
},
"panel_statusGatewayAddress": {
"message": "Gateway",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusApiAddress": {
"message": "API",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusGatewayVersion": {
"message": "Version",
"description": "A label in Node status section of Browser Action pop-up"
Expand All @@ -23,6 +35,10 @@
"message": "Schwarmpeers",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusSwarmPeersTitle": {
"message": "The number of other ipfs nodes you can connect to",
"description": "A label tool-tip in Node status section of Browser Action pop-up"
},
"panel_quickUpload": {
"message": "Schnell-Upload",
"description": "A menu item in Browser Action pop-up"
Expand Down Expand Up @@ -136,6 +152,26 @@
},
"description": "A generic placeholder for error notification"
},
"option_header_nodeType" : {
"message": "IPFS Node",
"description": "A section header on the Preferences screen"
},
"option_ipfsNodeType_title": {
"message": "IPFS Node Type",
"description": "An option title on the Preferences screen"
},
"option_ipfsNodeType_description": {
"message": "External: Connect to an IPFS daemon over http. \n\n Embedded: Run an IPFS node in your browser via ipfs-js *Experimental*",
"description": "An option description on the Preferences screen"
},
"option_ipfsNodeType_external": {
"message": "External",
"description": "An option on the Preferences screen"
},
"option_ipfsNodeType_embedded": {
"message": "Embedded",
"description": "An option on the Preferences screen"
},
"option_header_gateways": {
"message": "Gateways",
"description": "A section header on the Preferences screen"
Expand Down
42 changes: 39 additions & 3 deletions add-on/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,40 @@
"message": "Embedded",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeEmbeddedTitle": {
"message": "Experimental: Use IPFS embedded in your browser via js-ipfs",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeExternal": {
"message": "External",
"description": "Label for an external IPFS node"
},
"panel_headerIpfsNodeExternalTitle": {
"message": "Connect to an IPFS node over HTTP",
"description": "Label for an external IPFS node"
},
"panel_statusGatewayAddress": {
"message": "HTTP Gateway",
"message": "Gateway",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusApiAddress": {
"message": "API",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusGatewayVersion": {
"message": "version",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusSwarmPeers": {
"message": "swarm peers",
"message": "Peers",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusSwarmPeersTitle": {
"message": "The number of other IPFS nodes you can connect to",
"description": "A label tool-tip in Node status section of Browser Action pop-up"
},
"panel_quickUpload": {
"message": "Quick Upload",
"message": "Share files via IPFS",
"description": "A menu item in Browser Action pop-up"
},
"panel_openWebui": {
Expand Down Expand Up @@ -136,6 +152,26 @@
},
"description": "A generic placeholder for error notification"
},
"option_header_nodeType" : {
"message": "IPFS Node",
"description": "A section header on the Preferences screen"
},
"option_ipfsNodeType_title": {
"message": "IPFS Node Type",
"description": "An option title on the Preferences screen"
},
"option_ipfsNodeType_description": {
"message": "External: Connect to an IPFS daemon over HTTP. \n\n Embedded: Run an IPFS node in your browser via ipfs-js *Experimental*",
"description": "An option description on the Preferences screen"
},
"option_ipfsNodeType_external": {
"message": "External",
"description": "An option on the Preferences screen"
},
"option_ipfsNodeType_embedded": {
"message": "Embedded",
"description": "An option on the Preferences screen"
},
"option_header_gateways": {
"message": "Gateways",
"description": "A section header on the Preferences screen"
Expand Down
36 changes: 36 additions & 0 deletions add-on/_locales/fr_FR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,26 @@
"message": "Embedded",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeEmbeddedTitle": {
"message": "Experimental: Use IPFS embedded in your browser via js-ipfs",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeExternal": {
"message": "External",
"description": "Label for an external IPFS node"
},
"panel_headerIpfsNodeExternalTitle": {
"message": "Connect to an IPFS node over http",
"description": "Label for an external IPFS node"
},
"panel_statusGatewayAddress": {
"message": "routeur",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusApiAddress": {
"message": "API",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusGatewayVersion": {
"message": "version",
"description": "A label in Node status section of Browser Action pop-up"
Expand All @@ -23,6 +35,10 @@
"message": "essaim de pairs",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusSwarmPeersTitle": {
"message": "The number of other ipfs nodes you can connect to",
"description": "A label tool-tip in Node status section of Browser Action pop-up"
},
"panel_quickUpload": {
"message": "Dépôt rapide",
"description": "A menu item in Browser Action pop-up"
Expand Down Expand Up @@ -136,6 +152,26 @@
},
"description": "A generic placeholder for error notification"
},
"option_header_nodeType" : {
"message": "IPFS Node",
"description": "A section header on the Preferences screen"
},
"option_ipfsNodeType_title": {
"message": "IPFS Node Type",
"description": "An option title on the Preferences screen"
},
"option_ipfsNodeType_description": {
"message": "External: Connect to an IPFS daemon over http. \n\n Embedded: Run an IPFS node in your browser via ipfs-js *Experimental*",
"description": "An option description on the Preferences screen"
},
"option_ipfsNodeType_external": {
"message": "External",
"description": "An option on the Preferences screen"
},
"option_ipfsNodeType_embedded": {
"message": "Embedded",
"description": "An option on the Preferences screen"
},
"option_header_gateways": {
"message": "Passerelle",
"description": "A section header on the Preferences screen"
Expand Down
36 changes: 36 additions & 0 deletions add-on/_locales/it_IT/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,26 @@
"message": "Embedded",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeEmbeddedTitle": {
"message": "Experimental: Use IPFS embedded in your browser via js-ipfs",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeExternal": {
"message": "External",
"description": "Label for an external IPFS node"
},
"panel_headerIpfsNodeExternalTitle": {
"message": "Connect to an IPFS node over http",
"description": "Label for an external IPFS node"
},
"panel_statusGatewayAddress": {
"message": "gateway",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusApiAddress": {
"message": "API",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusGatewayVersion": {
"message": "versione",
"description": "A label in Node status section of Browser Action pop-up"
Expand All @@ -23,6 +35,10 @@
"message": "nodi connessi",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusSwarmPeersTitle": {
"message": "The number of other ipfs nodes you can connect to",
"description": "A label tool-tip in Node status section of Browser Action pop-up"
},
"panel_quickUpload": {
"message": "Upload veloce",
"description": "A menu item in Browser Action pop-up"
Expand Down Expand Up @@ -136,6 +152,26 @@
},
"description": "A generic placeholder for error notification"
},
"option_header_nodeType" : {
"message": "IPFS Node",
"description": "A section header on the Preferences screen"
},
"option_ipfsNodeType_title": {
"message": "IPFS Node Type",
"description": "An option title on the Preferences screen"
},
"option_ipfsNodeType_description": {
"message": "External: Connect to an IPFS daemon over http. \n\n Embedded: Run an IPFS node in your browser via ipfs-js *Experimental*",
"description": "An option description on the Preferences screen"
},
"option_ipfsNodeType_external": {
"message": "External",
"description": "An option on the Preferences screen"
},
"option_ipfsNodeType_embedded": {
"message": "Embedded",
"description": "An option on the Preferences screen"
},
"option_header_gateways": {
"message": "Gateways",
"description": "A section header on the Preferences screen"
Expand Down
36 changes: 36 additions & 0 deletions add-on/_locales/pl_PL/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,26 @@
"message": "Wbudowany",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeEmbeddedTitle": {
"message": "Experimental: Use IPFS embedded in your browser via js-ipfs",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeExternal": {
"message": "Zewnętrzny",
"description": "Label for an external IPFS node"
},
"panel_headerIpfsNodeExternalTitle": {
"message": "Connect to an IPFS node over http",
"description": "Label for an external IPFS node"
},
"panel_statusGatewayAddress": {
"message": "Brama HTTP",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusApiAddress": {
"message": "API",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusGatewayVersion": {
"message": "wersja",
"description": "A label in Node status section of Browser Action pop-up"
Expand All @@ -23,6 +35,10 @@
"message": "połączenia",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusSwarmPeersTitle": {
"message": "The number of other ipfs nodes you can connect to",
"description": "A label tool-tip in Node status section of Browser Action pop-up"
},
"panel_quickUpload": {
"message": "Opublikuj plik",
"description": "A menu item in Browser Action pop-up"
Expand Down Expand Up @@ -136,6 +152,26 @@
},
"description": "A generic placeholder for error notification"
},
"option_header_nodeType" : {
"message": "IPFS Node",
"description": "A section header on the Preferences screen"
},
"option_ipfsNodeType_title": {
"message": "IPFS Node Type",
"description": "An option title on the Preferences screen"
},
"option_ipfsNodeType_description": {
"message": "External: Connect to an IPFS daemon over http. \n\n Embedded: Run an IPFS node in your browser via ipfs-js *Experimental*",
"description": "An option description on the Preferences screen"
},
"option_ipfsNodeType_external": {
"message": "External",
"description": "An option on the Preferences screen"
},
"option_ipfsNodeType_embedded": {
"message": "Embedded",
"description": "An option on the Preferences screen"
},
"option_header_gateways": {
"message": "Bramy",
"description": "A section header on the Preferences screen"
Expand Down
36 changes: 36 additions & 0 deletions add-on/_locales/ro_RO/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,26 @@
"message": "Embedded",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeEmbeddedTitle": {
"message": "Experimental: Use IPFS embedded in your browser via js-ipfs",
"description": "Label for an embedded IPFS node"
},
"panel_headerIpfsNodeExternal": {
"message": "External",
"description": "Label for an external IPFS node"
},
"panel_headerIpfsNodeExternalTitle": {
"message": "Connect to an IPFS node over http",
"description": "Label for an external IPFS node"
},
"panel_statusGatewayAddress": {
"message": "gateway",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusApiAddress": {
"message": "API",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusGatewayVersion": {
"message": "versiune",
"description": "A label in Node status section of Browser Action pop-up"
Expand All @@ -23,6 +35,10 @@
"message": "nodurile partenere",
"description": "A label in Node status section of Browser Action pop-up"
},
"panel_statusSwarmPeersTitle": {
"message": "The number of other ipfs nodes you can connect to",
"description": "A label tool-tip in Node status section of Browser Action pop-up"
},
"panel_quickUpload": {
"message": "Încărcare rapidă",
"description": "A menu item in Browser Action pop-up"
Expand Down Expand Up @@ -136,6 +152,26 @@
},
"description": "A generic placeholder for error notification"
},
"option_header_nodeType" : {
"message": "IPFS Node",
"description": "A section header on the Preferences screen"
},
"option_ipfsNodeType_title": {
"message": "IPFS Node Type",
"description": "An option title on the Preferences screen"
},
"option_ipfsNodeType_description": {
"message": "External: Connect to an IPFS daemon over http. \n\n Embedded: Run an IPFS node in your browser via ipfs-js *Experimental*",
"description": "An option description on the Preferences screen"
},
"option_ipfsNodeType_external": {
"message": "External",
"description": "An option on the Preferences screen"
},
"option_ipfsNodeType_embedded": {
"message": "Embedded",
"description": "An option on the Preferences screen"
},
"option_header_gateways": {
"message": "Gateway-uri",
"description": "A section header on the Preferences screen"
Expand Down
Loading

0 comments on commit 85106e9

Please sign in to comment.