Skip to content

Commit de8abf2

Browse files
authored
Merge pull request #3502 from ethereum/dpatch
restored Download in right click menu
2 parents e30c403 + 670d09d commit de8abf2

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

apps/remix-ide/src/app/tabs/locales/en/filePanel.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"filePanel.workspace": "WORKSPACES",
44
"filePanel.create": "Create",
55
"filePanel.clone": "Clone",
6-
"filePanel.download": "Backup",
6+
"filePanel.download": "Download",
7+
"filePanel.backup": "Backup",
78
"filePanel.restore": "Restore",
89
"filePanel.workspace.create": "Create Workspace",
910
"filePanel.workspace.rename": "Rename Workspace",
@@ -14,7 +15,7 @@
1415
"filePanel.workspace.deleteAllConfirm2": "Deleted workspaces can not be restored in any manner.",
1516
"filePanel.workspace.name": "Workspace name",
1617
"filePanel.workspace.chooseTemplate": "Choose a template",
17-
"filePanel.workspace.download": "Backup Workspaces",
18+
"filePanel.workspace.backup": "Backup Workspaces",
1819
"filePanel.workspace.restore": "Restore Workspaces from the Backup",
1920
"filePanel.workspace.clone": "Clone Git Repository",
2021
"filePanel.workspace.cloneMessage": "Please provide a valid git repository url.",

apps/remix-ide/src/app/tabs/locales/zh/filePanel.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"filePanel.create": "新建",
55
"filePanel.clone": "克隆",
66
"filePanel.download": "下载",
7+
"filePanel.backup": "Backup",
78
"filePanel.restore": "恢复",
89
"filePanel.workspace.create": "新建工作空间",
910
"filePanel.workspace.rename": "重命名工作空间",

libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) {
4545
props.hideIconsMenu(!showIconsMenu)
4646
}}></HamburgerMenuItem>
4747
<Dropdown.Divider className="border mt-0 mb-0 remixui_menuhr" style={{ pointerEvents: 'none' }}/>
48-
<HamburgerMenuItem kind='download' fa='far fa-download' hideOption={hideWorkspaceOptions || hideLocalhostOptions} actionOnClick={() => {
48+
<HamburgerMenuItem kind='backup' fa='far fa-download' hideOption={hideWorkspaceOptions || hideLocalhostOptions} actionOnClick={() => {
4949
props.downloadWorkspaces()
5050
props.hideIconsMenu(!showIconsMenu)
5151
}}></HamburgerMenuItem>

0 commit comments

Comments
 (0)