mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-08 04:54:32 +00:00
add warning banner about word mute limitations
This commit is contained in:
parent
1a9f8f782a
commit
535d316839
3 changed files with 10 additions and 0 deletions
4
locales/index.d.ts
vendored
4
locales/index.d.ts
vendored
|
@ -13053,6 +13053,10 @@ export interface Locale extends ILocale {
|
||||||
* Timeout in milliseconds for translation API requests.
|
* Timeout in milliseconds for translation API requests.
|
||||||
*/
|
*/
|
||||||
"translationTimeoutCaption": string;
|
"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: {
|
declare const locales: {
|
||||||
[lang: string]: Locale;
|
[lang: string]: Locale;
|
||||||
|
|
|
@ -22,6 +22,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<div class="_gaps_m">
|
<div class="_gaps_m">
|
||||||
<MkInfo>{{ i18n.ts.wordMuteDescription }}</MkInfo>
|
<MkInfo>{{ i18n.ts.wordMuteDescription }}</MkInfo>
|
||||||
|
|
||||||
|
<MkInfo warn>{{ i18n.ts.wordMuteWarning }}</MkInfo>
|
||||||
|
|
||||||
<SearchMarker
|
<SearchMarker
|
||||||
:label="i18n.ts.showMutedWord"
|
:label="i18n.ts.showMutedWord"
|
||||||
:keywords="['show']"
|
:keywords="['show']"
|
||||||
|
@ -44,6 +46,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<div class="_gaps_m">
|
<div class="_gaps_m">
|
||||||
<MkInfo>{{ i18n.ts.hardWordMuteDescription }}</MkInfo>
|
<MkInfo>{{ i18n.ts.hardWordMuteDescription }}</MkInfo>
|
||||||
|
|
||||||
|
<MkInfo warn>{{ i18n.ts.wordMuteWarning }}</MkInfo>
|
||||||
|
|
||||||
<XWordMute :muted="$i.hardMutedWords" @save="saveHardMutedWords"/>
|
<XWordMute :muted="$i.hardMutedWords" @save="saveHardMutedWords"/>
|
||||||
</div>
|
</div>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
|
|
|
@ -560,6 +560,7 @@ wordMuteTestTest: "Test"
|
||||||
wordMuteTestMatch: "Matched words: {words}"
|
wordMuteTestMatch: "Matched words: {words}"
|
||||||
wordMuteTestNoResults: "No results yet, enter some text and click \"Test\" to check it."
|
wordMuteTestNoResults: "No results yet, enter some text and click \"Test\" to check it."
|
||||||
wordMuteTestNoMatch: "Text does not match any patterns."
|
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"
|
bubbleTimeline: "Bubble timeline"
|
||||||
bubbleTimelineDescription: "Choose which instances should be displayed in the bubble."
|
bubbleTimelineDescription: "Choose which instances should be displayed in the bubble."
|
||||||
|
|
Loading…
Add table
Reference in a new issue