diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin/deletion')
-rw-r--r-- | server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js b/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js index d236654ed98..8269e2ac6af 100644 --- a/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js +++ b/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js @@ -22,9 +22,12 @@ import React from 'react'; import { translate } from '../../../helpers/l10n'; export default function Header(props: { component: { qualifier: string } }) { - const description = ['VW', 'SVW'].includes(props.component.qualifier) + const { qualifier } = props.component; + const description = ['VW', 'SVW'].includes(qualifier) ? translate('portfolio_deletion.page.description') - : translate('project_deletion.page.description'); + : qualifier === 'APP' + ? translate('application_deletion.page.description') + : translate('project_deletion.page.description'); return ( <header className="page-header"> |