File tree 2 files changed +13
-13
lines changed
2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 47
47
"message" : " Open Preferences of Browser Extension" ,
48
48
"description" : " A menu item in Browser Action pop-up (panel_openPreferences)"
49
49
},
50
- "panel_switchToCustomGateway " : {
51
- "message" : " Switch to Custom Gateway" ,
52
- "description" : " A menu item in Browser Action pop-up (panel_switchToCustomGateway )"
50
+ "panel_globalRedirectEnable " : {
51
+ "message" : " Enable Gateway Redirect " ,
52
+ "description" : " A menu item in Browser Action pop-up (panel_globalRedirectEnable )"
53
53
},
54
- "panel_switchToPublicGateway " : {
55
- "message" : " Switch to Public Gateway" ,
56
- "description" : " A menu item in Browser Action pop-up (panel_switchToPublicGateway )"
54
+ "panel_globalRedirectDisable " : {
55
+ "message" : " Disable Gateway Redirect " ,
56
+ "description" : " A menu item in Browser Action pop-up (panel_globalRedirectDisable )"
57
57
},
58
58
"panel_pinCurrentIpfsAddress" : {
59
59
"message" : " Pin IPFS Resource" ,
Original file line number Diff line number Diff line change @@ -27,19 +27,19 @@ module.exports = function operations ({
27
27
disabled : ! activeQuickUpload ,
28
28
onClick : onQuickUpload
29
29
} ) }
30
+ ${ navItem ( {
31
+ text : browser . i18n . getMessage ( 'panel_openWebui' ) ,
32
+ disabled : ! activeWebUI ,
33
+ onClick : onOpenWebUi
34
+ } ) }
30
35
${ navItem ( {
31
36
text : browser . i18n . getMessage (
32
37
redirectEnabled && activeGatewaySwitch
33
- ? 'panel_switchToPublicGateway '
34
- : 'panel_switchToCustomGateway '
38
+ ? 'panel_globalRedirectDisable '
39
+ : 'panel_globalRedirectEnable '
35
40
) ,
36
41
disabled : ! activeGatewaySwitch ,
37
42
onClick : onToggleRedirect
38
- } ) }
39
- ${ navItem ( {
40
- text : browser . i18n . getMessage ( 'panel_openWebui' ) ,
41
- disabled : ! activeWebUI ,
42
- onClick : onOpenWebUi
43
43
} ) }
44
44
</ div >
45
45
`
You can’t perform that action at this time.
0 commit comments