From 987abb5a686375f3689a2eccbf2026a300a3462e Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Thu, 22 Aug 2019 16:12:05 +0200 Subject: [PATCH] SONAR-12333 Change modal confirmation button to 'Extend' --- .../js/apps/quality-profiles/components/ExtendProfileForm.tsx | 2 +- .../__tests__/__snapshots__/ExtendProfileForm-test.tsx.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/components/ExtendProfileForm.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/components/ExtendProfileForm.tsx index 567c48f0687..97d211b14c5 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/components/ExtendProfileForm.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/components/ExtendProfileForm.tsx @@ -126,7 +126,7 @@ export default class ExtendProfileForm extends React.PureComponent disabled={this.state.loading || !this.canSubmit(this.state)} id="extend-profile-submit" onClick={this.handleFormSubmit}> - {translate('copy')} + {translate('extend')} {translate('cancel')} diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/__snapshots__/ExtendProfileForm-test.tsx.snap b/server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/__snapshots__/ExtendProfileForm-test.tsx.snap index d055f1c8968..ec03c936471 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/__snapshots__/ExtendProfileForm-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/__snapshots__/ExtendProfileForm-test.tsx.snap @@ -56,7 +56,7 @@ exports[`should render correctly 1`] = ` id="extend-profile-submit" onClick={[Function]} > - copy + extend