Fix wording in the js messages
This commit is contained in:
parent
7d00296cb1
commit
97f9640747
|
@ -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
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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.');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue