fix: update some things for localisation

This commit is contained in:
Anna
2022-02-05 19:54:57 -05:00
parent 5161b57c51
commit 3daad60560
6 changed files with 20 additions and 5 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ internal sealed class Settings : IUiComponent {
ImGui.SetNextWindowSize(new Vector2(500, 650) * ImGuiHelpers.GlobalScale, ImGuiCond.FirstUseEver);
if (!ImGui.Begin(string.Format(Language.Settings_Title, this.Ui.Plugin.Name), ref this.Ui.SettingsVisible)) {
var name = string.Format(Language.Settings_Title, this.Ui.Plugin.Name);
if (!ImGui.Begin($"{name}###chat2-settings", ref this.Ui.SettingsVisible)) {
ImGui.End();
return;
}