flattentree
filip mertens 11 months ago
parent ee5e757f7b
commit 6e6313dd52
  1. 2
      apps/remix-ide/src/app/tabs/locales/en/filePanel.json
  2. 4
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -8,7 +8,7 @@
"filePanel.backup": "Backup",
"filePanel.restore": "Restore",
"filePanel.workspace.create": "Create Workspace",
"filePanel.workspace.create.desktop": "Create Project in new Folder",
"filePanel.workspace.create.desktop": "Create project in new folder",
"filePanel.workspace.rename": "Rename Workspace",
"filePanel.workspace.delete": "Delete Workspace",
"filePanel.workspace.deleteConfirm": "Are you sure to delete the current workspace?",

@ -181,7 +181,7 @@ export function Workspace() {
}
const createWorkspace = () => {
global.modal(
intl.formatMessage({id: 'filePanel.workspace.create'}),
intl.formatMessage({id: (platform !== appPlatformTypes.desktop)? 'filePanel.workspace.create': 'filePanel.workspace.create.desktop'}),
createModalMessage(),
intl.formatMessage({id: (platform !== appPlatformTypes.desktop)? 'filePanel.ok':'filePanel.selectFolder'}),
onFinishCreateWorkspace,
@ -328,7 +328,7 @@ export function Workspace() {
await global.dispatchCreateWorkspace(workspaceName, workspaceTemplateName, opts, initGitRepo)
} catch (e) {
global.modal(
intl.formatMessage({id: 'filePanel.workspace.create'}),
intl.formatMessage({id: (platform !== appPlatformTypes.desktop)? 'filePanel.workspace.create': 'filePanel.workspace.create.desktop'}),
e.message,
intl.formatMessage({id: 'filePanel.ok'}),
() => {},

Loading…
Cancel
Save