diff --git a/apps/remix-ide/src/app/tabs/locale-module.js b/apps/remix-ide/src/app/tabs/locale-module.js index 0487f94e96f..ad9b3c641fd 100644 --- a/apps/remix-ide/src/app/tabs/locale-module.js +++ b/apps/remix-ide/src/app/tabs/locale-module.js @@ -5,11 +5,17 @@ import * as packageJson from '../../../../../package.json' import Registry from '../state/registry' import enJson from './locales/en' import zhJson from './locales/zh' +import esJson from './locales/es' +import frJson from './locales/fr' +import itJson from './locales/it' const _paq = window._paq = window._paq || [] const locales = [ - { code: 'en', name: 'English', localeName: 'English', messages: enJson }, { code: 'zh', name: 'Chinese Simplified', localeName: '简体中文', messages: zhJson }, + { code: 'en', name: 'English', localeName: 'English', messages: enJson }, + { code: 'fr', name: 'French', localeName: 'Français', messages: frJson }, + { code: 'it', name: 'Italian', localeName: 'Italiano', messages: itJson }, + { code: 'es', name: 'Spanish', localeName: 'Español', messages: esJson } ] const profile = { diff --git a/apps/remix-ide/src/app/tabs/locales/fr/home.json b/apps/remix-ide/src/app/tabs/locales/fr/home.json index 802d22bef43..cfe3e5df99f 100644 --- a/apps/remix-ide/src/app/tabs/locales/fr/home.json +++ b/apps/remix-ide/src/app/tabs/locales/fr/home.json @@ -46,7 +46,7 @@ "home.remixLinkedinProfile": "Remix Linkedin Profile", "home.remixMediumPosts": "Remix Medium Posts", "home.remixGitterChannel": "Join us on Discord", - "home.nativeIDE": "The Native IDE for Web3 Development.", + "home.nativeIDE": "L'EDI natif pour le développement Web3.", "home.website": "Website", "home.documentation": "Documentation", "home.remixPlugin": "Remix Plugin", diff --git a/apps/remix-ide/src/app/tabs/locales/it/debugger.json b/apps/remix-ide/src/app/tabs/locales/it/debugger.json new file mode 100644 index 00000000000..2a7d40f1dac --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/debugger.json @@ -0,0 +1,11 @@ +{ + "debugger.displayName": "Debugger", + "debugger.debuggerConfiguration": "Debugger Configuration", + "debugger.stopDebugging": "Stop debugging", + "debugger.startDebugging": "Start debugging", + "debugger.placeholder": "Transaction hash, should start with 0x", + "debugger.debugLocaNodeLabel": "Force using local node", + "debugger.useGeneratedSources": "Use generated sources", + "debugger.debugWithGeneratedSources": "Debug with generated sources", + "debugger.introduction": "When Debugging with a transaction hash, if the contract is verified, Remix will try to fetch the source code from Sourcify or Etherscan. Put in your Etherscan API key in the Remix settings. For supported networks, please see" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/filePanel.json b/apps/remix-ide/src/app/tabs/locales/it/filePanel.json new file mode 100644 index 00000000000..ab7222713f5 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/filePanel.json @@ -0,0 +1,70 @@ +{ + "filePanel.displayName": "File explorer", + "filePanel.workspace": "WORKSPACES", + "filePanel.create": "Create", + "filePanel.clone": "Clone", + "filePanel.download": "Download", + "filePanel.backup": "Backup", + "filePanel.restore": "Restore", + "filePanel.workspace.create": "Create Workspace", + "filePanel.workspace.rename": "Rename Workspace", + "filePanel.workspace.delete": "Delete Workspace", + "filePanel.workspace.deleteConfirm": "Are you sure to delete the current workspace?", + "filePanel.workspace.download": "Download Workspace", + "filePanel.workspace.downloadConfirm": "This will download current workspace in a zip file. Do you want to continue?", + "filePanel.workspace.deleteAll": "Delete All Workspaces", + "filePanel.workspace.deleteAllConfirm1": "Are you absolutely sure you want to delete all your workspaces?", + "filePanel.workspace.deleteAllConfirm2": "Deleted workspaces can not be restored in any manner.", + "filePanel.workspace.name": "Workspace name", + "filePanel.workspace.chooseTemplate": "Choose a template", + "filePanel.workspace.backup": "Backup All Workspaces", + "filePanel.workspace.restore": "Restore Workspaces from the Backup", + "filePanel.workspace.clone": "Clone Git Repository", + "filePanel.workspace.cloneMessage": "Please provide a valid git repository url.", + "filePanel.workspace.enterGitUrl": "Enter git repository url", + "filePanel.workspace.switch": "Switch To Workspace", + "filePanel.workspace.solghaction": "Adds a preset yml file to run solidity unit tests on github actions CI.", + "filePanel.solghaction": "Solidity Test Workflow", + "filePanel.workspace.tssoltestghaction": "Adds a preset yml file to run mocha and chai tests for solidity on github actions CI", + "filePanel.tssoltestghaction": "Mocha Chai Test Workflow", + "filePanel.workspace.addscriptetherscan": "Adds scripts which can be used to interact with the Etherscan API", + "filePanel.addscriptetherscan": "Add Etherscan scripts", + "filePanel.workspace.addscriptdeployer": "Adds scripts which can be used to deploy contracts", + "filePanel.addscriptdeployer": "Add contract deployer scripts", + "filePanel.workspace.slitherghaction": "Adds a preset yml file to run slither analysis on github actions CI", + "filePanel.slitherghaction": "Slither Workflow", + "filePanel.workspace.helperscripts": "Adds convenient scripts to the 'scripts' directory", + "filePanel.helperscripts": "Web3 Scripts", + "filePanel.newFile": "New File", + "filePanel.newFolder": "New Folder", + "filePanel.rename": "Rename", + "filePanel.delete": "Delete", + "filePanel.deleteAll": "Delete All", + "filePanel.run": "Run", + "filePanel.pushChangesToGist": "Push changes to gist", + "filePanel.publishFolderToGist": "Publish folder to gist", + "filePanel.publishFileToGist": "Publish file to gist", + "filePanel.copy": "Copy", + "filePanel.paste": "Paste", + "filePanel.compile": "Compile", + "filePanel.compileForNahmii": "Compile for Nahmii", + "filePanel.createNewFile": "Create new file", + "filePanel.createNewFolder": "Create new folder", + "filePanel.publishToGist": "Publish all files to GitHub gist", + "filePanel.uploadFile": "Upload files", + "filePanel.uploadFolder": "Upload folder", + "filePanel.updateGist": "Update the current [gist] explorer", + "filePanel.viewAllBranches": "View all branches", + "filePanel.createBranch": "Create branch", + "filePanel.switchBranches": "Switch branches", + "filePanel.checkoutGitBranch": "Checkout Git Branch", + "filePanel.findOrCreateABranch": "Find or create a branch.", + "filePanel.initGitRepositoryLabel": "Initialize workspace as a new git repository", + "filePanel.initGitRepositoryWarning": "To use Git features, add username and email to the Github section of the Settings panel.", + "filePanel.workspaceName": "Workspace name", + "filePanel.customizeTemplate": "Customize template", + "filePanel.features": "Features", + "filePanel.upgradeability": "Upgradeability", + "filePanel.ok": "OK", + "filePanel.cancel": "Cancel" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/home.json b/apps/remix-ide/src/app/tabs/locales/it/home.json new file mode 100644 index 00000000000..802d22bef43 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/home.json @@ -0,0 +1,61 @@ +{ + "home.scamAlert": "Scam Alert", + "home.scamAlertText": "The only URL Remix uses is remix.ethereum.org", + "home.scamAlertText2": "Beware of online videos promoting \"liquidity front runner bots\"", + "home.scamAlertText3": "Additional safety tips", + "home.learnMore": "Learn more", + "home.here": "here", + "home.featured": "Featured", + "home.jumpIntoWeb3": "WE NEED YOUR HELP", + "home.jumpIntoWeb3More": "Go to survey", + "home.jumpIntoWeb3Text": "Remixers... Have a spare moment? Please help us improve your Remix experience with this one-minute survey.", + "home.remixYouTube": "WATCH TO LEARN", + "home.remixYouTubeText1": "Video Tips from the Remix Team", + "home.remixYouTubeMore": "Watch", + "home.remixYouTubeText2": "Remix has a growing library of videos containing lots of tips for using the tool. Check them out and subscribe to get our latest uploads.", + "home.betaTesting": "BETA TESTING", + "home.betaTestingText1": "Our community supports us.", + "home.betaTestingText2": "Help us beta test releases now and get a handle on new features!", + "home.betaTestingMore": "Sign up", + "home.featuredPlugins": "Featured Plugins", + "home.solidityPluginDesc": "Compile, test, and analyze smart contracts.", + "home.starkNetPluginDesc": "Compile and deploy contracts with Cairo, a native language for StarkNet.", + "home.solhintPluginDesc": "Solhint is an open source project for linting Solidity code.", + "home.sourcifyPluginDesc": "Solidity contract and metadata verification service.", + "home.unitTestPluginDesc": "Write and run unit tests for your contracts in Solidity.", + "home.dgitPluginDesc": "Add source control to your projects.", + "home.oneClickDappDesc": "Quickly generate smart contract interfaces", + "home.getStarted": "Get Started", + "home.projectTemplates": "Project Templates", + "home.blankTemplateDesc": "Create an empty workspace.", + "home.remixDefaultTemplateDesc": "Create a workspace with sample files.", + "home.ozerc20TemplateDesc": "Create an ERC20 token by importing OpenZeppelin library.", + "home.ozerc721TemplateDesc": "Create an NFT token by importing OpenZeppelin library.", + "home.ozerc1155TemplateDesc": "Create an ERC1155 token by importing OpenZeppelin library.", + "home.gnosisSafeMultisigTemplateDesc": "Create Multi-Signature wallets using this template.", + "home.zeroxErc20TemplateDesc": "Create an ERC20 token by importing 0xProject contract.", + "home.learn": "Learn", + "home.learnEth1": "Remix Basics", + "home.learnEth1Desc": "An introduction to Remix's interface and basic operations.", + "home.learnEth2": "Intro to Solidity", + "home.learnEth2Desc": "Interactively learn Solidity beginner concepts.", + "home.remixAdvanced": "Deploying with Libraries", + "home.remixAdvancedDesc": "Learn to deploy with libraries in Remix", + "home.remixYoutubePlaylist": "Remix Youtube Playlist", + "home.remixTwitterProfile": "Remix Twitter Profile", + "home.remixLinkedinProfile": "Remix Linkedin Profile", + "home.remixMediumPosts": "Remix Medium Posts", + "home.remixGitterChannel": "Join us on Discord", + "home.nativeIDE": "The Native IDE for Web3 Development.", + "home.website": "Website", + "home.documentation": "Documentation", + "home.remixPlugin": "Remix Plugin", + "home.remixDesktop": "Remix Desktop", + "home.searchDocumentation": "Search Documentation", + "home.files": "Files", + "home.newFile": "New File", + "home.openFile": "Open File", + "home.connectToLocalhost": "Access File System", + "home.loadFrom": "Load from", + "home.resources": "Resources" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/index.js b/apps/remix-ide/src/app/tabs/locales/it/index.js new file mode 100644 index 00000000000..ded9c45b14f --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/index.js @@ -0,0 +1,36 @@ +import debuggerJson from './debugger.json'; +import filePanelJson from './filePanel.json'; +import homeJson from './home.json'; +import panelJson from './panel.json'; +import pluginManagerJson from './pluginManager.json'; +import searchJson from './search.json'; +import settingsJson from './settings.json'; +import solidityJson from './solidity.json'; +import terminalJson from './terminal.json'; +import udappJson from './udapp.json'; +import solidityUnitTestingJson from './solidityUnitTesting.json'; +import permissionHandlerJson from './permissionHandler.json'; +import solUmlGenJson from './solUmlGen.json' +import remixAppJson from './remixApp.json' +import remixUiTabsJson from './remixUiTabs.json' +import enJson from '../en'; + +// There may have some un-translated content. Always fill in the gaps with EN JSON. +// No need for a defaultMessage prop when render a FormattedMessage component. +export default Object.assign({}, enJson, { + ...debuggerJson, + ...filePanelJson, + ...homeJson, + ...panelJson, + ...pluginManagerJson, + ...searchJson, + ...settingsJson, + ...solidityJson, + ...terminalJson, + ...udappJson, + ...solidityUnitTestingJson, + ...permissionHandlerJson, + ...solUmlGenJson, + ...remixAppJson, + ...remixUiTabsJson, +}) diff --git a/apps/remix-ide/src/app/tabs/locales/it/panel.json b/apps/remix-ide/src/app/tabs/locales/it/panel.json new file mode 100644 index 00000000000..070dbbd57f6 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/panel.json @@ -0,0 +1,6 @@ +{ + "panel.author": "Author", + "panel.maintainedBy": "Maintained By", + "panel.documentation": "Documentation", + "panel.description": "Description" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/permissionHandler.json b/apps/remix-ide/src/app/tabs/locales/it/permissionHandler.json new file mode 100644 index 00000000000..d41fe6c68e4 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/permissionHandler.json @@ -0,0 +1,13 @@ +{ + "permissionHandler.allPermissionsReset": "All permisssions have been reset.", + "permissionHandler.rememberText": "has changed and", + "permissionHandler.permissionHandlerMessage": "\"{from}\" {rememberText} would like to access to \"{method}\" of \"{to}\"`", + "permissionHandler.description": "Description", + "permissionHandler.noDescriptionProvided": "No description Provided", + "permissionHandler.makeSureYouTrustThisPlugin": "Make sure you trust this plugin before processing this call. If you choose to remember the choice for this specific call, the value will be kept only for the current session.", + "permissionHandler.rememberThisChoice": "Remember this choice", + "permissionHandler.resetAllPermissions": "Reset all Permissions", + "permissionHandler.permissionNeededFor": "Permission needed for {to}", + "permissionHandler.accept": "Accept", + "permissionHandler.decline": "Decline" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/pluginManager.json b/apps/remix-ide/src/app/tabs/locales/it/pluginManager.json new file mode 100644 index 00000000000..01287713d61 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/pluginManager.json @@ -0,0 +1,31 @@ +{ + "pluginManager.displayName": "Plugin manager", + "pluginManager.activate": "Activate", + "pluginManager.deactivate": "Deactivate", + "pluginManager.activeModules": "Active Modules", + "pluginManager.inactiveModules": "Inactive Modules", + "pluginManager.connectLocal": "Connect to a Local Plugin", + "pluginManager.localForm.title": "Local Plugin", + "pluginManager.localForm.pluginName": "Plugin Name", + "pluginManager.localForm.shouldBeCamelCase": "Should be camelCase", + "pluginManager.localForm.displayName": "Display Name", + "pluginManager.localForm.nameInTheHeader": "Name in the header", + "pluginManager.localForm.required": "required", + "pluginManager.localForm.commaSeparatedMethod": "comma separated list of method names", + "pluginManager.localForm.commaSeparatedPlugin": "comma separated list of plugin names", + "pluginManager.localForm.pluginsItCanActivate": "Plugins it can activate", + "pluginManager.localForm.typeOfConnection": "Type of connection", + "pluginManager.localForm.locationInRemix": "Location in remix", + "pluginManager.localForm.sidePanel": "Side Panel", + "pluginManager.localForm.mainPanel": "Main Panel", + "pluginManager.localForm.none": "None", + "pluginManager.Permissions": "Permissions", + "pluginManager.permissions": "permissions", + "pluginManager.pluginManagerPermissions": "Plugin Manager Permissions", + "pluginManager.currentPermissionSettings": "Current Permission Settings", + "pluginManager.noPermissionRequestedYet": "No Permission requested yet.", + "pluginManager.allow": "Allow", + "pluginManager.toCall": "to call", + "pluginManager.ok": "OK", + "pluginManager.cancel": "Cancel" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/remixApp.json b/apps/remix-ide/src/app/tabs/locales/it/remixApp.json new file mode 100644 index 00000000000..a67504f413b --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/remixApp.json @@ -0,0 +1,3 @@ +{ + "remixApp.scrollToSeeAllTabs": "Scroll to see all tabs" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/remixUiTabs.json b/apps/remix-ide/src/app/tabs/locales/it/remixUiTabs.json new file mode 100644 index 00000000000..1c60e9592d8 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/remixUiTabs.json @@ -0,0 +1,7 @@ +{ + "remixUiTabs.tooltipText1": "Run script (CTRL + SHIFT + S)", + "remixUiTabs.tooltipText2": "Compile CTRL + S", + "remixUiTabs.tooltipText3": "Select .sol or .yul file to compile or a .ts or .js file and run it", + "remixUiTabs.zoomOut": "Zoom out", + "remixUiTabs.zoomIn": "Zoom in" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/search.json b/apps/remix-ide/src/app/tabs/locales/it/search.json new file mode 100644 index 00000000000..5bb29ab8d2a --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/search.json @@ -0,0 +1,14 @@ +{ + "search.displayName": "Search in files", + "search.replace": "Replace", + "search.replaceAll": "Replace All", + "search.placeholder1": "Search ( Enter to search )", + "search.placeholder2": "Include ie *.sol ( Enter to include )", + "search.placeholder3": "Exclude ie .git/**/* ( Enter to exclude )", + "search.matchCase": "Match Case", + "search.matchWholeWord": "Match Whole Word", + "search.useRegularExpression": "Use Regular Expression", + "search.replaceWithoutConfirmation": "replace without confirmation", + "search.filesToInclude": "Files to include", + "search.filesToExclude": "Files to exclude" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/settings.json b/apps/remix-ide/src/app/tabs/locales/it/settings.json new file mode 100644 index 00000000000..58af512c35c --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/settings.json @@ -0,0 +1,26 @@ +{ + "settings.displayName": "Settings", + "settings.reset": "Reset to Default settings", + "settings.general": "General settings", + "settings.generateContractMetadataText": "Generate contract metadata. Generate a JSON file in the contract folder. Allows to specify library addresses the contract depends on. If nothing is specified, Remix deploys libraries automatically.", + "settings.ethereunVMText": "Always use the Remix VM at load", + "settings.wordWrapText": "Word wrap in editor", + "settings.useAutoCompleteText": "Enable code completion in editor.", + "settings.useShowGasInEditorText": "Display gas estimates in editor.", + "settings.displayErrorsText": "Display errors in editor while typing.", + "settings.matomoAnalytics": "Enable Matomo Analytics. We do not collect personally identifiable information (PII). The info is used to improve the site’s UX & UI. See more about ", + "settings.enablePersonalModeText": " Enable Personal Mode for web3 provider. Transaction sent over Web3 will use the web3.personal API.\n", + "settings.warnText": "Be sure the endpoint is opened before enabling it. This mode allows a user to provide a passphrase in the Remix interface without having to unlock the account. Although this is very convenient, you should completely trust the backend you are connected to (Geth, Parity, ...). Remix never persists any passphrase", + "settings.gitAccessTokenTitle": "Github Credentials", + "settings.gitAccessTokenText": "The access token is used to publish a Gist and retrieve GitHub contents. You may need to input username/email.", + "settings.gitAccessTokenText2": "Go to github token page (link below) to create a new token and save it in Remix. Make sure this token has only 'create gist' permission", + "settings.etherscanTokenTitle": "EtherScan Access Token", + "settings.etherscanAccessTokenText": "Manage the api key used to interact with Etherscan.", + "settings.etherscanAccessTokenText2": "Go to Etherscan api key page (link below) to create a new api key and save it in Remix.", + "settings.save": "Save", + "settings.remove": "Remove", + "settings.themes": "Themes", + "settings.locales": "Language", + "settings.swarm": "Swarm Settings", + "settings.ipfs": "IPFS Settings" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/solUmlGen.json b/apps/remix-ide/src/app/tabs/locales/it/solUmlGen.json new file mode 100644 index 00000000000..5816659c8b4 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/solUmlGen.json @@ -0,0 +1,10 @@ +{ + "solUmlGen.pngDownload": "Download as PNG", + "solUmlGen.pdfDownload": "Download as PDF", + "solUmlGen.pngDownloadTooltip": "Download UML diagram as a PNG file", + "solUmlGen.pdfDownloadTooltip": "Download UML diagram as a PDF file", + "solUmlGen.text1": "To view your contract as a UML Diagram", + "solUmlGen.text2": "Right click on your contract file", + "solUmlGen.clickOn": "Click on", + "solUmlGen.generateUML": "Generate UML" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/solidity.json b/apps/remix-ide/src/app/tabs/locales/it/solidity.json new file mode 100644 index 00000000000..4fd24d08361 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/solidity.json @@ -0,0 +1,42 @@ +{ + "solidity.displayName": "Solidity compiler", + "solidity.compiler": "Compiler", + "solidity.compileDetails": "Descargar detalles de compilación (formato JSON)", + "solidity.addACustomCompiler": "Add a custom compiler", + "solidity.addACustomCompilerWithURL": "Add a custom compiler with URL", + "solidity.includeNightlyBuilds": "Include nightly builds", + "solidity.autoCompile": "Auto compile", + "solidity.hideWarnings": "Hide warnings", + "solidity.enableHardhat": "Enable Hardhat Compilation", + "solidity.learnHardhat": "Learn how to use Hardhat Compilation", + "solidity.enableTruffle": "Enable Truffle Compilation", + "solidity.learnTruffle": "Learn how to use Truffle Compilation", + "solidity.advancedConfigurations": "Advanced Configurations", + "solidity.compilerConfiguration": "Compiler configuration", + "solidity.compilationDetails": "Compilation Details", + "solidity.language": "Language", + "solidity.evmVersion": "EVM Version", + "solidity.enableOptimization": "Enable optimization", + "solidity.useConfigurationFile": "Use configuration file", + "solidity.change": "Change", + "solidity.compile": "Compile", + "solidity.noFileSelected": "no file selected", + "solidity.compileAndRunScript": "Compile and Run script", + "solidity.publishOn": "Publish on", + "solidity.flatten": "Flatten contracts before UML generation.", + "solidity.generateUML": "Generate a UML diagram of your contract.", + "solidity.flattenLabel": "Flatten", + "solidity.generateUMLLabel": "Generate UML Diagram", + "solidity.Assembly": "Assembly opcodes describing the contract including corresponding solidity source code", + "solidity.Opcodes": "Assembly opcodes describing the contract", + "solidity.name": "Name of the compiled contract", + "solidity.metadata": "Contains all informations related to the compilation", + "solidity.bytecode": "Bytecode being executed during contract creation", + "solidity.abi": "ABI: describing all the functions (input/output params, scope, ...)", + "solidity.web3Deploy": "Copy/paste this code to any JavaScript/Web3 console to deploy this contract", + "solidity.metadataHash": "Hash representing all metadata information", + "solidity.functionHashes": "List of declared function and their corresponding hash", + "solidity.gasEstimates": "Gas estimation for each function call", + "solidity.Runtime Bytecode": "Bytecode storing the state and being executed during normal contract call", + "solidity.swarmLocation": "Swarm url where all metadata information can be found (contract needs to be published first)" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/solidityUnitTesting.json b/apps/remix-ide/src/app/tabs/locales/it/solidityUnitTesting.json new file mode 100644 index 00000000000..f1080804b69 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/solidityUnitTesting.json @@ -0,0 +1,35 @@ +{ + "solidityUnitTesting.displayName": "Solidity unit testing", + "solidityUnitTesting.testDirectory": "Test directory", + "solidityUnitTesting.testYourSmartContract": "Test your smart contract in Solidity.", + "solidityUnitTesting.selectDirectory": "Select directory to load and generate test files.", + "solidityUnitTesting.uiPathInputTooltip": "Press 'Enter' to change the path for test files.", + "solidityUnitTesting.uiPathInputButtonTooltip": "Create a test folder", + "solidityUnitTesting.create": "Create", + "solidityUnitTesting.generateTestsButtonTooltip": "Generate a sample test file", + "solidityUnitTesting.generate": "Generate", + "solidityUnitTesting.generateTestsLinkTooltip": "Check out documentation.", + "solidityUnitTesting.howToUse": "How to use...", + "solidityUnitTesting.runButtonTitle1": "Run tests", + "solidityUnitTesting.runButtonTitle2": "Please select Solidity compiler version greater than 0.4.12.", + "solidityUnitTesting.runButtonTitle3": "No solidity file selected", + "solidityUnitTesting.runButtonTitle4": "The \"Solidity Plugin\" should be activated", + "solidityUnitTesting.runButtonTitle5": "No test file selected", + "solidityUnitTesting.stopButtonLabel1": "Stop", + "solidityUnitTesting.stopButtonLabel2": "Stopping", + "solidityUnitTesting.run": "Run", + "solidityUnitTesting.runTestsTabStopActionTooltip": "Stop running tests", + "solidityUnitTesting.selectAll": "Select all", + "solidityUnitTesting.testTabTestsExecutionStopped": "The test execution has been stopped", + "solidityUnitTesting.testTabTestsExecutionStoppedError": "The test execution has been stopped because of error(s) in your test file", + "solidityUnitTesting.progress": "Progress: {readyTestsNumber} finished (of {runningTestsNumber})", + "solidityUnitTesting.resultFor": "Result for", + "solidityUnitTesting.passed": "Passed", + "solidityUnitTesting.failed": "Failed", + "solidityUnitTesting.timeTaken": "Time Taken", + "solidityUnitTesting.errorMessage": "Error Message", + "solidityUnitTesting.assertion": "Assertion", + "solidityUnitTesting.expectedValueShouldBe": "Expected value should be", + "solidityUnitTesting.receivedValue": "Received value", + "solidityUnitTesting.skippingTheRemainingTests": "Skipping the remaining tests of the function." +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/terminal.json b/apps/remix-ide/src/app/tabs/locales/it/terminal.json new file mode 100644 index 00000000000..a1754366860 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/terminal.json @@ -0,0 +1,17 @@ +{ + "terminal.listen": "listen on all transactions", + "terminal.listenTitle": "If checked Remix will listen on all transactions mined in the current environment and not only transactions created by you", + "terminal.search": "Search with transaction hash or address", + "terminal.used": "used", + "terminal.debug": "Debug", + "terminal.welcomeText1": "Welcome to", + "terminal.welcomeText2": "Your files are stored in", + "terminal.welcomeText3": "You can use this terminal to", + "terminal.welcomeText4": "Check transactions details and start debugging", + "terminal.welcomeText5": "Execute JavaScript scripts", + "terminal.welcomeText6": "Input a script directly in the command line interface", + "terminal.welcomeText7": "Select a Javascript file in the file explorer and then run `remix.execute()` or `remix.exeCurrent()` in the command line interface", + "terminal.welcomeText8": "Right click on a JavaScript file in the file explorer and then click `Run`", + "terminal.welcomeText9": "The following libraries are accessible", + "terminal.welcomeText10": "Type the library name to see available commands" +} diff --git a/apps/remix-ide/src/app/tabs/locales/it/udapp.json b/apps/remix-ide/src/app/tabs/locales/it/udapp.json new file mode 100644 index 00000000000..48090ab6318 --- /dev/null +++ b/apps/remix-ide/src/app/tabs/locales/it/udapp.json @@ -0,0 +1,64 @@ +{ + "udapp.displayName": "Deploy & run transactions", + "udapp.gasLimit": "Gas limit", + "udapp.account": "Account", + "udapp.value": "Value", + "udapp.contract": "Contract", + "udapp.compiledBy": "compiled by {compilerName}", + "udapp.infoSyncCompiledContractTooltip": "Click here to import contracts compiled from an external framework.This action is enabled when Remix is connected to an external framework (hardhat, truffle, foundry) through remixd.", + "udapp.remixIpfsUdappTooltip": "Publishing the source code and metadata to IPFS facilitates source code verification using Sourcify and will greatly foster contract adoption (auditing, debugging, calling it, etc...)", + "udapp.signAMessage": "Sign a message", + "udapp.enterAMessageToSign": "Enter a message to sign", + "udapp.hash": "hash", + "udapp.signature": "signature", + "udapp.signedMessage": "Signed Message", + "udapp.environment": "Environment", + "udapp.environmentDocs": "Click for docs about Environment", + "udapp.deploy": "Deploy", + "udapp.publishTo": "Publish to", + "udapp.or": "or", + "udapp.atAddress": "At Address", + "udapp.atAddressOptionsTitle1": "address of contract", + "udapp.atAddressOptionsTitle2": "Interact with the deployed contract - requires the .abi file or compiled .sol file to be selected in the editor (with the same compiler configuration)", + "udapp.atAddressOptionsTitle3": "Compile a *.sol file or select a *.abi file.", + "udapp.atAddressOptionsTitle4": "To interact with a deployed contract, either enter its address and compile its source *.sol file (with the same compiler settings) or select its .abi file in the editor. ", + "udapp.contractOptionsTitle1": "Please compile *.sol file to deploy or access a contract", + "udapp.contractOptionsTitle2": "Select a compiled contract to deploy or to use with At Address.", + "udapp.contractOptionsTitle3": "Select and compile *.sol file to deploy or access a contract.", + "udapp.contractOptionsTitle4": "When there is a compiled .sol file, choose the contract to deploy or to use with At Address.", + "udapp.checkSumWarning": "It seems you are not using a checksumed address.A checksummed address is an address that contains uppercase letters, as specified in {a}.Checksummed addresses are meant to help prevent users from sending transactions to the wrong address.", + "udapp.isOverSizePromptEip170": "Contract creation initialization returns data with length of more than 24576 bytes. The deployment will likely fail if the current network has activated the eip 170. More info: {a}", + "udapp.isOverSizePromptEip3860": "Contract creation init code exceeds the allowed max code size of 49152 bytes. The deployment will likely fail if the current network has activated the eip 3860. More info: {a}", + "udapp.thisContractMayBeAbstract": "This contract may be abstract, it may not implement an abstract parent's methods completely or it may not invoke an inherited contract's constructor correctly.", + "udapp.noCompiledContracts": "No compiled contracts", + "udapp.addressOfContract": "Address of contract", + "udapp.loadContractFromAddress": "Load contract from Address", + "udapp.deployedContracts": "Deployed Contracts", + "udapp.deployAndRunClearInstances": "Clear instances list and reset recorder", + "udapp.deployAndRunNoInstanceText": "Currently you have no contract instances to interact with.", + "udapp.transactionsRecorded": "Transactions recorded", + "udapp.transactionsCountTooltip": "The number of recorded transactions", + "udapp.transactionSaveTooltip1": "No transactions to save", + "udapp.transactionSaveTooltip2": "Save {count} transaction as scenario file", + "udapp.transactionSaveTooltip3": "Save {count} transactions as scenario file", + "udapp.infoRecorderTooltip": "Save transactions (deployed contracts and function executions) and replay them in another environment e.g Transactions created in Remix VM can be replayed in the Injected Provider.", + "udapp.livemodeRecorderTooltip": "If contracts are updated after recording transactions, checking this box will run recorded transactions with the latest copy of the compiled contracts", + "udapp.livemodeRecorderLabel": "Run transactions using the latest compilation result", + "udapp.runRecorderTooltip": "Run transaction(s) from the current scenario file", + "udapp.save": "Save", + "udapp.run": "Run", + "udapp.ok": "OK", + "udapp.alert": "Alert", + "udapp.proceed": "Proceed", + "udapp.cancel": "Cancel", + "udapp.parameters": "Parameters", + "udapp.copyParameters": "Copy encoded input parameters to clipboard", + "udapp.copyCalldata": "Copy calldata to clipboard", + "udapp.deployWithProxy": "Deploy with Proxy", + "udapp.upgradeWithProxy": "Upgrade with Proxy", + "udapp.useLastDeployedERC1967Contract": "Use last deployed ERC1967 contract", + "udapp.proxyAddressLabel": "Proxy Address", + "udapp.proxyAddressPlaceholder": "proxy address", + "udapp.proxyAddressInputTooltip": "Enter previously deployed proxy address on the selected network", + "udapp.proxyAddressTooltip": "Select this option to use the last deployed ERC1967 contract on the current network." +} diff --git a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx index 89960cdc568..a86f09e2724 100644 --- a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx @@ -14,7 +14,6 @@ import {CustomTooltip} from '@remix-ui/helper' interface IRemixAppUi { app: any } - const RemixApp = (props: IRemixAppUi) => { const [appReady, setAppReady] = useState(false) const [hideSidePanel, setHideSidePanel] = useState(false) diff --git a/libs/remix-ui/locale-module/src/lib/remix-ui-locale-module.tsx b/libs/remix-ui/locale-module/src/lib/remix-ui-locale-module.tsx index 465803be9ce..4ca7e07cd29 100644 --- a/libs/remix-ui/locale-module/src/lib/remix-ui-locale-module.tsx +++ b/libs/remix-ui/locale-module/src/lib/remix-ui-locale-module.tsx @@ -1,13 +1,13 @@ -import React, {useEffect, useState} from 'react' -import {FormattedMessage} from 'react-intl' -import {LocaleModule} from '../../types/locale-module' +import React, { useEffect, useState } from 'react' +import { FormattedMessage } from 'react-intl' +import { LocaleModule } from '../../types/locale-module' import './remix-ui-locale-module.module.css' export interface RemixUiLocaleModuleProps { localeModule: LocaleModule } -export function RemixUiLocaleModule({localeModule}: RemixUiLocaleModuleProps) { +export function RemixUiLocaleModule({ localeModule }: RemixUiLocaleModuleProps) { const [localeCode, setLocaleCode] = useState('') useEffect(() => {