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
+4 -2
View File
@@ -313,7 +313,9 @@ internal sealed class ChatLog : IUiComponent {
ImGui.SetNextWindowBgAlpha(this.Ui.Plugin.Config.WindowAlpha);
}
if (!ImGui.Begin($"{this.Ui.Plugin.Name}##chat", flags)) {
ImGui.SetNextWindowSize(new Vector2(500, 250) * ImGuiHelpers.GlobalScale, ImGuiCond.FirstUseEver);
if (!ImGui.Begin($"{this.Ui.Plugin.Name}###chat2", flags)) {
this._lastViewport = ImGui.GetWindowViewport().NativePtr;
ImGui.End();
return;
@@ -747,7 +749,7 @@ internal sealed class ChatLog : IUiComponent {
anyChanged = true;
}
if (ImGuiUtil.IconButton(FontAwesomeIcon.TrashAlt, tooltip: "Delete tab")) {
if (ImGuiUtil.IconButton(FontAwesomeIcon.TrashAlt, tooltip: Language.ChatLog_Tabs_Delete)) {
tabs.RemoveAt(i);
anyChanged = true;
}