Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5f5d9a6

Browse files
jessicaschillinglidel
andauthoredJul 8, 2020
feat: pop-up menu and share page tweaks (#907)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
1 parent 0ccb64e commit 5f5d9a6

34 files changed

+285
-203
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ IPFS Companion enables you to quickly and easily access common actions from your
8181
- See how many peers you're connected with a glance at the cube icon in your browser bar
8282
- Check your IPFS API and gateway status by clicking the cube icon to reveal the main menu
8383
- Right-click images and other page assets to easily add them to IPFS (including the option to preserve file names)
84-
- Choose the _Share files via IPFS_ option in the main menu for quick drag-and-drop import from a browser tab
84+
- Choose the _Quick Import/Share..._ option in the main menu for quick drag-and-drop import from a browser tab
8585
- Pin or unpin IPFS resources (via API) directly from the main menu
8686
- Copy shareable public gateway links, IPFS content paths, or CIDs of IPFS resources directly from the main menu
8787
- Launch the [IPFS Web UI dashboard](https://github.com/ipfs-shipyard/ipfs-webui) from the main menu with a single click

‎add-on/_locales/da/messages.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,23 +72,23 @@
7272
"description": "A menu item tooltip in Browser Action pop-up (panel_activeTabSiteIntegrationsToggleTooltip)"
7373
},
7474
"panel_pinCurrentIpfsAddress": {
75-
"message": "Pin IPFS resource",
75+
"message": "Pin IPFS Resource",
7676
"description": "A menu item in Browser Action pop-up (panel_pinCurrentIpfsAddress)"
7777
},
7878
"panel_pinCurrentIpfsAddressTooltip": {
7979
"message": "Fastgørelse af en CID fortæller din IPFS-klient at denne data er vigtig og ikke må fjernes.",
8080
"description": "A menu item tooltip in Browser Action pop-up (panel_pinCurrentIpfsAddressTooltip)"
8181
},
8282
"panelCopy_currentIpfsAddress": {
83-
"message": "Copy IPFS content path",
83+
"message": "Copy IPFS Content Path",
8484
"description": "A menu item in Browser Action pop-up and right-click context menu (panelCopy_currentIpfsAddress)"
8585
},
8686
"panelCopy_copyRawCid": {
8787
"message": "Kopier CID",
8888
"description": "A menu item in Browser Action pop-up and right-click context menu (panelCopy_copyRawCid)"
8989
},
9090
"panel_copyCurrentPublicGwUrl": {
91-
"message": "Copy shareable link",
91+
"message": "Copy Shareable Link",
9292
"description": "A menu item in Browser Action pop-up and right-click context menu (panel_copyCurrentPublicGwUrl)"
9393
},
9494
"panel_contextMenuViewOnGateway": {

‎add-on/_locales/de/messages.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"description": "A menu item in Browser Action pop-up and right-click context menu (panelCopy_copyRawCid)"
8989
},
9090
"panel_copyCurrentPublicGwUrl": {
91-
"message": "Copy shareable link",
91+
"message": "Copy Shareable Link",
9292
"description": "A menu item in Browser Action pop-up and right-click context menu (panel_copyCurrentPublicGwUrl)"
9393
},
9494
"panel_contextMenuViewOnGateway": {

‎add-on/_locales/en/messages.json

+79-43
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,26 @@
1919
"message": "Gateway",
2020
"description": "A label in Node status section of Browser Action pop-up (panel_statusGatewayAddress)"
2121
},
22+
"panel_statusGatewayAddressTitle": {
23+
"message": "The URL of the gateway, either public or local, you are using to fetch content (change this in Preferences)",
24+
"description": "A label in Node status section of Browser Action pop-up (panel_statusGatewayAddressTitle)"
25+
},
2226
"panel_statusApiAddress": {
2327
"message": "API",
2428
"description": "A label in Node status section of Browser Action pop-up (panel_statusApiAddress)"
2529
},
30+
"panel_statusApiAddressTitle": {
31+
"message": "The URL of your local node's API",
32+
"description": "A label in Node status section of Browser Action pop-up (panel_statusApiAddressTitle)"
33+
},
2634
"panel_statusGatewayVersion": {
2735
"message": "version",
2836
"description": "A label in Node status section of Browser Action pop-up (panel_statusGatewayVersion)"
2937
},
38+
"panel_statusGatewayVersionTitle": {
39+
"message": "The version of IPFS your local node is using",
40+
"description": "A label in Node status section of Browser Action pop-up (panel_statusGatewayVersionTitle)"
41+
},
3042
"panel_statusSwarmPeers": {
3143
"message": "Peers",
3244
"description": "A label in Node status section of Browser Action pop-up (panel_statusSwarmPeers)"
@@ -36,61 +48,73 @@
3648
"description": "A label tooltip in Node status section of Browser Action pop-up (panel_statusSwarmPeersTitle)"
3749
},
3850
"panel_quickImport": {
39-
"message": "Share files via IPFS",
51+
"message": "Quick Import/Share…",
4052
"description": "A menu item in Browser Action pop-up (panel_quickImport)"
4153
},
54+
"panel_quickImportTooltip": {
55+
"message": "Import files to IPFS and copy a publicly shareable link to your clipboard",
56+
"description": "A menu item tooltip in Browser Action pop-up (panel_quickImportTooltip)"
57+
},
4258
"panel_openWebui": {
43-
"message": "Open Web UI",
59+
"message": "Go to My Node…",
4460
"description": "A menu item in Browser Action pop-up (panel_openWebui)"
4561
},
46-
"panel_redirectToggle": {
47-
"message": "Redirect to Gateway",
48-
"description": "A menu item in Browser Action pop-up (panel_redirectToggle)"
49-
},
50-
"panel_redirectToggleTooltip": {
51-
"message": "Click to toggle all gateway redirects",
52-
"description": "A menu item in Browser Action pop-up (panel_redirectToggleTooltip)"
53-
},
54-
"panel_toolsSectionHeader": {
55-
"message": "Tools",
56-
"description": "A menu item in Browser Action pop-up (panel_toolsSectionHeader)"
62+
"panel_openWebuiTooltip": {
63+
"message": "Open your IPFS node's controls in your browser",
64+
"description": "A menu item in Browser Action pop-up (panel_openWebuiTooltip)"
5765
},
5866
"panel_openPreferences": {
59-
"message": "Open Preferences of Browser Extension",
67+
"message": "Open IPFS Companion preferences",
6068
"description": "A menu item in Browser Action pop-up (panel_openPreferences)"
6169
},
6270
"panel_activeTabSectionHeader": {
63-
"message": "Active Tab",
71+
"message": "Current Tab",
6472
"description": "A menu item in Browser Action pop-up (panel_activeTabSiteRedirectEnable)"
6573
},
6674
"panel_activeTabSiteIntegrationsToggle": {
6775
"message": "Enable on $1",
6876
"description": "A menu item in Browser Action pop-up (panel_activeTabSiteIntegrationsToggle)"
6977
},
7078
"panel_activeTabSiteIntegrationsToggleTooltip": {
71-
"message": "Click to toggle all IPFS integrations on $1",
79+
"message": "Enable/disable all IPFS integrations on $1",
7280
"description": "A menu item tooltip in Browser Action pop-up (panel_activeTabSiteIntegrationsToggleTooltip)"
7381
},
7482
"panel_pinCurrentIpfsAddress": {
75-
"message": "Pin IPFS resource",
83+
"message": "Pin IPFS Resource",
7684
"description": "A menu item in Browser Action pop-up (panel_pinCurrentIpfsAddress)"
7785
},
7886
"panel_pinCurrentIpfsAddressTooltip": {
79-
"message": "Pinning a CID tells your IPFS node that this data is important and mustn’t be thrown away.",
87+
"message": "Pin this page's IPFS resources to your node to have a local copy that's available offline and never thrown away.",
8088
"description": "A menu item tooltip in Browser Action pop-up (panel_pinCurrentIpfsAddressTooltip)"
8189
},
8290
"panelCopy_currentIpfsAddress": {
83-
"message": "Copy IPFS content path",
91+
"message": "Copy IPFS Content Path",
8492
"description": "A menu item in Browser Action pop-up and right-click context menu (panelCopy_currentIpfsAddress)"
8593
},
94+
"panelCopy_currentIpfsAddressTooltip": {
95+
"message": "A canonical content path that you can use with IPFS tools and gateways",
96+
"description": "A menu item tooltip in Browser Action pop-up (panelCopy_currentIpfsAddressTooltip)"
97+
},
8698
"panelCopy_copyRawCid": {
8799
"message": "Copy CID",
88100
"description": "A menu item in Browser Action pop-up and right-click context menu (panelCopy_copyRawCid)"
89101
},
102+
"panelCopy_copyRawCidTooltip": {
103+
"message": "The unique IPFS content identifier for this page",
104+
"description": "A menu item tooltip in Browser Action pop-up (panelCopy_copyRawCidTooltip)"
105+
},
106+
"panelCopy_copyRawCidNotReadyHint": {
107+
"message": "(waiting for DAG data)",
108+
"description": "A hint in menu item in Browser Action pop-up to indicate CID is still being resolved (panelCopy_copyRawCidNotReadyHint)"
109+
},
90110
"panel_copyCurrentPublicGwUrl": {
91-
"message": "Copy shareable link",
111+
"message": "Copy Shareable Link",
92112
"description": "A menu item in Browser Action pop-up and right-click context menu (panel_copyCurrentPublicGwUrl)"
93113
},
114+
"panel_copyCurrentPublicGwUrlTooltip": {
115+
"message": "This link works for anyone, even if they don't use IPFS",
116+
"description": "A menu item tooltip in Browser Action pop-up (panel_copyCurrentPublicGwUrlTooltip)"
117+
},
94118
"panel_contextMenuViewOnGateway": {
95119
"message": "View on Gateway",
96120
"description": "A menu item in Browser Action pop-up and right-click context menu (panel_contextMenuViewOnGateway)"
@@ -100,11 +124,11 @@
100124
"description": "A tooltip displayed over Page Action in location bar (pageAction_titleIpfsAtPublicGateway)"
101125
},
102126
"pageAction_titleIpfsAtCustomGateway": {
103-
"message": "IPFS resource loaded via Custom Gateway",
127+
"message": "IPFS resource loaded via local gateway",
104128
"description": "A tooltip displayed over Page Action in location bar (pageAction_titleIpfsAtCustomGateway)"
105129
},
106130
"pageAction_titleNonIpfs": {
107-
"message": "Non-IPFS resource",
131+
"message": "Non-IPFS Resource",
108132
"description": "Default label for icon hidden in Page Action menu (pageAction_titleNonIpfs)"
109133
},
110134
"contextMenu_parentImage": {
@@ -144,47 +168,47 @@
144168
"description": "A title of system notification (notify_addonIssueTitle)"
145169
},
146170
"notify_addonIssueMsg": {
147-
"message": "See Browser Console for more details",
171+
"message": "See your browser's developer console for more details",
148172
"description": "A message in system notification (notify_addonIssueMsg)"
149173
},
150174
"notify_copiedTitle": {
151175
"message": "Copied",
152176
"description": "A title of system notification (notify_copiedTitle)"
153177
},
154178
"notify_pinnedIpfsResourceTitle": {
155-
"message": "IPFS Resource is now pinned",
179+
"message": "IPFS Resource Pinned",
156180
"description": "A title of system notification (notify_pinnedIpfsResourceTitle)"
157181
},
158182
"notify_unpinnedIpfsResourceTitle": {
159183
"message": "Removed IPFS Pin",
160184
"description": "A title of system notification (notify_unpinnedIpfsResourceTitle)"
161185
},
162186
"notify_pinErrorTitle": {
163-
"message": "Error while pinning IPFS Resource",
187+
"message": "Error Pinning IPFS Resource",
164188
"description": "A title of system notification (notify_pinErrorTitle)"
165189
},
166190
"notify_unpinErrorTitle": {
167-
"message": "Error while removing IPFS Pin",
191+
"message": "Error Removing IPFS Pin",
168192
"description": "A title of system notification (notify_unpinErrorTitle)"
169193
},
170194
"notify_apiOnlineTitle": {
171195
"message": "IPFS API is Online",
172196
"description": "A title of system notification (notify_apiOnlineTitle)"
173197
},
174198
"notify_apiOnlineAutomaticModeMsg": {
175-
"message": "Automatic Mode: Custom Gateway Redirect is active",
199+
"message": "Automatic Mode: Custom gateway redirect is active",
176200
"description": "A message in system notification (notify_apiOnlineAutomaticModeMsg)"
177201
},
178202
"notify_apiOfflineTitle": {
179203
"message": "IPFS API is Offline",
180204
"description": "A title of system notification (notify_apiOfflineTitle)"
181205
},
182206
"notify_apiOfflineAutomaticModeMsg": {
183-
"message": "Automatic Mode: Public Gateway will be used as a fallback",
207+
"message": "Automatic Mode: Public gateway will be used as a fallback",
184208
"description": "A message in system notification (notify_apiOfflineAutomaticModeMsg)"
185209
},
186210
"notify_importErrorTitle": {
187-
"message": "Unable to import via IPFS API",
211+
"message": "Unable to Import via IPFS API",
188212
"description": "A title of system notification (notify_importErrorTitle)"
189213
},
190214
"notify_importTrackingProtectionErrorMsg": {
@@ -200,13 +224,17 @@
200224
"description": "A generic placeholder for error notification (notify_inlineErrorMsg)"
201225
},
202226
"notify_startIpfsNodeErrorTitle": {
203-
"message": "Failed to start IPFS node",
227+
"message": "Failed to Start IPFS Node",
204228
"description": "System notification title displayed when starting an IPFS node fails (notify_startIpfsNodeErrorTitle)"
205229
},
206230
"notify_stopIpfsNodeErrorTitle": {
207-
"message": "Failed to stop IPFS node",
231+
"message": "Failed to Stop IPFS Node",
208232
"description": "System notification title displayed when stopping an IPFS node fails (notify_stopIpfsNodeErrorTitle)"
209233
},
234+
"option_page_title" : {
235+
"message": "Preferences | IPFS Companion",
236+
"description": "Title of the Preferences page (option_page_title)"
237+
},
210238
"option_page_header" : {
211239
"message": "Companion Preferences",
212240
"description": "Main header on the Preferences screen (option_page_header)"
@@ -264,23 +292,23 @@
264292
"description": "A section header on the Preferences screen (option_header_gateways)"
265293
},
266294
"option_customGatewayUrl_title": {
267-
"message": "Custom Local Gateway",
295+
"message": "Local Gateway",
268296
"description": "An option title on the Preferences screen (option_customGatewayUrl_title)"
269297
},
270298
"option_customGatewayUrl_description": {
271-
"message": "Set the URL of your preferred custom local gateway.",
299+
"message": "Set the URL of your local gateway.",
272300
"description": "An option description on the Preferences screen (option_customGatewayUrl_description)"
273301
},
274302
"option_customGatewayUrl_warning": {
275303
"message": "IPFS content will be blocked from loading on HTTPS websites unless your gateway URL starts with “http://127.0.0.1”, “http://[::1]” or “https://”",
276304
"description": "A warning on the Preferences screen, displayed when URL does not belong to Secure Context (option_customGatewayUrl_warning)"
277305
},
278306
"option_useCustomGateway_title": {
279-
"message": "Use Custom Gateway",
307+
"message": "Use Local Gateway",
280308
"description": "An option title on the Preferences screen (option_useCustomGateway_title)"
281309
},
282310
"option_useCustomGateway_description": {
283-
"message": "Redirect requests for IPFS resources to your custom local gateway.",
311+
"message": "Redirect requests for IPFS resources to your local gateway.",
284312
"description": "An option description on the Preferences screen (option_useCustomGateway_description)"
285313
},
286314
"option_useSubdomains_title": {
@@ -324,15 +352,15 @@
324352
"description": "An option title on the Preferences screen (option_publicGatewayUrl_title)"
325353
},
326354
"option_publicGatewayUrl_description": {
327-
"message": "Set a default public gateway to use in publicly shareable links and as a fallback URL when your custom gateway is not available.",
355+
"message": "Set the URL of a default public gateway to use in publicly shareable links and as a fallback if your local gateway is unavailable.",
328356
"description": "An option description on the Preferences screen (option_publicGatewayUrl_description)"
329357
},
330358
"option_publicSubdomainGatewayUrl_title": {
331359
"message": "Default Public Subdomain Gateway",
332360
"description": "An option title on the Preferences screen (option_publicSubdomainGatewayUrl_title)"
333361
},
334362
"option_publicSubdomainGatewayUrl_description": {
335-
"message": "Set a default public subdomain gateway for the recovery of broken subdomain gateways.",
363+
"message": "Set the URL of a default public subdomain gateway for the recovery of broken subdomain gateways.",
336364
"description": "An option description on the Preferences screen (option_publicSubdomainGatewayUrl_description)"
337365
},
338366
"option_header_api": {
@@ -360,7 +388,7 @@
360388
"description": "An option title on the Preferences screen (option_automaticMode_title)"
361389
},
362390
"option_automaticMode_description": {
363-
"message": "Enable/disable use of your custom gateway as appropriate when IPFS API availability changes.",
391+
"message": "Automatically switch from your local gateway to your default public gateway if the IPFS API is unavailable.",
364392
"description": "An option description on the Preferences screen (option_automaticMode_description)"
365393
},
366394
"option_header_dnslink": {
@@ -500,7 +528,7 @@
500528
"description": "An option title and button label on the Preferences screen (option_resetAllOptions_title)"
501529
},
502530
"option_resetAllOptions_description": {
503-
"message": "Reset all IPFS Companion preferences to their default values (warning: cannot be undone!).",
531+
"message": "Reset all IPFS Companion preferences to their default values. Warning: Cannot be undone!",
504532
"description": "An option description on the Preferences screen (option_resetAllOptions_description)"
505533
},
506534
"manifest_extensionName": {
@@ -515,6 +543,14 @@
515543
"message": "Harness the power of IPFS in your browser",
516544
"description": "Extension description in the Manifest file (manifest_extensionDescription)"
517545
},
546+
"quickImport_page_title": {
547+
"message": "Import & Share Files | IPFS Companion",
548+
"description": "Page title (quickImport_page_title)"
549+
},
550+
"quickImport_head_peers": {
551+
"message": "Import & share files",
552+
"description": "Header on the share files page (quickImport_subhead_peers)"
553+
},
518554
"quickImport_subhead_peers": {
519555
"message": "Connected to $1 peers",
520556
"description": "Partial info stats beneath the header on the share files page (quickImport_subhead_peers)"
@@ -528,8 +564,8 @@
528564
"description": "seperates the pick a file button from the drop message (quickImport_or)"
529565
},
530566
"quickImport_drop_it_here": {
531-
"message": "drop it here to share",
532-
"description": "Partial info stats beneath the header on the share files page (quickImport_drop_it_here)"
567+
"message": "drop it here",
568+
"description": "Drop message on the share files page (quickImport_drop_it_here)"
533569
},
534570
"quickImport_state_importing": {
535571
"message": "Import in progress..",
@@ -548,7 +584,7 @@
548584
"description": "Textbox label on the share files page (quickImport_options_importDir)"
549585
},
550586
"quickImport_options_openViaWebUI": {
551-
"message": "Open in Web UI",
587+
"message": "Open in Files page",
552588
"description": "Checkbox label on the share files page (quickImport_options_openViaWebUI)"
553589
},
554590
"page_proxyAcl_title": {
@@ -612,7 +648,7 @@
612648
"description": "Button text for denying a permission (page_proxyAccessDialog_allowButton_text)"
613649
},
614650
"page_landingWelcome_title": {
615-
"message": "IPFS Companion - Welcome!",
651+
"message": "Welcome | IPFS Companion",
616652
"description": "Page title (page_landingWelcome_title)"
617653
},
618654
"page_landingWelcome_logo_title": {

‎add-on/_locales/fi/messages.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,23 +72,23 @@
7272
"description": "A menu item tooltip in Browser Action pop-up (panel_activeTabSiteIntegrationsToggleTooltip)"
7373
},
7474
"panel_pinCurrentIpfsAddress": {
75-
"message": "Pin IPFS resource",
75+
"message": "Pin IPFS Resource",
7676
"description": "A menu item in Browser Action pop-up (panel_pinCurrentIpfsAddress)"
7777
},
7878
"panel_pinCurrentIpfsAddressTooltip": {
7979
"message": "Sisältö-ID:n (CID) kiinnittäminen merkitsee datan tärkeäksi IPFS-solmulle ja kieltää sen pois heittämisen.",
8080
"description": "A menu item tooltip in Browser Action pop-up (panel_pinCurrentIpfsAddressTooltip)"
8181
},
8282
"panelCopy_currentIpfsAddress": {
83-
"message": "Copy IPFS content path",
83+
"message": "Copy IPFS Content Path",
8484
"description": "A menu item in Browser Action pop-up and right-click context menu (panelCopy_currentIpfsAddress)"
8585
},
8686
"panelCopy_copyRawCid": {
8787
"message": "Kopioi sisältö-ID (CID)",
8888
"description": "A menu item in Browser Action pop-up and right-click context menu (panelCopy_copyRawCid)"
8989
},
9090
"panel_copyCurrentPublicGwUrl": {
91-
"message": "Copy shareable link",
91+
"message": "Copy Shareable Link",
9292
"description": "A menu item in Browser Action pop-up and right-click context menu (panel_copyCurrentPublicGwUrl)"
9393
},
9494
"panel_contextMenuViewOnGateway": {

0 commit comments

Comments
 (0)
Please sign in to comment.