mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
adjusted banned slurs - TRIGGER / CONTENT WARNING: slurs, swearwords, assault, etc
This deletes two swear words that were causing trouble for French speakers (they mean "delay" or "late"). It also puts English variants of those words back to the list of slurs (IIRC, previously the base words were in that list but were moved to swears because of the French issue).
This commit is contained in:
parent
13bbafa9c4
commit
5fff084fe7
2 changed files with 5 additions and 5 deletions
|
|
@ -82,9 +82,9 @@
|
||||||
// See the comments in bannedWords.js for details.
|
// See the comments in bannedWords.js for details.
|
||||||
|
|
||||||
// 'spic' should not be banned because it's often used in the phrase "spic and span"
|
// 'spic' should not be banned because it's often used in the phrase "spic and span"
|
||||||
// 'tards' is currently not in this list because it's causing a problem for French speakers
|
// 'retard', 'retards', and 'tards' are not treated as slurs or swear words because
|
||||||
// - it's commonly used within French words after an accented 'e' which
|
// they mean "delay" in French and have no easy synoyms ('tards' is commonly used within
|
||||||
// the word blocker's regular expression treats as a word boundary
|
// words after an accented 'e' which the blocker's regular expression treats as a word boundary)
|
||||||
|
|
||||||
|
|
||||||
// DO NOT EDIT! See the comments at the top of this file.
|
// DO NOT EDIT! See the comments at the top of this file.
|
||||||
|
|
@ -103,6 +103,8 @@ const bannedSlurs = [
|
||||||
'fags',
|
'fags',
|
||||||
'faggot',
|
'faggot',
|
||||||
'faggots',
|
'faggots',
|
||||||
|
'a retard',
|
||||||
|
'retarded',
|
||||||
'sodomite',
|
'sodomite',
|
||||||
'sodomites',
|
'sodomites',
|
||||||
'whore',
|
'whore',
|
||||||
|
|
|
||||||
|
|
@ -156,8 +156,6 @@ const bannedWords = [
|
||||||
'sluts',
|
'sluts',
|
||||||
'nigga',
|
'nigga',
|
||||||
'niggas',
|
'niggas',
|
||||||
'retard',
|
|
||||||
'retards',
|
|
||||||
'bastard',
|
'bastard',
|
||||||
'bastards',
|
'bastards',
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue