diff --git a/locales/index.d.ts b/locales/index.d.ts index df6efe0d6a..f062dfe6e3 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -13053,6 +13053,10 @@ export interface Locale extends ILocale { * Timeout in milliseconds for translation API requests. */ "translationTimeoutCaption": string; + /** + * Except for regular expressions, all word mutes are *case-sensitive* and match on any substring, including part of a longer word or name. + */ + "wordMuteWarning": string; } declare const locales: { [lang: string]: Locale; diff --git a/packages/frontend/src/pages/settings/mute-block.vue b/packages/frontend/src/pages/settings/mute-block.vue index 257ed3edd8..8cc3945df8 100644 --- a/packages/frontend/src/pages/settings/mute-block.vue +++ b/packages/frontend/src/pages/settings/mute-block.vue @@ -22,6 +22,8 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.wordMuteDescription }} + {{ i18n.ts.wordMuteWarning }} + {{ i18n.ts.hardWordMuteDescription }} + + {{ i18n.ts.wordMuteWarning }} +
diff --git a/sharkey-locales/en-US.yml b/sharkey-locales/en-US.yml index 93e178c636..b9ec49753a 100644 --- a/sharkey-locales/en-US.yml +++ b/sharkey-locales/en-US.yml @@ -560,6 +560,7 @@ wordMuteTestTest: "Test" wordMuteTestMatch: "Matched words: {words}" wordMuteTestNoResults: "No results yet, enter some text and click \"Test\" to check it." wordMuteTestNoMatch: "Text does not match any patterns." +wordMuteWarning: "Except for regular expressions, all word mutes are *case-sensitive* and match on any substring, including part of a longer word or name." bubbleTimeline: "Bubble timeline" bubbleTimelineDescription: "Choose which instances should be displayed in the bubble."