From 97f964074741c54f153a45f6bdd5b9e303e6a306 Mon Sep 17 00:00:00 2001 From: Jarka Kadlecova Date: Fri, 6 Oct 2017 08:56:28 +0200 Subject: [PATCH] Fix wording in the js messages --- app/assets/javascripts/sidebar/components/lock/edit_form.vue | 2 +- .../javascripts/vue_shared/components/issue/issue_warning.vue | 2 +- .../vue_shared/components/issue/issue_warning_spec.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/sidebar/components/lock/edit_form.vue b/app/assets/javascripts/sidebar/components/lock/edit_form.vue index 0fa19ef7217..c7a6edc7c70 100644 --- a/app/assets/javascripts/sidebar/components/lock/edit_form.vue +++ b/app/assets/javascripts/sidebar/components/lock/edit_form.vue @@ -48,7 +48,7 @@ export default { Lock this {{ issuableDisplayName(issuableType) }}? Only project members - will be able to comment + will be able to comment.

{{ __('This issue is confidential and locked.') }} - {{ __('People without permission will never get a notification and not be able to comment.') }} + {{ __('People without permission will never get a notification and won\'t be able to comment.') }} diff --git a/spec/javascripts/vue_shared/components/issue/issue_warning_spec.js b/spec/javascripts/vue_shared/components/issue/issue_warning_spec.js index a5f408d3165..6d8c6d17a1c 100644 --- a/spec/javascripts/vue_shared/components/issue/issue_warning_spec.js +++ b/spec/javascripts/vue_shared/components/issue/issue_warning_spec.js @@ -40,7 +40,7 @@ describe('Issue Warning Component', () => { }); expect(vm.$el.querySelector('i')).toBeFalsy(); - expect(formatWarning(vm.$el.querySelector('span').textContent)).toEqual('This issue is confidential and locked. People without permission will never get a notification and not be able to comment.'); + expect(formatWarning(vm.$el.querySelector('span').textContent)).toEqual('This issue is confidential and locked. People without permission will never get a notification and won\'t be able to comment.'); }); }); });