]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-12333 Change modal confirmation button to 'Extend'
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Thu, 22 Aug 2019 14:12:05 +0000 (16:12 +0200)
committerSonarTech <sonartech@sonarsource.com>
Tue, 27 Aug 2019 18:21:04 +0000 (20:21 +0200)
server/sonar-web/src/main/js/apps/quality-profiles/components/ExtendProfileForm.tsx
server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/__snapshots__/ExtendProfileForm-test.tsx.snap

index 567c48f0687d0397430286241456cb2c59db493d..97d211b14c5d3e1fd4e9e051abb703f2fd1fdfeb 100644 (file)
@@ -126,7 +126,7 @@ export default class ExtendProfileForm extends React.PureComponent<Props, State>
               disabled={this.state.loading || !this.canSubmit(this.state)}
               id="extend-profile-submit"
               onClick={this.handleFormSubmit}>
-              {translate('copy')}
+              {translate('extend')}
             </SubmitButton>
             <ResetButtonLink id="extend-profile-cancel" onClick={this.props.onClose}>
               {translate('cancel')}
index d055f1c896895f9b9bc4f607e9699832f626b367..ec03c936471dc15acead02ced18eced0a6d8b93f 100644 (file)
@@ -56,7 +56,7 @@ exports[`should render correctly 1`] = `
         id="extend-profile-submit"
         onClick={[Function]}
       >
-        copy
+        extend
       </SubmitButton>
       <ResetButtonLink
         id="extend-profile-cancel"