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) }}?
|
Lock this {{ issuableDisplayName(issuableType) }}?
|
||||||
Only
|
Only
|
||||||
<strong>project members</strong>
|
<strong>project members</strong>
|
||||||
will be able to comment
|
will be able to comment.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<edit-form-buttons
|
<edit-form-buttons
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
<span v-if="isLockedAndConfidential">
|
<span v-if="isLockedAndConfidential">
|
||||||
{{ __('This issue is confidential and locked.') }}
|
{{ __('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>
|
||||||
|
|
||||||
<span v-else-if="isConfidential">
|
<span v-else-if="isConfidential">
|
||||||
|
|
|
@ -40,7 +40,7 @@ describe('Issue Warning Component', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(vm.$el.querySelector('i')).toBeFalsy();
|
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