{!showFilePathInput && state.useFileConfiguration && (
-
Click to open the config file}>
+
+
+
+ }
+ >
{
}
className="py-2 remixui_compilerConfigPath"
>
- {configFilePath === '' ? 'No file selected.' : configFilePath}
+ {configFilePath === '' ? intl.formatMessage({id: 'solidity.noFileSelected1'}) : configFilePath}
)}
@@ -1034,7 +1050,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
ref={configFilePathInput}
className={`py-0 my-0 form-control ${showFilePathInput ? 'd-flex' : 'd-none'}`}
placeholder={'/folder_path/file_name.json'}
- title="If the file you entered does not exist you will be able to create one in the next step."
+ title={intl.formatMessage({id: 'solidity.inputTitle1'})}
disabled={!state.useFileConfiguration}
data-id="scConfigFilePathInput"
onKeyPress={(event) => {
@@ -1072,10 +1088,10 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
{!(configFilePath === '' && state.useFileConfiguration) && (
- Ctrl+S to compile {state.compiledFileName.endsWith('.sol') ? state.compiledFileName : null}{' '}
+ Ctrl+S {state.compiledFileName.endsWith('.sol') ? state.compiledFileName : null}{' '}
)}
- {configFilePath === '' && state.useFileConfiguration &&
No config file selected
}
+ {configFilePath === '' && state.useFileConfiguration &&
}
}
>
@@ -1114,10 +1130,10 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
{!(configFilePath === '' && state.useFileConfiguration) && (
- Ctrl+Shift+S for compiling and script execution
+ Ctrl+Shift+S
)}
- {configFilePath === '' && state.useFileConfiguration &&
No config file selected
}
+ {configFilePath === '' && state.useFileConfiguration &&
}
}
>
@@ -1131,7 +1147,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
tooltipId="overlay-tooltip-compile-run-doc"
tooltipText={
-
Choose the script to execute right after compilation by adding the `dev-run-script` natspec tag, as in:
+
/**
@@ -1148,7 +1164,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
- Click the "i" icon to learn more
+
}
>
@@ -1156,7 +1172,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {