From 6e6313dd520b2683a34e19720b314e1f7ce94c5c Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 3 Jan 2024 10:42:52 +0100 Subject: [PATCH] messages --- apps/remix-ide/src/app/tabs/locales/en/filePanel.json | 2 +- libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 a4eafc90e6..4c92736be9 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/filePanel.json +++ b/apps/remix-ide/src/app/tabs/locales/en/filePanel.json @@ -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?", diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 4ab9ff9457..9357dde087 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -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'}), () => {},