mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-28 01:41:13 -06:00
Fixed an issue where Import/Export Servers did not work in languages other than English.
This commit is contained in:
parent
a0c85431dc
commit
7b66777600
@ -150,11 +150,11 @@ export default function ImportExportServers() {
|
||||
setSummaryText('The following servers will be exported. Click the Finish button to complete the export process.');
|
||||
setNoteText('');
|
||||
} else if (selectionFormData.imp_exp == 'i') {
|
||||
setSummaryText('The following servers will be imported. Click the Finish button to complete the import process.');
|
||||
setSummaryText(gettext('The following servers will be imported. Click the Finish button to complete the import process.'));
|
||||
if (selectionFormData.replace_servers) {
|
||||
setNoteText('All existing server groups and servers will be removed before the servers above are imported. On a successful import process, the browser tree will be refreshed.');
|
||||
setNoteText(gettext('All existing server groups and servers will be removed before the servers above are imported. On a successful import process, the browser tree will be refreshed.'));
|
||||
} else {
|
||||
setNoteText('On a successful import process, the browser tree will be refreshed.');
|
||||
setNoteText(gettext('On a successful import process, the browser tree will be refreshed.'));
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -259,7 +259,7 @@ export default function ImportExportServers() {
|
||||
</table>
|
||||
</Paper>
|
||||
{selectionFormData.imp_exp == 'i' &&
|
||||
<FormNote className={classes.noteContainer} text={gettext(noteText)}/> }
|
||||
<FormNote className={classes.noteContainer} text={noteText}/> }
|
||||
</WizardStep>
|
||||
</Wizard>
|
||||
</Box>
|
||||
|
Loading…
Reference in New Issue
Block a user