Skip to content

Commit a571a5a

Browse files
committed
fix w in workspace
1 parent 6f934ad commit a571a5a

File tree

7 files changed

+26
-26
lines changed

7 files changed

+26
-26
lines changed

apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export class TemplatesSelectionPlugin extends ViewPlugin {
246246
['ERC1155', 'primary'],
247247
]}
248248
title='Workspace Templates'
249-
description="Select a template to create a workspace or to add it to current workspace"
249+
description="Select a template to create a Workspace or to add it to current Workspace"
250250
>
251251
{
252252
templates(window._intl, this).map(template => {

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
"filePanel.workspace.rename": "Rename Workspace",
2020
"filePanel.workspace.save_workspace": "Save Workspace",
2121
"filePanel.workspace.delete": "Delete Workspace",
22-
"filePanel.workspace.deleteConfirm": "Are you sure to delete the current workspace?",
22+
"filePanel.workspace.deleteConfirm": "Are you sure to delete the current Workspace?",
2323
"filePanel.workspace.download": "Download Workspace",
24-
"filePanel.workspace.downloadConfirm": "This will download current workspace in a zip file. Do you want to continue?",
24+
"filePanel.workspace.downloadConfirm": "This will download current Workspace in a zip file. Do you want to continue?",
2525
"filePanel.workspace.deleteAll": "Delete All Workspaces",
2626
"filePanel.workspace.deleteAllConfirm1": "Are you absolutely sure you want to delete all your workspaces?",
2727
"filePanel.workspace.deleteAllConfirm2": "Deleted workspaces can not be restored in any manner.",
@@ -83,7 +83,7 @@
8383
"filePanel.switchBranches": "Switch branches",
8484
"filePanel.checkoutGitBranch": "Checkout Git Branch",
8585
"filePanel.findOrCreateABranch": "Find or create a branch.",
86-
"filePanel.initGitRepositoryLabel": "Initialize workspace as a new git repository",
86+
"filePanel.initGitRepositoryLabel": "Initialize Workspace as a new git repository",
8787
"filePanel.initGitRepositoryWarning": "To use Git features, add username and email to the Github section of the Git plugin.",
8888
"filePanel.workspaceName": "Workspace name",
8989
"filePanel.customizeTemplate": "Customize template",
@@ -93,7 +93,7 @@
9393
"filePanel.yes": "Yes",
9494
"filePanel.cancel": "Cancel",
9595
"filePanel.selectFolder": "Select or create folder",
96-
"filePanel.createNewWorkspace": "create a new workspace",
96+
"filePanel.createNewWorkspace": "create a new Workspace",
9797
"filePanel.connectToLocalhost": "Connect to Local Filesystem",
9898
"filePanel.copiedToClipboard": "Copied to clipboard {path}",
9999
"filePanel.downloadFailed": "Download Failed",
@@ -108,7 +108,7 @@
108108
"filePanel.createPublicGistMsg1": "Are you sure you want to push changes to remote gist file on github.com?",
109109
"filePanel.createPublicGistMsg2": "Are you sure you want to anonymously publish all your files in the {path} folder as a public gist on github.com?",
110110
"filePanel.createPublicGistMsg3": "Are you sure you want to anonymously publish {path} file as a public gist on github.com?",
111-
"filePanel.createPublicGistMsg4": "Are you sure you want to anonymously publish all your files in the {name} workspace as a public gist on github.com?",
111+
"filePanel.createPublicGistMsg4": "Are you sure you want to anonymously publish all your files in the {name} Workspace as a public gist on github.com?",
112112
"filePanel.deleteMsg": "Are you sure you want to delete",
113113
"filePanel.theseItems": "these items",
114114
"filePanel.thisItem": "this item",
@@ -130,7 +130,7 @@
130130
"filePanel.uniswapV4Template": "v4 Template",
131131
"filePanel.uniswapV4HookBookMultiSigSwapHook": "HookBook MultiSigSwapHook",
132132
"filePanel.transparent": "Transparent",
133-
"filePanel.initGitRepoTitle": "Check option to initialize workspace as a new git repository",
133+
"filePanel.initGitRepoTitle": "Check option to initialize Workspace as a new git repository",
134134
"filePanel.switchToBranchTitle1": "Checkout new branch from remote branch",
135135
"filePanel.switchToBranchTitle2": "Checkout to local branch",
136136
"filePanel.readOnly": "read-only",
@@ -149,7 +149,7 @@
149149
"filePanel.movingFolderFailed": "Moving Folder Failed",
150150
"filePanel.movingFolderFailedMsg": "Unexpected error while moving folder: {src}",
151151
"filePanel.workspaceActions": "Workspace actions",
152-
"filePanel.saveCodeSample": "This code-sample workspace will not be persisted. Click here to save it.",
152+
"filePanel.saveCodeSample": "This code-sample Workspace will not be persisted. Click here to save it.",
153153
"filePanel.logInGithub": "Sign in to GitHub.",
154154
"filePanel.gitHubLoggedAs": "Signed in as {githubuser}",
155155
"filePanel.updateSubmodules": "Update all submodules of repository. Click to pull dependencies.",

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"home.getStarted": "Get Started",
3333
"home.projectTemplates": "Learn. Explore.",
3434
"home.projectTemplates2": "Create.",
35-
"home.blankTemplateDesc": "Create an empty workspace.",
36-
"home.remixDefaultTemplateDesc": "Create a workspace with sample files.",
35+
"home.blankTemplateDesc": "Create an empty Workspace.",
36+
"home.remixDefaultTemplateDesc": "Create a Workspace with sample files.",
3737
"home.ozerc20TemplateDesc": "Create an ERC20 token by importing OpenZeppelin library.",
3838
"home.ozerc721TemplateDesc": "Create an NFT token by importing OpenZeppelin library.",
3939
"home.ozerc1155TemplateDesc": "Create an ERC1155 token by importing OpenZeppelin library.",
@@ -70,10 +70,10 @@
7070
"home.connectToLocalhost": "Connect to Localhost",
7171
"home.seeAllTutorials": "See all tutorials",
7272
"home.maintainedBy": "Maintained by",
73-
"home.gitCloneTooltip": "Clone a Github repo to a new workspace",
73+
"home.gitCloneTooltip": "Clone a Github repo to a new Workspace",
7474
"home.gistTooltip": "Open Gist repo",
75-
"home.newFileTooltip": "Add a new file to a workspace",
76-
"home.createNewWorkspace": "Create a new workspace",
75+
"home.newFileTooltip": "Add a new file to a Workspace",
76+
"home.createNewWorkspace": "Create a new Workspace",
7777
"home.startLearning": "Start Learning",
7878
"home.exploreAllPlugins": "Explore all plugins",
7979
"home.maintainedByRemix": "Maintained by Remix"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@
9494
"udapp.tooltipText6": "Autogenerated generic user interfaces for interaction with deployed contracts",
9595

9696
"udapp.pinnedContracts": "Pinned Contracts",
97-
"udapp.tooltipTextPinnedContracts": "List of pinned contracts for selected workspace & network",
98-
"udapp.NoPinnedInstanceText": "No pinned contracts found for selected workspace & network",
97+
"udapp.tooltipTextPinnedContracts": "List of pinned contracts for selected Workspace & network",
98+
"udapp.NoPinnedInstanceText": "No pinned contracts found for selected Workspace & network",
9999
"udapp.tooltipTextDelete": "Delete immediately",
100100
"udapp.tooltipTextUnpin": "Unpin contract to delete after reload",
101101
"udapp.pinnedAt": "Pinned at",
@@ -131,7 +131,7 @@
131131
"udapp._comment_universalDappUI.tsx": "libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx",
132132
"udapp.tooltipTextRemove": "Permanently remove from the list",
133133
"udapp.tooltipTextEdit": "Create a DApp using this contract in the main panel",
134-
"udapp.tooltipTextPin": "Pin contract for current workspace and network to persist after reload",
134+
"udapp.tooltipTextPin": "Pin contract for current Workspace and network to persist after reload",
135135
"udapp.tooltipText8": "Click for docs about using 'receive'/'fallback'",
136136
"udapp.tooltipText9": "The Calldata to send to fallback function of the contract.",
137137
"udapp.tooltipText10": "Send data to contract.",

libs/remix-ui/top-bar/src/components/WorkspaceDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ export const WorkspacesDropdown: React.FC<WorkspacesDropdownProps> = ({ menuItem
416416
setOpenSub(null)
417417
}}>
418418
<i className="fas fa-plus me-2"></i>
419-
Create a new workspace
419+
Create a new Workspace
420420
</button>
421421
</Dropdown.Item>
422422
<Dropdown.Divider className="border mb-0 mt-0 remixui_menuhr" style={{ pointerEvents: 'none' }} />

libs/remix-ui/workspace/src/lib/actions/workspace.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export const createWorkspace = async (
206206
}
207207

208208
export const generateWorkspace = async () => {
209-
await plugin.call('notification', 'alert', 'Your request is being processed. Please wait while I generate the workspace for you. It won\'t be long.')
209+
await plugin.call('notification', 'alert', 'Your request is being processed. Please wait while I generate the Workspace for you. It won\'t be long.')
210210
}
211211

212212
export const populateWorkspace = async (
@@ -219,7 +219,7 @@ export const populateWorkspace = async (
219219
) => {
220220
const metadata = TEMPLATE_METADATA[workspaceTemplateName]
221221
if (metadata && metadata.type === 'plugin') {
222-
plugin.call('notification', 'toast', 'Please wait while the workspace is being populated with the template.')
222+
plugin.call('notification', 'toast', 'Please wait while the Workspace is being populated with the template.')
223223
dispatch(cloneRepositoryRequest())
224224
setTimeout(() => {
225225
plugin.call(metadata.name, metadata.endpoint, ...metadata.params).then(() => {
@@ -249,9 +249,9 @@ export const populateWorkspace = async (
249249
}
250250

251251
export const createWorkspaceTemplate = async (workspaceName: string, template: WorkspaceTemplate = 'remixDefault', metadata?: TemplateType) => {
252-
if (!workspaceName) throw new Error('workspace name cannot be empty')
252+
if (!workspaceName) throw new Error('Workspace name cannot be empty')
253253
if (checkSpecialChars(workspaceName) || checkSlash(workspaceName)) throw new Error('special characters are not allowed')
254-
if ((await workspaceExists(workspaceName)) && template === 'remixDefault') throw new Error('workspace already exists')
254+
if ((await workspaceExists(workspaceName)) && template === 'remixDefault') throw new Error('Workspace already exists')
255255
else if (metadata && metadata.type === 'git') {
256256
dispatch(cloneRepositoryRequest())
257257
await dgitPlugin.call('dgitApi', 'clone', { url: metadata.url, branch: metadata.branch, workspaceName: workspaceName, depth: 10 })
@@ -517,7 +517,7 @@ export const renameWorkspace = async (oldName: string, workspaceName: string, cb
517517
export const renameWorkspaceFromProvider = async (oldName: string, workspaceName: string) => {
518518
if (!workspaceName) throw new Error('name cannot be empty')
519519
if (checkSpecialChars(workspaceName) || checkSlash(workspaceName)) throw new Error('special characters are not allowed')
520-
if (await workspaceExists(workspaceName)) throw new Error('workspace already exists')
520+
if (await workspaceExists(workspaceName)) throw new Error('Workspace already exists')
521521
const browserProvider = plugin.fileProviders.browser
522522
const workspaceProvider = plugin.fileProviders.workspace
523523
const workspacesPath = workspaceProvider.workspacesPath

libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
3333
},
3434
{
3535
action: 'uploadFile',
36-
title: 'Upload files into current workspace',
36+
title: 'Upload files into current Workspace',
3737
icon: 'far fa-upload',
3838
placement: 'top',
3939
platforms:[appPlatformTypes.web]
4040
},
4141
{
4242
action: 'uploadFolder',
43-
title: 'Upload folder into current workspace',
43+
title: 'Upload folder into current Workspace',
4444
icon: 'far fa-folder-upload',
4545
placement: 'top',
4646
platforms:[appPlatformTypes.web]
@@ -61,14 +61,14 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
6161
},
6262
{
6363
action: 'initializeWorkspaceAsGitRepo',
64-
title: 'Initialize workspace as a git repository',
64+
title: 'Initialize Workspace as a git repository',
6565
icon: 'fa-brands fa-git-alt',
6666
placement: 'top',
6767
platforms: [appPlatformTypes.web, appPlatformTypes.desktop]
6868
},
6969
{
7070
action: 'revealInExplorer',
71-
title: 'Reveal workspace in explorer',
71+
title: 'Reveal Workspace in explorer',
7272
icon: 'fas fa-eye',
7373
placement: 'top',
7474
platforms: [appPlatformTypes.desktop]

0 commit comments

Comments
 (0)