From d3e49aac9af9402dbfc5fb034902a07736db2483 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 18 Jul 2024 16:08:52 +0200 Subject: [PATCH] Update labels --- .../src/app/providers/environment-explorer.tsx | 12 ++++++------ apps/remix-ide/src/app/udapp/run-tab.js | 11 +++++------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/apps/remix-ide/src/app/providers/environment-explorer.tsx b/apps/remix-ide/src/app/providers/environment-explorer.tsx index 83abbe29b5..19a5612e5d 100644 --- a/apps/remix-ide/src/app/providers/environment-explorer.tsx +++ b/apps/remix-ide/src/app/providers/environment-explorer.tsx @@ -113,13 +113,13 @@ export class EnvironmentExplorer extends ViewPlugin { pinStateCallback={async (pinned: boolean) => { if (pinned) { this.emit('providerPinned', provider.name, provider) - this.call('notification', 'toast', `"${provider.displayName}" has been added to the Network list of the Deploy & Run Transactions module.`) + this.call('notification', 'toast', `"${provider.displayName}" has been added to the Environment list of the Deploy & Run Transactions plugin.`) return true } const providerName = await this.call('blockchain', 'getProvider') if (providerName !== provider.name) { this.emit('providerUnpinned', provider.name, provider) - this.call('notification', 'toast', `"${provider.displayName}" has been removed from the Network list of the Deploy & Run Transactions module.`) + this.call('notification', 'toast', `"${provider.displayName}" has been removed from the Environment list of the Deploy & Run Transactions plugin.`) return true } else { this.call('notification', 'toast', 'Cannot unpin the current selected provider') @@ -146,13 +146,13 @@ export class EnvironmentExplorer extends ViewPlugin { pinStateCallback={async (pinned: boolean) => { if (pinned) { this.emit('providerPinned', provider.name, provider) - this.call('notification', 'toast', `"${provider.displayName}" has been added to the Network list of the Deploy & Run Transactions module.`) + this.call('notification', 'toast', `"${provider.displayName}" has been added to the Environment list of the Deploy & Run Transactions plugin.`) return true } const providerName = await this.call('blockchain', 'getProvider') if (providerName !== provider.name) { this.emit('providerUnpinned', provider.name, provider) - this.call('notification', 'toast', `"${provider.displayName}" has been removed from the Network list of the Deploy & Run Transactions module.`) + this.call('notification', 'toast', `"${provider.displayName}" has been removed from the Environment list of the Deploy & Run Transactions plugin.`) return true } else { this.call('notification', 'toast', 'Cannot unpin the current selected provider') @@ -178,13 +178,13 @@ export class EnvironmentExplorer extends ViewPlugin { pinStateCallback={async (pinned: boolean) => { if (pinned) { this.emit('providerPinned', provider.name, provider) - this.call('notification', 'toast', `"${provider.displayName}" has been added to the Network list of the Deploy & Run Transactions module.`) + this.call('notification', 'toast', `"${provider.displayName}" has been added to the Environment list of the Deploy & Run Transactions plugin.`) return true } const providerName = await this.call('blockchain', 'getProvider') if (providerName !== provider.name) { this.emit('providerUnpinned', provider.name, provider) - this.call('notification', 'toast', `"${provider.displayName}" has been removed from the Network list of the Deploy & Run Transactions module.`) + this.call('notification', 'toast', `"${provider.displayName}" has been removed from the Environment list of the Deploy & Run Transactions plugin.`) return true } else { this.call('notification', 'toast', 'Cannot unpin the current selected provider') diff --git a/apps/remix-ide/src/app/udapp/run-tab.js b/apps/remix-ide/src/app/udapp/run-tab.js index 632a14df57..01b3b98c96 100644 --- a/apps/remix-ide/src/app/udapp/run-tab.js +++ b/apps/remix-ide/src/app/udapp/run-tab.js @@ -130,11 +130,11 @@ export class RunTab extends ViewPlugin { const udapp = this // eslint-disable-line const descriptions = { - 'vm-cancun': 'Deploy to the in-browser virtual machine which runs the cancun fork.', - 'vm-shanghai': 'Deploy to the in-browser virtual machine which runs the cancun fork.', - 'vm-paris': 'Deploy to the in-browser virtual machine which runs the paris fork.', - 'vm-london': 'Deploy to the in-browser virtual machine which runs the london fork.', - 'vm-berlin': 'Deploy to the in-browser virtual machine which runs the berlin fork.', + 'vm-cancun': 'Deploy to the in-browser virtual machine which runs the Cancun fork.', + 'vm-shanghai': 'Deploy to the in-browser virtual machine which runs the Shanghai fork.', + 'vm-paris': 'Deploy to the in-browser virtual machine which runs the Paris fork.', + 'vm-london': 'Deploy to the in-browser virtual machine which runs the London fork.', + 'vm-berlin': 'Deploy to the in-browser virtual machine which runs the Berlin fork.', 'vm-mainnet-fork': 'Deploy to the in-browser virtual machine which forks locally the ethereum mainnet.', 'vm-sepolia-fork': 'Deploy to the in-browser virtual machine which forks locally the sepolia testnet.', 'vm-custom-fork': 'Deploy to the in-browser virtual machine which forks locally a custom network.', @@ -166,7 +166,6 @@ export class RunTab extends ViewPlugin { } const addProvider = async (position, name, displayName, isInjected, isVM, fork = '', dataId = '', title = '') => { - console.log(name) await this.call('blockchain', 'addProvider', { position, options: {},