diff --git a/Content.Client/Options/UI/OptionColorSlider.xaml b/Content.Client/Options/UI/OptionColorSlider.xaml
new file mode 100644
index 0000000000..4f5f082350
--- /dev/null
+++ b/Content.Client/Options/UI/OptionColorSlider.xaml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/Content.Client/Options/UI/OptionColorSlider.xaml.cs b/Content.Client/Options/UI/OptionColorSlider.xaml.cs
new file mode 100644
index 0000000000..6f8f46a3b4
--- /dev/null
+++ b/Content.Client/Options/UI/OptionColorSlider.xaml.cs
@@ -0,0 +1,31 @@
+using Content.Client.Options.UI;
+using Robust.Client.AutoGenerated;
+using Robust.Client.UserInterface;
+
+namespace Content.Client.Options.UI;
+
+///
+/// Standard UI control used for color sliders in the options menu. Intended for use with .
+///
+///
+[GenerateTypedNameReferences]
+public sealed partial class OptionColorSlider : Control
+{
+ ///
+ /// The text describing what this slider affects.
+ ///
+ public string? Title
+ {
+ get => TitleLabel.Text;
+ set => TitleLabel.Text = value;
+ }
+
+ ///
+ /// The example text showing the current color of the slider.
+ ///
+ public string? Example
+ {
+ get => ExampleLabel.Text;
+ set => ExampleLabel.Text = value;
+ }
+}
diff --git a/Content.Client/Options/UI/OptionsTabControlRow.xaml.cs b/Content.Client/Options/UI/OptionsTabControlRow.xaml.cs
index 31dd9897f4..ad262f94a2 100644
--- a/Content.Client/Options/UI/OptionsTabControlRow.xaml.cs
+++ b/Content.Client/Options/UI/OptionsTabControlRow.xaml.cs
@@ -121,6 +121,19 @@ public sealed partial class OptionsTabControlRow : Control
return AddOption(new OptionSliderFloatCVar(this, _cfg, cVar, slider, min, max, scale, FormatPercent));
}
+ ///
+ /// Add a color slider option, backed by a simple string CVar.
+ ///
+ /// The CVar represented by the slider.
+ /// The UI control for the option.
+ /// The option instance backing the added option.
+ public OptionColorSliderCVar AddOptionColorSlider(
+ CVarDef cVar,
+ OptionColorSlider slider)
+ {
+ return AddOption(new OptionColorSliderCVar(this, _cfg, cVar, slider));
+ }
+
///
/// Add a slider option, backed by a simple integer CVar.
///
@@ -518,6 +531,58 @@ public sealed class OptionSliderFloatCVar : BaseOptionCVar
}
}
+///
+/// Implementation of a CVar option that simply corresponds with a string .
+///
+///
+public sealed class OptionColorSliderCVar : BaseOptionCVar
+{
+ private readonly OptionColorSlider _slider;
+
+ protected override string Value
+ {
+ get => _slider.Slider.Color.ToHex();
+ set
+ {
+ _slider.Slider.Color = Color.FromHex(value);
+ UpdateLabelColor();
+ }
+ }
+
+ ///
+ /// Creates a new instance of this type.
+ ///
+ ///
+ ///
+ /// It is generally more convenient to call overloads on
+ /// such as instead of instantiating this type directly.
+ ///
+ ///
+ /// The control row that owns this option.
+ /// The configuration manager to get and set values from.
+ /// The CVar that is being controlled by this option.
+ /// The UI control for the option.
+ public OptionColorSliderCVar(
+ OptionsTabControlRow controller,
+ IConfigurationManager cfg,
+ CVarDef cVar,
+ OptionColorSlider slider) : base(controller, cfg, cVar)
+ {
+ _slider = slider;
+
+ slider.Slider.OnColorChanged += _ =>
+ {
+ ValueChanged();
+ UpdateLabelColor();
+ };
+ }
+
+ private void UpdateLabelColor()
+ {
+ _slider.ExampleLabel.FontColorOverride = Color.FromHex(Value);
+ }
+}
+
///
/// Implementation of a CVar option that simply corresponds with an integer .
///
diff --git a/Content.Client/Options/UI/Tabs/AccessibilityTab.xaml b/Content.Client/Options/UI/Tabs/AccessibilityTab.xaml
index 5041b498a0..41fac83c59 100644
--- a/Content.Client/Options/UI/Tabs/AccessibilityTab.xaml
+++ b/Content.Client/Options/UI/Tabs/AccessibilityTab.xaml
@@ -14,6 +14,10 @@
+
+
diff --git a/Content.Client/Options/UI/Tabs/AccessibilityTab.xaml.cs b/Content.Client/Options/UI/Tabs/AccessibilityTab.xaml.cs
index f87cda746c..0c88eae50d 100644
--- a/Content.Client/Options/UI/Tabs/AccessibilityTab.xaml.cs
+++ b/Content.Client/Options/UI/Tabs/AccessibilityTab.xaml.cs
@@ -20,6 +20,8 @@ public sealed partial class AccessibilityTab : Control
Control.AddOptionPercentSlider(CCVars.SpeechBubbleTextOpacity, SpeechBubbleTextOpacitySlider);
Control.AddOptionPercentSlider(CCVars.SpeechBubbleSpeakerOpacity, SpeechBubbleSpeakerOpacitySlider);
Control.AddOptionPercentSlider(CCVars.SpeechBubbleBackgroundOpacity, SpeechBubbleBackgroundOpacitySlider);
+ Control.AddOptionCheckBox(CCVars.ChatAutoFillHighlights, AutoFillHighlightsCheckBox);
+ Control.AddOptionColorSlider(CCVars.ChatHighlightsColor, HighlightsColorSlider);
Control.AddOptionCheckBox(CCVars.AccessibilityClientCensorNudity, CensorNudityCheckBox);
diff --git a/Content.Client/UserInterface/Systems/Chat/ChatUIController.Highlighting.cs b/Content.Client/UserInterface/Systems/Chat/ChatUIController.Highlighting.cs
new file mode 100644
index 0000000000..e413999b2c
--- /dev/null
+++ b/Content.Client/UserInterface/Systems/Chat/ChatUIController.Highlighting.cs
@@ -0,0 +1,156 @@
+using System.Linq;
+using System.Text.RegularExpressions;
+using Robust.Client.UserInterface;
+using Robust.Client.UserInterface.Controllers;
+using Content.Shared.CCVar;
+using Content.Client.CharacterInfo;
+using static Content.Client.CharacterInfo.CharacterInfoSystem;
+
+namespace Content.Client.UserInterface.Systems.Chat;
+
+///
+/// A partial class of ChatUIController that handles the saving and loading of highlights for the chatbox.
+/// It also makes use of the CharacterInfoSystem to optionally generate highlights based on the character's info.
+///
+public sealed partial class ChatUIController : IOnSystemChanged
+{
+ [UISystemDependency] private readonly CharacterInfoSystem _characterInfo = default!;
+
+ ///
+ /// The list of words to be highlighted in the chatbox.
+ ///
+ private List _highlights = new();
+
+ ///
+ /// The string holding the hex color used to highlight words.
+ ///
+ private string? _highlightsColor;
+
+ private bool _autoFillHighlightsEnabled;
+
+ ///
+ /// The boolean that keeps track of the 'OnCharacterUpdated' event, whenever it's a player attaching or opening the character info panel.
+ ///
+ private bool _charInfoIsAttach = false;
+
+ public event Action? HighlightsUpdated;
+
+ private void InitializeHighlights()
+ {
+ _config.OnValueChanged(CCVars.ChatAutoFillHighlights, (value) => { _autoFillHighlightsEnabled = value; }, true);
+
+ _config.OnValueChanged(CCVars.ChatHighlightsColor, (value) => { _highlightsColor = value; }, true);
+
+ // Load highlights if any were saved.
+ string highlights = _config.GetCVar(CCVars.ChatHighlights);
+
+ if (!string.IsNullOrEmpty(highlights))
+ {
+ UpdateHighlights(highlights, true);
+ }
+ }
+
+ public void OnSystemLoaded(CharacterInfoSystem system)
+ {
+ system.OnCharacterUpdate += OnCharacterUpdated;
+ }
+
+ public void OnSystemUnloaded(CharacterInfoSystem system)
+ {
+ system.OnCharacterUpdate -= OnCharacterUpdated;
+ }
+
+ private void UpdateAutoFillHighlights()
+ {
+ if (!_autoFillHighlightsEnabled)
+ return;
+
+ // If auto highlights are enabled generate a request for new character info
+ // that will be used to determine the highlights.
+ _charInfoIsAttach = true;
+ _characterInfo.RequestCharacterInfo();
+ }
+
+ public void UpdateHighlights(string newHighlights, bool firstLoad = false)
+ {
+ // Do nothing if the provided highlights are the same as the old ones and it is not the first time.
+ if (!firstLoad && _config.GetCVar(CCVars.ChatHighlights).Equals(newHighlights, StringComparison.CurrentCultureIgnoreCase))
+ return;
+
+ _config.SetCVar(CCVars.ChatHighlights, newHighlights);
+ _config.SaveToFile();
+
+ _highlights.Clear();
+
+ // We first subdivide the highlights based on newlines to prevent replacing
+ // a valid "\n" tag and adding it to the final regex.
+ string[] splittedHighlights = newHighlights.Split('\n', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries);
+
+ for (int i = 0; i < splittedHighlights.Length; i++)
+ {
+ // Replace every "\" character with a "\\" to prevent "\n", "\0", etc...
+ string keyword = splittedHighlights[i].Replace(@"\", @"\\");
+
+ // Escape the keyword to prevent special characters like "(" and ")" to be considered valid regex.
+ keyword = Regex.Escape(keyword);
+
+ // 1. Since the "["s in WrappedMessage are already sanitized, add 2 extra "\"s
+ // to make sure it matches the literal "\" before the square bracket.
+ keyword = keyword.Replace(@"\[", @"\\\[");
+
+ // If present, replace the double quotes at the edges with tags
+ // that make sure the words to match are separated by spaces or punctuation.
+ // NOTE: The reason why we don't use \b tags is that \b doesn't match reverse slash characters "\" so
+ // a pre-sanitized (see 1.) string like "\[test]" wouldn't get picked up by the \b.
+ if (keyword.Count(c => (c == '"')) > 0)
+ {
+ // Matches the last double quote character.
+ keyword = Regex.Replace(keyword, "\"$", "(?!\\w)");
+ // When matching for the first double quote character we also consider the possibility
+ // of the double quote being preceded by a @ character.
+ keyword = Regex.Replace(keyword, "^\"|(?<=^@)\"", "(? y.Length.CompareTo(x.Length));
+ }
+
+ private void OnCharacterUpdated(CharacterData data)
+ {
+ // If _charInfoIsAttach is false then the opening of the character panel was the one
+ // to generate the event, dismiss it.
+ if (!_charInfoIsAttach)
+ return;
+
+ var (_, job, _, _, entityName) = data;
+
+ // Mark this entity's name as our character name for the "UpdateHighlights" function.
+ string newHighlights = "@" + entityName;
+
+ // Subdivide the character's name based on spaces or hyphens so that every word gets highlighted.
+ if (newHighlights.Count(c => (c == ' ' || c == '-')) == 1)
+ newHighlights = newHighlights.Replace("-", "\n@").Replace(" ", "\n@");
+
+ // If the character has a name with more than one hyphen assume it is a lizard name and extract the first and
+ // last name eg. "Eats-The-Food" -> "@Eats" "@Food"
+ if (newHighlights.Count(c => c == '-') > 1)
+ newHighlights = newHighlights.Split('-')[0] + "\n@" + newHighlights.Split('-')[^1];
+
+ // Convert the job title to kebab-case and use it as a key for the loc file.
+ string jobKey = job.Replace(' ', '-').ToLower();
+
+ if (Loc.TryGetString($"highlights-{jobKey}", out var jobMatches))
+ newHighlights += '\n' + jobMatches.Replace(", ", "\n");
+
+ UpdateHighlights(newHighlights);
+ HighlightsUpdated?.Invoke(newHighlights);
+ _charInfoIsAttach = false;
+ }
+}
diff --git a/Content.Client/UserInterface/Systems/Chat/ChatUIController.cs b/Content.Client/UserInterface/Systems/Chat/ChatUIController.cs
index 1ccba1ae20..13c6ff4a2a 100644
--- a/Content.Client/UserInterface/Systems/Chat/ChatUIController.cs
+++ b/Content.Client/UserInterface/Systems/Chat/ChatUIController.cs
@@ -41,9 +41,10 @@ using Robust.Shared.Replays;
using Robust.Shared.Timing;
using Robust.Shared.Utility;
+
namespace Content.Client.UserInterface.Systems.Chat;
-public sealed class ChatUIController : UIController
+public sealed partial class ChatUIController : UIController
{
[Dependency] private readonly IClientAdminManager _admin = default!;
[Dependency] private readonly IChatManager _manager = default!;
@@ -240,6 +241,7 @@ public sealed class ChatUIController : UIController
_config.OnValueChanged(CCVars.ChatWindowOpacity, OnChatWindowOpacityChanged);
+ InitializeHighlights();
}
public void OnScreenLoad()
@@ -426,6 +428,8 @@ public sealed class ChatUIController : UIController
private void OnAttachedChanged(EntityUid uid)
{
UpdateChannelPermissions();
+
+ UpdateAutoFillHighlights();
}
private void AddSpeechBubble(ChatMessage msg, SpeechBubble.SpeechType speechType)
@@ -825,6 +829,12 @@ public sealed class ChatUIController : UIController
msg.WrappedMessage = SharedChatSystem.InjectTagInsideTag(msg, "Name", "color", GetNameColor(SharedChatSystem.GetStringInsideTag(msg, "Name")));
}
+ // Color any words chosen by the client.
+ foreach (var highlight in _highlights)
+ {
+ msg.WrappedMessage = SharedChatSystem.InjectTagAroundString(msg, highlight, "color", _highlightsColor);
+ }
+
// Color any codewords for minds that have roles that use them
if (_player.LocalUser != null && _mindSystem != null && _roleCodewordSystem != null)
{
diff --git a/Content.Client/UserInterface/Systems/Chat/Controls/ChannelFilterPopup.xaml b/Content.Client/UserInterface/Systems/Chat/Controls/ChannelFilterPopup.xaml
index 459c44eee2..2e4a057a05 100644
--- a/Content.Client/UserInterface/Systems/Chat/Controls/ChannelFilterPopup.xaml
+++ b/Content.Client/UserInterface/Systems/Chat/Controls/ChannelFilterPopup.xaml
@@ -1,10 +1,22 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Content.Client/UserInterface/Systems/Chat/Controls/ChannelFilterPopup.xaml.cs b/Content.Client/UserInterface/Systems/Chat/Controls/ChannelFilterPopup.xaml.cs
index 33a82db335..100607d36e 100644
--- a/Content.Client/UserInterface/Systems/Chat/Controls/ChannelFilterPopup.xaml.cs
+++ b/Content.Client/UserInterface/Systems/Chat/Controls/ChannelFilterPopup.xaml.cs
@@ -1,4 +1,7 @@
using Content.Shared.Chat;
+using Content.Shared.CCVar;
+using Robust.Shared.Utility;
+using Robust.Shared.Configuration;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
@@ -29,10 +32,24 @@ public sealed partial class ChannelFilterPopup : Popup
private readonly Dictionary _filterStates = new();
public event Action? OnChannelFilter;
+ public event Action? OnNewHighlights;
public ChannelFilterPopup()
{
RobustXamlLoader.Load(this);
+
+ HighlightButton.OnPressed += HighlightsEntered;
+ // Add a placeholder text to the highlights TextEdit.
+ HighlightEdit.Placeholder = new Rope.Leaf(Loc.GetString("hud-chatbox-highlights-placeholder"));
+
+ // Load highlights if any were saved.
+ var cfg = IoCManager.Resolve();
+ string highlights = cfg.GetCVar(CCVars.ChatHighlights);
+
+ if (!string.IsNullOrEmpty(highlights))
+ {
+ UpdateHighlights(highlights);
+ }
}
public bool IsActive(ChatChannel channel)
@@ -92,12 +109,22 @@ public sealed partial class ChannelFilterPopup : Popup
}
}
+ public void UpdateHighlights(string highlights)
+ {
+ HighlightEdit.TextRope = new Rope.Leaf(highlights);
+ }
+
private void CheckboxPressed(ButtonEventArgs args)
{
var checkbox = (ChannelFilterCheckbox) args.Button;
OnChannelFilter?.Invoke(checkbox.Channel, checkbox.Pressed);
}
+ private void HighlightsEntered(ButtonEventArgs _args)
+ {
+ OnNewHighlights?.Invoke(Rope.Collapse(HighlightEdit.TextRope));
+ }
+
public void UpdateUnread(ChatChannel channel, int? unread)
{
if (_filterStates.TryGetValue(channel, out var checkbox))
diff --git a/Content.Client/UserInterface/Systems/Chat/Widgets/ChatBox.xaml.cs b/Content.Client/UserInterface/Systems/Chat/Widgets/ChatBox.xaml.cs
index 068cf4e87e..289c9fa164 100644
--- a/Content.Client/UserInterface/Systems/Chat/Widgets/ChatBox.xaml.cs
+++ b/Content.Client/UserInterface/Systems/Chat/Widgets/ChatBox.xaml.cs
@@ -38,9 +38,10 @@ public partial class ChatBox : UIWidget
ChatInput.Input.OnFocusExit += OnFocusExit;
ChatInput.ChannelSelector.OnChannelSelect += OnChannelSelect;
ChatInput.FilterButton.Popup.OnChannelFilter += OnChannelFilter;
-
+ ChatInput.FilterButton.Popup.OnNewHighlights += OnNewHighlights;
_controller = UserInterfaceManager.GetUIController();
_controller.MessageAdded += OnMessageAdded;
+ _controller.HighlightsUpdated += OnHighlightsUpdated;
_controller.RegisterChat(this);
}
@@ -67,6 +68,11 @@ public partial class ChatBox : UIWidget
AddLine(msg.WrappedMessage, color);
}
+ private void OnHighlightsUpdated(string highlights)
+ {
+ ChatInput.FilterButton.Popup.UpdateHighlights(highlights);
+ }
+
private void OnChannelSelect(ChatSelectChannel channel)
{
_controller.UpdateSelectedChannel(this);
@@ -97,6 +103,11 @@ public partial class ChatBox : UIWidget
}
}
+ private void OnNewHighlights(string highlighs)
+ {
+ _controller.UpdateHighlights(highlighs);
+ }
+
public void AddLine(string message, Color color)
{
var formatted = new FormattedMessage(3);
diff --git a/Content.Shared/CCVar/CCVars.Chat.cs b/Content.Shared/CCVar/CCVars.Chat.cs
index 139a82372a..9f31e0527e 100644
--- a/Content.Shared/CCVar/CCVars.Chat.cs
+++ b/Content.Shared/CCVar/CCVars.Chat.cs
@@ -65,4 +65,22 @@ public sealed partial class CCVars
"",
CVar.SERVER | CVar.SERVERONLY | CVar.ARCHIVE,
"A message broadcast to each player that joins the lobby.");
+
+ ///
+ /// A string containing a list of newline-separated words to be highlighted in the chat.
+ ///
+ public static readonly CVarDef ChatHighlights =
+ CVarDef.Create("chat.highlights", "", CVar.CLIENTONLY | CVar.ARCHIVE, "A list of newline-separated words to be highlighted in the chat.");
+
+ ///
+ /// An option to toggle the automatic filling of the highlights with the character's info, if available.
+ ///
+ public static readonly CVarDef ChatAutoFillHighlights =
+ CVarDef.Create("chat.auto_fill_highlights", false, CVar.CLIENTONLY | CVar.ARCHIVE, "Toggles automatically filling the highlights with the character's information.");
+
+ ///
+ /// The color in which the highlights will be displayed.
+ ///
+ public static readonly CVarDef ChatHighlightsColor =
+ CVarDef.Create("chat.highlights_color", "#17FFC1FF", CVar.CLIENTONLY | CVar.ARCHIVE, "The color in which the highlights will be displayed.");
}
diff --git a/Resources/Locale/en-US/chat/highlights.ftl b/Resources/Locale/en-US/chat/highlights.ftl
new file mode 100644
index 0000000000..6d3610e7f0
--- /dev/null
+++ b/Resources/Locale/en-US/chat/highlights.ftl
@@ -0,0 +1,57 @@
+# Command
+highlights-captain = Captain, "Cap", Bridge, Command
+highlights-head-of-personnel = Head Of Personnel, "HoP", Service, Bridge, Command
+highlights-chief-engineer = Chief Engineer, "CE", Engineering, Engineer, "Engi", Bridge, Command
+highlights-chief-medical-officer = Chief Medical Officer, "CMO", MedBay, "Med", Bridge, Command
+highlights-head-of-security = Head of Security, "HoS", Security, "Sec", Bridge, Command
+highlights-quartermaster = Quartermaster, "QM", Cargo, Bridge, Command
+highlights-research-director = Research Director, "RD", Science, "Sci", Bridge, Command
+
+# Security
+highlights-detective = Detective, "Det", Security, "Sec"
+highlights-security-cadet = Security Cadet, Secoff, Cadet, Security, "Sec"
+highlights-security-officer = Security Officer, Secoff, Officer, Security, "Sec"
+highlights-warden = Warden, "Ward", Security, "Sec"
+
+# Cargo
+highlights-cargo-technician = Cargo Technician, Cargo Tech, "Cargo"
+highlights-salvage-specialist = Salvage Specialist, Salvager, Salvage, "Salv", "Cargo", Miner
+
+# Engineering
+highlights-atmospheric-technician = Atmospheric Technician, Atmos tech, Atmospheric, Engineering, "Atmos", "Engi"
+highlights-station-engineer = Station Engineer, Engineering, Engineer, "Engi"
+highlights-technical-assistant = Technical Assistant, Tech Assistant, Engineering, Engineer, "Engi"
+
+# Medical
+highlights-chemist = Chemist, Chemistry, "Chem", MedBay, "Med"
+highlights-medical-doctor = Medical Doctor, Doctor, "Doc", MedBay, "Med"
+highlights-medical-intern = Medical Intern, "Doc", Intern, MedBay, "Med"
+highlights-paramedic = Paramedic, "Para", MedBay, "Med"
+
+# Science
+highlights-scientist = Scientist, Science, "Sci"
+highlights-research-assistant = Research Assistant, Science, "Sci"
+
+# Civilian
+highlights-bartender = Bartender, Barkeeper, Barkeep, "Bar"
+highlights-botanist = Botanist, Botany, Hydroponics
+highlights-chaplain = Chaplain, "Chap", Chapel
+highlights-chef = Chef, "Cook", Kitchen
+highlights-clown = Clown, Jester
+highlights-janitor = Janitor, "Jani"
+highlights-lawyer = Lawyer, Attorney
+highlights-librarian = Librarian, Library
+highlights-mime = Mime
+highlights-passenger = Passenger, Greytider, "Tider"
+highlights-service-worker = Service Worker
+
+# Station-specific
+highlights-boxer = Boxer
+highlights-reporter = Reporter, Journalist
+highlights-zookeeper = Zookeeper
+highlights-psychologist = Psychologist, Psychology
+
+# Silicon
+highlights-personal-ai = Personal AI, "pAI"
+highlights-cyborg = Cyborg, Silicon, Borg
+highlights-station-ai = Station AI, Silicon, "AI", "sAI"
diff --git a/Resources/Locale/en-US/chat/ui/chat-box.ftl b/Resources/Locale/en-US/chat/ui/chat-box.ftl
index 720f0d15ab..7a3c33ad43 100644
--- a/Resources/Locale/en-US/chat/ui/chat-box.ftl
+++ b/Resources/Locale/en-US/chat/ui/chat-box.ftl
@@ -31,3 +31,12 @@ hud-chatbox-channel-Server = Server
hud-chatbox-channel-Visual = Actions
hud-chatbox-channel-Damage = Damage
hud-chatbox-channel-Unspecified = Unspecified
+
+hud-chatbox-highlights = Highlights:
+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
+ "Judge"
+ Medical
diff --git a/Resources/Locale/en-US/escape-menu/ui/options-menu.ftl b/Resources/Locale/en-US/escape-menu/ui/options-menu.ftl
index 779f23ed93..027b65667b 100644
--- a/Resources/Locale/en-US/escape-menu/ui/options-menu.ftl
+++ b/Resources/Locale/en-US/escape-menu/ui/options-menu.ftl
@@ -49,6 +49,9 @@ ui-options-misc-label = Misc
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-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