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) }}? 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

View File

@ -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">

View File

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