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 {
changedCommentText() {
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">`,
......
......@@ -30436,7 +30436,7 @@ msgstr ""
msgid "This chart could not be displayed"
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 ""
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', () => {
});
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();
......
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