]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Correct grammar and modify user-excluding highlight
authorvitopigno <vitopigno@gmail.com>
Sun, 8 Jun 2025 00:25:21 +0000 (02:25 +0200)
committervitopigno <vitopigno@gmail.com>
Sun, 8 Jun 2025 00:25:21 +0000 (02:25 +0200)
Content.Client/UserInterface/Systems/Chat/ChatUIController.Highlighting.cs
Resources/Locale/en-US/chat/ui/chat-box.ftl
Resources/Locale/en-US/escape-menu/ui/options-menu.ftl

index e413999b2cdf81dc3b783f43027bfac7c16efa60..cc0eff4056ef6580bd5dde37a970a8b13ddfc8b0 100644 (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);
         }
index 7a3c33ad4380a2797b253b288fedd17c01ee882b..e00eae702a04fa3ede0e9210c9d496675fc3cf13 100644 (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
index 027b65667b2ca861c3849eb600362959d3c597a2..3451bf5d7b473010891099689c9328fd3b298ff1 100644 (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