Correct grammar and modify user-excluding highlight

This commit is contained in:
vitopigno
2025-06-08 02:25:21 +02:00
parent a60d5d4002
commit 881cf66e4e
3 changed files with 4 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ public sealed partial class ChatUIController : IOnSystemChanged<CharacterInfoSys
}
// Make sure any name tagged as ours gets highlighted only when others say it.
keyword = Regex.Replace(keyword, "^@", "(?<=(?<=/name.*)|(?<=,.*\"\".*))");
keyword = Regex.Replace(keyword, "^@", @"(?<=(?<=,.*"".*)|(?<!\[Name].*))");
_highlights.Add(keyword);
}

View File

@@ -37,6 +37,6 @@ hud-chatbox-highlights-button = Submit
hud-chatbox-highlights-tooltip = The words need to be separated by a newline,
if wrapped around " they will be highlighted
only if separated by spaces or punctuation.
hud-chatbox-highlights-placeholder = McHands
hud-chatbox-highlights-placeholder = @McHands
"Judge"
Medical

View File

@@ -50,8 +50,8 @@ ui-options-interface-label = Interface
ui-options-auto-fill-highlights = Auto-fill the highlights with the character's information
ui-options-highlights-color = Highlighs color:
ui-options-highlights-color-example = This is an highlighted text!
ui-options-highlights-color = Highlights color:
ui-options-highlights-color-example = This is a highlighted text!
ui-options-show-held-item = Show held item next to cursor
ui-options-show-combat-mode-indicators = Show combat mode indicators with cursor
ui-options-opaque-storage-window = Opaque storage window