Commit 30b23ace authored by Phil Hughes's avatar Phil Hughes

Merge branch '323906-aqualls-fix-comma-splice' into 'master'

Revise bad warning message: remove comma splice

See merge request gitlab-org/gitlab!56115
parents 63849666 c95fce1b
...@@ -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">`,
......
...@@ -30556,7 +30556,7 @@ msgstr "" ...@@ -30556,7 +30556,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