diff --git a/ChatTwo/ChatTwo.csproj b/ChatTwo/ChatTwo.csproj index 0264106..9da872c 100755 --- a/ChatTwo/ChatTwo.csproj +++ b/ChatTwo/ChatTwo.csproj @@ -1,6 +1,6 @@ - 1.22.1 + 1.22.2 net8.0-windows enable enable diff --git a/ChatTwo/Ui/LegacyMessageImporterWindow.cs b/ChatTwo/Ui/LegacyMessageImporterWindow.cs index 4cced57..f09d33e 100644 --- a/ChatTwo/Ui/LegacyMessageImporterWindow.cs +++ b/ChatTwo/Ui/LegacyMessageImporterWindow.cs @@ -174,9 +174,9 @@ internal class LegacyMessageImporterWindow : Window if (Importer.ImportComplete != null) { ImGui.TextUnformatted($"Completed migration in {Duration(Importer.ImportStart, Importer.ImportComplete.Value):g}"); - ImGui.TextUnformatted($"Successfully imported: {Importer.SuccessfulMessages} messages"); - ImGui.TextUnformatted($"Failed to import: {Importer.FailedMessages} messages"); - ImGui.TextUnformatted($"Unaccounted for: {Importer.RemainingMessages}"); + ImGui.TextUnformatted($"Successfully imported: {Importer.SuccessfulMessages:N0} messages"); + ImGui.TextUnformatted($"Failed to import: {Importer.FailedMessages:N0} messages"); + ImGui.TextUnformatted($"Unaccounted for: {Importer.RemainingMessages:N0}"); ImGui.TextUnformatted("See logs for more details: /xllog"); ImGui.Spacing(); @@ -191,7 +191,7 @@ internal class LegacyMessageImporterWindow : Window ImGuiHelpers.ScaledDummy(10.0f); ImGui.TextUnformatted($"Duration: {Duration(Importer.ImportStart, Environment.TickCount64):g}"); - ImGui.TextUnformatted($"Progress: {Importer.ProcessedMessages}/{Importer.ImportCount} messages ({Importer.FailedMessages} failed)"); + ImGui.TextUnformatted($"Progress: {Importer.ProcessedMessages:N0}/{Importer.ImportCount:N0} messages ({Importer.FailedMessages:N0} failed)"); ImGuiHelpers.ScaledDummy(10.0f); var width = ImGui.GetContentRegionAvail().X / 2; @@ -199,8 +199,8 @@ internal class LegacyMessageImporterWindow : Window ImGui.TextUnformatted("Import speed:"); ImGui.SameLine(); ImGui.SetNextItemWidth(width); - ImGui.SliderInt("##speedSlider", ref Importer.MaxMessageRate, 1, 10000, "%d m/sec", ImGuiSliderFlags.AlwaysClamp); - ImGui.TextUnformatted($"Current speed: {Importer.CurrentMessageRate:N0} m/sec"); + ImGui.SliderInt("##speedSlider", ref Importer.MaxMessageRate, 1, 10000, "%d msgs/sec", ImGuiSliderFlags.AlwaysClamp); + ImGui.TextUnformatted($"Current speed: {Importer.CurrentMessageRate:N0} msgs/sec"); ImGui.TextUnformatted($"Estimated time remaining: {Importer.EstimatedTimeRemaining:g}"); ImGui.TextUnformatted("See logs for more details: /xllog"); ImGuiHelpers.ScaledDummy(10.0f);