mirror of
https://github.com/wassname/talk.git
synced 2026-07-20 12:40:47 +08:00
[CORL-624] add note about word list case-sensitivity (#2607)
* add note about word list case-sensitivity: * fix: removed unused keys * fix: removed unused components * fix: linting and key fix
This commit is contained in:
committed by
Wyatt Johnson
parent
6edb411175
commit
fa3d442b36
@@ -1,7 +1,6 @@
|
||||
import { Localized } from "fluent-react/compat";
|
||||
import React, { FunctionComponent } from "react";
|
||||
|
||||
import { ExternalLink } from "coral-framework/lib/i18n/components";
|
||||
import {
|
||||
FormField,
|
||||
HorizontalGutter,
|
||||
@@ -39,15 +38,10 @@ const BannedWordListConfig: FunctionComponent<Props> = ({ disabled }) => (
|
||||
Banned word list
|
||||
</InputLabel>
|
||||
</Localized>
|
||||
<Localized
|
||||
id="configure-wordList-banned-wordListDetail"
|
||||
strong={<strong />}
|
||||
externalLink={<ExternalLink href="#" />}
|
||||
>
|
||||
<Localized id="configure-wordList-banned-wordListDetailInstructions">
|
||||
<InputDescription>
|
||||
Separate banned words or phrases with a new line. Attempting to copy
|
||||
and paste a comma separated list? Learn how to convert your list to
|
||||
a new line separated list.
|
||||
Separate banned words or phrases with a new line. Words/phrases are
|
||||
not case sensitive.
|
||||
</InputDescription>
|
||||
</Localized>
|
||||
<div>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Localized } from "fluent-react/compat";
|
||||
import React, { FunctionComponent } from "react";
|
||||
|
||||
import { ExternalLink } from "coral-framework/lib/i18n/components";
|
||||
import {
|
||||
FormField,
|
||||
HorizontalGutter,
|
||||
@@ -43,15 +42,10 @@ const SuspectWordListConfig: FunctionComponent<Props> = ({ disabled }) => (
|
||||
Suspect word list
|
||||
</InputLabel>
|
||||
</Localized>
|
||||
<Localized
|
||||
id="configure-wordList-suspect-wordListDetail"
|
||||
strong={<strong />}
|
||||
externalLink={<ExternalLink href="#" />}
|
||||
>
|
||||
<Localized id="configure-wordList-suspect-wordListDetailInstructions">
|
||||
<InputDescription>
|
||||
Separate suspect words or phrases with a new line. Attempting to
|
||||
copy and paste a comma separated list? Learn how to convert your
|
||||
list to a new line separated list.
|
||||
Separate suspect words or phrases with a new line. Words/phrases are
|
||||
not case sensitive.
|
||||
</InputDescription>
|
||||
</Localized>
|
||||
<div>
|
||||
|
||||
@@ -150,7 +150,7 @@ exports[`renders configure wordList 1`] = `
|
||||
<p
|
||||
className="Box-root Typography-root Typography-fieldDescription Typography-colorTextSecondary"
|
||||
>
|
||||
Separate banned words or phrases with a new line.
|
||||
Separate banned words or phrases with a new line. Words/phrases are not case sensitive.
|
||||
</p>
|
||||
<div>
|
||||
<textarea
|
||||
@@ -204,7 +204,7 @@ published (if comments are not pre-moderated).
|
||||
<p
|
||||
className="Box-root Typography-root Typography-fieldDescription Typography-colorTextSecondary"
|
||||
>
|
||||
Separate suspect words or phrases with a new line.
|
||||
Separate suspect words or phrases with a new line. Words/phrases are not case sensitive.
|
||||
</p>
|
||||
<div>
|
||||
<textarea
|
||||
|
||||
Reference in New Issue
Block a user