diff --git a/apps/remix-ide/src/app/tabs/locales/en-US.js b/apps/remix-ide/src/app/tabs/locales/en-US.js index 8dcf7c6249..640ca2736d 100644 --- a/apps/remix-ide/src/app/tabs/locales/en-US.js +++ b/apps/remix-ide/src/app/tabs/locales/en-US.js @@ -30,16 +30,19 @@ export default { 'settings.ipfs': 'IPFS Settings', 'filePanel.displayName': 'File explorer', - 'filePanel.workspace': 'Workspaces', + 'filePanel.workspace': 'WORKSPACES', 'filePanel.create': 'Create', + 'filePanel.clone': 'Clone', + 'filePanel.download': 'Download', + 'filePanel.restore': 'Restore', 'filePanel.workspace.create': 'Create Workspace', - 'filePanel.workspace.rename': 'Rename Current Workspace', - 'filePanel.workspace.delete': 'Delete Current Workspace', + 'filePanel.workspace.rename': 'Rename Workspace', + 'filePanel.workspace.delete': 'Delete Workspace', 'filePanel.workspace.deleteConfirm': 'Are you sure to delete the current workspace?', 'filePanel.workspace.name': 'Workspace name', 'filePanel.workspace.chooseTemplate': 'Choose a template', - 'filePanel.workspace.download': 'Download Workspaces', - 'filePanel.workspace.restore': 'Restore Workspaces Backup', + 'filePanel.workspace.download': 'Download Workspace', + 'filePanel.workspace.restore': 'Restore Workspace Backup', 'filePanel.workspace.clone': 'Clone Git Repository', 'filePanel.workspace.enterGitUrl': 'Enter git repository url', 'filePanel.newFile': 'New File', @@ -68,9 +71,9 @@ export default { 'home.learnMore': 'Learn more', 'home.here': 'here', 'home.featuredPlugins': 'Featured Plugins', - 'home.file': 'File', + 'home.files': 'Files', 'home.newFile': 'New File', - 'home.openFiles': 'Open Files', + 'home.openFile': 'Open File', 'home.connectToLocalhost': 'Connect to Localhost', 'home.loadFrom': 'LOAD FROM', 'home.resources': 'Resources', diff --git a/apps/remix-ide/src/app/tabs/locales/zh-CN.js b/apps/remix-ide/src/app/tabs/locales/zh-CN.js index 95b93240f1..a69d823b0f 100644 --- a/apps/remix-ide/src/app/tabs/locales/zh-CN.js +++ b/apps/remix-ide/src/app/tabs/locales/zh-CN.js @@ -32,9 +32,12 @@ export default { 'filePanel.displayName': '文件浏览器', 'filePanel.workspace': '工作空间', 'filePanel.create': '新建', + 'filePanel.clone': '克隆', + 'filePanel.download': '下载', + 'filePanel.restore': '恢复', 'filePanel.workspace.create': '新建工作空间', - 'filePanel.workspace.rename': '重命名当前工作空间', - 'filePanel.workspace.delete': '删除当前工作空间', + 'filePanel.workspace.rename': '重命名工作空间', + 'filePanel.workspace.delete': '删除工作空间', 'filePanel.workspace.deleteConfirm': '确定要删除当前工作空间?', 'filePanel.workspace.name': '工作空间名称', 'filePanel.workspace.chooseTemplate': '选择一个工作空间模板', @@ -68,9 +71,9 @@ export default { 'home.learnMore': '了解更多', 'home.here': '这里', 'home.featuredPlugins': '精选插件', - 'home.file': '文件', + 'home.files': '文件', 'home.newFile': '新建文件', - 'home.openFiles': '上传本地文件', + 'home.openFile': '打开本地文件', 'home.connectToLocalhost': '连接本地主机', 'home.loadFrom': '从以下来源导入', 'home.resources': '资源', diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx index 84b2fb4f57..a0913e4469 100644 --- a/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx @@ -1,5 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import React, { useEffect, useState, useRef, useContext } from 'react' +import { FormattedMessage } from 'react-intl' import PluginButton from './pluginButton' import { ThemeContext, themes } from '../themeContext' import Carousel from 'react-multi-carousel' @@ -51,19 +52,19 @@ function HomeTabFeaturedPlugins ({plugin}: HomeTabFeaturedPluginsProps) { await plugin.appManager.activatePlugin(['solidity', 'sourcify']) plugin.verticalIcons.select('sourcify') _paq.push(['trackEvent', 'pluginManager', 'userActivate', 'sourcify']) - } + } const startSolidityUnitTesting = async () => { await plugin.appManager.activatePlugin(['solidity', 'solidityUnitTesting']) plugin.verticalIcons.select('solidityUnitTesting') _paq.push(['trackEvent', 'pluginManager', 'userActivate', 'solidityUnitTesting']) } - + return (