diff --git a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json index 1991d29657..8e4d6eaa07 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json +++ b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json @@ -3,7 +3,8 @@ "filePanel.workspace": "WORKSPACES", "filePanel.create": "Create", "filePanel.clone": "Clone", - "filePanel.download": "Backup", + "filePanel.download": "Download", + "filePanel.backup": "Backup", "filePanel.restore": "Restore", "filePanel.workspace.create": "Create Workspace", "filePanel.workspace.rename": "Rename Workspace", @@ -14,7 +15,7 @@ "filePanel.workspace.deleteAllConfirm2": "Deleted workspaces can not be restored in any manner.", "filePanel.workspace.name": "Workspace name", "filePanel.workspace.chooseTemplate": "Choose a template", - "filePanel.workspace.download": "Backup Workspaces", + "filePanel.workspace.backup": "Backup Workspaces", "filePanel.workspace.restore": "Restore Workspaces from the Backup", "filePanel.workspace.clone": "Clone Git Repository", "filePanel.workspace.cloneMessage": "Please provide a valid git repository url.", diff --git a/apps/remix-ide/src/app/tabs/locales/zh/filePanel.json b/apps/remix-ide/src/app/tabs/locales/zh/filePanel.json index 5a9b02983c..1726f75502 100644 --- a/apps/remix-ide/src/app/tabs/locales/zh/filePanel.json +++ b/apps/remix-ide/src/app/tabs/locales/zh/filePanel.json @@ -4,6 +4,7 @@ "filePanel.create": "新建", "filePanel.clone": "克隆", "filePanel.download": "下载", + "filePanel.backup": "Backup", "filePanel.restore": "恢复", "filePanel.workspace.create": "新建工作空间", "filePanel.workspace.rename": "重命名工作空间", diff --git a/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx b/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx index 0dc1e37fc6..523f9b1287 100644 --- a/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx +++ b/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx @@ -45,7 +45,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) { props.hideIconsMenu(!showIconsMenu) }}> - { + { props.downloadWorkspaces() props.hideIconsMenu(!showIconsMenu) }}>