Update COMMENT_DETECTED_SPAM marker text to Spam Detected (#2576)

Since this is used by Akismet and other spam detection tools, this
wording matches what Wordpress users will expect when seeing comments
detected as spam.

CORL-395
This commit is contained in:
Nick Funk
2019-09-20 13:48:00 -06:00
committed by Wyatt Johnson
parent 25c7f89b31
commit e4bfbbc1f8
5 changed files with 7 additions and 4 deletions
@@ -63,8 +63,8 @@ const markers: Array<
c =>
(c.revision &&
c.revision.actionCounts.flag.reasons.COMMENT_DETECTED_SPAM && (
<Localized id="moderate-marker-spam" key={keyCounter++}>
<Marker color="error">Spam</Marker>
<Localized id="moderate-marker-spamDetected" key={keyCounter++}>
<Marker color="error">Spam Detected</Marker>
</Localized>
)) ||
null,
@@ -81,12 +81,12 @@ exports[`renders all markers 1`] = `
</withPropsOnChange(Marker)>
</Localized>
<Localized
id="moderate-marker-spam"
id="moderate-marker-spamDetected"
>
<withPropsOnChange(Marker)
color="error"
>
Spam
Spam Detected
</withPropsOnChange(Marker)>
</Localized>
<Localized