From c4b8cfbf6edc9849d978440ae9bd407d2df6dcf3 Mon Sep 17 00:00:00 2001 From: Anna Clemens Date: Mon, 7 Feb 2022 02:24:57 -0500 Subject: [PATCH] fix: use placeholder --- ChatTwo/Resources/Language.resx | 2 +- ChatTwo/Ui/SettingsTabs/Display.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChatTwo/Resources/Language.resx b/ChatTwo/Resources/Language.resx index 05d9d35..30bf28d 100755 --- a/ChatTwo/Resources/Language.resx +++ b/ChatTwo/Resources/Language.resx @@ -399,6 +399,6 @@ Command help side - The side of Chat 2 to display help for commands on. + The side of {0} to display help for commands on. diff --git a/ChatTwo/Ui/SettingsTabs/Display.cs b/ChatTwo/Ui/SettingsTabs/Display.cs index 44bddbc..f104397 100755 --- a/ChatTwo/Ui/SettingsTabs/Display.cs +++ b/ChatTwo/Ui/SettingsTabs/Display.cs @@ -70,7 +70,7 @@ internal sealed class Display : ISettingsTab { ImGui.EndCombo(); } - ImGuiUtil.HelpText(Language.Options_CommandHelpSide_Description); + ImGuiUtil.HelpText(string.Format(Language.Options_CommandHelpSide_Description, Plugin.PluginName)); ImGui.Spacing(); if (ImGui.DragFloat(Language.Options_WindowOpacity_Name, ref this.Mutable.WindowAlpha, .0025f, 0f, 1f, $"{this.Mutable.WindowAlpha * 100f:N2}%%")) {