<Helmet defer={false} title={translate('project_dump.page')} />
<Title className="sw-mb-4">{translate('project_dump.page')}</Title>
<p>
- {projectImportFeatureEnabled
- ? translate('project_dump.page.description')
- : translate('project_dump.page.description_without_import')}
+ {projectImportFeatureEnabled ? (
+ <>
+ <p>{translate('project_dump.page.description1')}</p>
+ <p>{translate('project_dump.page.description2')}</p>
+ </>
+ ) : (
+ <>
+ <p>{translate('project_dump.page.description_without_import1')}</p>
+ <p>{translate('project_dump.page.description_without_import2')}</p>
+ </>
+ )}
</p>
</header>
const COMPONENT_KEY = 'test';
const ui = {
- pageDescriptionWithImport: byText('project_dump.page.description'),
- pageDescriptionWithoutImport: byText('project_dump.page.description_without_import'),
+ pageDescriptionWithImport: byText('project_dump.page.description1'),
+ pageDescriptionWithoutImport: byText('project_dump.page.description_without_import1'),
disabledImportFeatureMsg: byText('project_dump.import_form_description_disabled'),
<div>
{!task && <div>{translate('project_dump.export_available')}</div>}
- <code tabIndex={0}>{status.exportedDump}</code>
+ <p className="sw-mt-2">{status.exportedDump}</p>
</div>
</div>
</FlagMessage>
#
#------------------------------------------------------------------------------
project_dump.page=Import / Export
-project_dump.page.description=Moving a project from one SonarQube instance to another is a 3 step operation: export the project, copy the generated dump on the target server, and finally import that dump from this page on the target SonarQube instance.
-project_dump.page.description_without_import=Export project issues, measures and measure history for import into an Enterprise Edition or higher instance of the same version and similar configuration. The export file will be generated to the file system. It must then be copied to the target file system for import.
+project_dump.page.description1=Moving a project from one SonarQube instance to another is a 3 step operation:
+project_dump.page.description2=Export the project, copy the generated dump on the target server, and finally import that dump from this page on the target SonarQube instance.
+project_dump.page.description_without_import1=Export project issues, measures and measure history for import into an Enterprise Edition or higher instance of the same version and similar configuration. The export file will be generated to the file system. It must then be copied to the target file system for import.
+project_dump.page.description_without_import2=The export file will be generated to the file system. It must then be copied to the target file system for import.
project_dump.refresh=Refresh
project_dump.see_details=See Details
project_dump.export=Export