Commit c95fce1b authored by Amy Qualls's avatar Amy Qualls Committed by Phil Hughes

Revise bad warning message: remove comma splice

Fix malformed sentence in the warning shown when a user tries to
edit a comment that has changed.
parent c3fcc450
...@@ -201,7 +201,7 @@ export default { ...@@ -201,7 +201,7 @@ export default {
changedCommentText() { changedCommentText() {
return sprintf( return sprintf(
__( __(
'This comment has changed since you started editing, please review the %{startTag}updated comment%{endTag} to ensure information is not lost.', 'This comment changed after you started editing it. Review the %{startTag}updated comment%{endTag} to ensure information is not lost.',
), ),
{ {
startTag: `<a href="${this.noteHash}" target="_blank" rel="noopener noreferrer">`, startTag: `<a href="${this.noteHash}" target="_blank" rel="noopener noreferrer">`,
......
...@@ -30436,7 +30436,7 @@ msgstr "" ...@@ -30436,7 +30436,7 @@ msgstr ""
msgid "This chart could not be displayed" msgid "This chart could not be displayed"
msgstr "" msgstr ""
msgid "This comment has changed since you started editing, please review the %{startTag}updated comment%{endTag} to ensure information is not lost." msgid "This comment changed after you started editing it. Review the %{startTag}updated comment%{endTag} to ensure information is not lost."
msgstr "" msgstr ""
msgid "This commit is part of merge request %{link_to_merge_request}. Comments created here will be created in the context of that merge request." msgid "This commit is part of merge request %{link_to_merge_request}. Comments created here will be created in the context of that merge request."
......
...@@ -83,7 +83,7 @@ describe('issue_note_form component', () => { ...@@ -83,7 +83,7 @@ describe('issue_note_form component', () => {
}); });
const message = const message =
'This comment has changed since you started editing, please review the updated comment to ensure information is not lost.'; 'This comment changed after you started editing it. Review the updated comment to ensure information is not lost.';
await nextTick(); await nextTick();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment