summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/licenseModel/overview/summary/LicenseModelDescriptionEdit.jsx
diff options
context:
space:
mode:
authormiriame <miriam.eini@amdocs.com>2017-10-29 13:59:52 +0200
committermiriame <miriam.eini@amdocs.com>2017-11-02 13:56:22 +0200
commit6ef2c123721eb0061be3d6ece1e00349aadf7392 (patch)
tree6557acfa000760c8f3e730cb87159c030acbfb6b /openecomp-ui/src/sdc-app/onboarding/licenseModel/overview/summary/LicenseModelDescriptionEdit.jsx
parentbc51da2e2c262648993b80d27f0872bbbc4ef983 (diff)
VLM overview - refactor of edit description input
Change-Id: I8ba60ecdd9febacdf77bc354bd969462d8bae3e6 Issue-ID: SDC-552 Signed-off-by: miriame <miriam.eini@amdocs.com>
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/licenseModel/overview/summary/LicenseModelDescriptionEdit.jsx')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/licenseModel/overview/summary/LicenseModelDescriptionEdit.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/licenseModel/overview/summary/LicenseModelDescriptionEdit.jsx b/openecomp-ui/src/sdc-app/onboarding/licenseModel/overview/summary/LicenseModelDescriptionEdit.jsx
index 9232402b75..f4d6d4d42c 100644
--- a/openecomp-ui/src/sdc-app/onboarding/licenseModel/overview/summary/LicenseModelDescriptionEdit.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/licenseModel/overview/summary/LicenseModelDescriptionEdit.jsx
@@ -15,6 +15,7 @@
*/
import React from 'react';
import Input from 'nfvo-components/input/validation/Input.jsx';
+import i18n from 'nfvo-utils/i18n/i18n.js';
class LicenseModelDescriptionEdit extends React.Component {
render() {
@@ -33,8 +34,8 @@ class LicenseModelDescriptionEdit extends React.Component {
type='textarea'/>
<div className='buttons-row'>
<div className='buttons-wrapper'>
- <div onClick={() => this.onClose()} className='description-button' data-test-id='vlm-summary-vendor-desc-cancel-btn'>cancel</div>
- <div onClick={() => this.submit()} className={saveButtonClassName} data-test-id='vlm-summary-vendor-desc-save-btn'>save</div>
+ <div onClick={() => this.submit()} className={saveButtonClassName} data-test-id='vlm-summary-vendor-desc-save-btn'>{i18n('Save')}</div>
+ <div onClick={() => this.onClose()} className='description-button' data-test-id='vlm-summary-vendor-desc-cancel-btn'>{i18n('Cancel')}</div>
</div>
</div>
</div>