mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 15:36:35 +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
|
||||
|
||||
@@ -298,8 +298,6 @@ configure-wordList-banned-bannedWordsAndPhrases = Forbudte ord og sætninger
|
||||
configure-wordList-banned-explanation =
|
||||
Kommentarer, der indeholder et ord eller en sætning i listen over forbudte ord, afvises automatisk og offentliggøres ikke.
|
||||
configure-wordList-banned-wordList = Liste over forbudte ord
|
||||
configure-wordList-banned-wordListDetail =
|
||||
Adskil bannede ord eller sætninger med en ny linje.
|
||||
#### Suspect Words Configuration
|
||||
configure-wordList-suspect-bannedWordsAndPhrases = Mistænkte ord og sætninger
|
||||
configure-wordList-suspect-explanation =
|
||||
@@ -308,8 +306,6 @@ configure-wordList-suspect-explanation =
|
||||
kø til moderatorgennemgang og offentliggøres
|
||||
(hvis kommentarer ikke er før-modereret).
|
||||
configure-wordList-suspect-wordList = Mistænkte ordliste
|
||||
configure-wordList-suspect-wordListDetail =
|
||||
Adskil mistænkelige ord eller sætninger med en ny linje.
|
||||
|
||||
### Advanced
|
||||
configure-advanced-customCSS = Tilpasset CSS
|
||||
|
||||
@@ -328,8 +328,8 @@ configure-wordList-banned-bannedWordsAndPhrases = Banned words and phrases
|
||||
configure-wordList-banned-explanation =
|
||||
Comments containing a word or phrase in the banned words list are <strong>automatically rejected and are not published</strong>.
|
||||
configure-wordList-banned-wordList = Banned word list
|
||||
configure-wordList-banned-wordListDetail =
|
||||
Separate banned words or phrases with a new line.
|
||||
configure-wordList-banned-wordListDetailInstructions =
|
||||
Separate banned words or phrases with a new line. Words/phrases are not case sensitive.
|
||||
|
||||
#### Suspect Words Configuration
|
||||
configure-wordList-suspect-bannedWordsAndPhrases = Suspect words and phrases
|
||||
@@ -338,8 +338,8 @@ configure-wordList-suspect-explanation =
|
||||
are <strong>placed into the Reported Queue for moderator review and are
|
||||
published (if comments are not pre-moderated).</strong>
|
||||
configure-wordList-suspect-wordList = Suspect word list
|
||||
configure-wordList-suspect-wordListDetail =
|
||||
Separate suspect words or phrases with a new line.
|
||||
configure-wordList-suspect-wordListDetailInstructions =
|
||||
Separate suspect words or phrases with a new line. Words/phrases are not case sensitive.
|
||||
|
||||
### Advanced
|
||||
configure-advanced-customCSS = Custom CSS
|
||||
|
||||
@@ -316,10 +316,6 @@ configure-wordList-banned-bannedWordsAndPhrases = Palavras e Frases Banidas
|
||||
configure-wordList-banned-explanation =
|
||||
Comentários contendo uma palavra ou frase na lista de palavras banidas são <strong> rejeitados automaticamente e não são publicados </strong>.
|
||||
configure-wordList-banned-wordList = Lista de palavras banidas
|
||||
configure-wordList-banned-wordListDetail =
|
||||
Separe palavras ou frases banidas com uma nova linha. Tentando copiar
|
||||
e cole uma lista separada por vírgula? <externalLink> Saiba como converter sua lista
|
||||
para uma nova lista separada por linha. </externalLink>
|
||||
|
||||
#### Suspect Words Configuration
|
||||
configure-wordList-suspect-bannedWordsAndPhrases = Palavras e Frases Suspeitas
|
||||
@@ -328,10 +324,6 @@ configure-wordList-suspect-explanation =
|
||||
são <strong> colocados na Fila de Reportados para revisão de moderadores e são
|
||||
publicado (se os comentários não forem pré-moderados). </ strong>
|
||||
configure-wordList-suspect-wordList = Lista de Palavras Suspeitas
|
||||
configure-wordList-suspect-wordListDetail =
|
||||
Separe palavras suspeitas ou frases com uma nova linha. Tentando copiar
|
||||
e cole uma lista separada por vírgula? <externalLink> Saiba como converter sua lista
|
||||
para uma nova lista separada por linha. </externalLink>
|
||||
|
||||
### Advanced
|
||||
configure-advanced-customCSS = CSS Customizado
|
||||
|
||||
Reference in New Issue
Block a user