Fix wording in the js messages

This commit is contained in:
Jarka Kadlecova 2017-10-06 08:56:28 +02:00
parent 7d00296cb1
commit 97f9640747
3 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ export default {
Lock this {{ issuableDisplayName(issuableType) }}?
Only
<strong>project members</strong>
will be able to comment
will be able to comment.
</p>
<edit-form-buttons

View File

@ -39,7 +39,7 @@
<span v-if="isLockedAndConfidential">
{{ __('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.') }}
</span>
<span v-else-if="isConfidential">

View File

@ -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.');
});
});
});