mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Allow watched words to be created as a group (#26632)
At the moment, there is no way to create a group of related watched words together. If a user needed a set of words to be created together, they'll have to create them individually one at a time. This change attempts to allow related watched words to be created as a group. The idea here is to have a list of words be tied together via a common `WatchedWordGroup` record. Given a list of words, a `WatchedWordGroup` record is created and assigned to each `WatchedWord` record. The existing WatchedWord creation behaviour remains largely unchanged. Co-authored-by: Selase Krakani <skrakani@gmail.com> Co-authored-by: Martin Brennan <martin@discourse.org>
This commit is contained in:
@@ -6122,9 +6122,9 @@ en:
|
||||
silence: "Silence new accounts if their very first post contains any of these words. The post will be automatically hidden until staff approves it."
|
||||
link: "Replace words in posts with links."
|
||||
form:
|
||||
label: "Has word or phrase"
|
||||
placeholder: "Enter word or phrase (* is a wildcard)"
|
||||
placeholder_regexp: "regular expression"
|
||||
label: "Has words or phrases"
|
||||
placeholder: "words or phrases (* is a wildcard)"
|
||||
placeholder_regexp: "regular expressions"
|
||||
replace_label: "Replacement"
|
||||
replace_placeholder: "example"
|
||||
tag_label: "Tag"
|
||||
@@ -6137,6 +6137,7 @@ en:
|
||||
upload_successful: "Upload successful. Words have been added."
|
||||
case_sensitivity_label: "Is case-sensitive"
|
||||
case_sensitivity_description: "Only words with matching character casing"
|
||||
words_or_phrases: "words or phrases"
|
||||
test:
|
||||
button_label: "Test"
|
||||
modal_title: "%{action}: Test Watched Words"
|
||||
|
||||
Reference in New Issue
Block a user