fix: IDisposable contract + zh-Hans webinterface translation

- Ui/Debugger.cs DebuggerWindow now declares IDisposable so the
  existing Dispose() method participates in disposal patterns
  (using-blocks, container cleanup). Previously the method existed
  but the type didn't advertise it, so callers had no way to invoke
  it correctly and the command-handler subscription leaked
- Resources/Language.zh-Hans.resx Webinterface_Start_Success
  contained "网页界面已停止。" (web interface stopped) for what is
  semantically the start-success message; corrected to
  "网页界面已启动。" (web interface started). String is unused in
  the Hellion fork (webinterface removed) but remains in the
  resource bundle for upstream compatibility
This commit is contained in:
2026-05-03 22:05:20 +02:00
parent 6d49dbad3e
commit a10c115b9b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1364,7 +1364,7 @@
<value>启动</value>
</data>
<data name="Webinterface_Start_Success" xml:space="preserve">
<value>网页界面已停止。</value>
<value>网页界面已启动。</value>
</data>
<data name="Webinterface_Start_Failed" xml:space="preserve">
<value>网页界面启动失败。检查 /xllog 获取更多信息。</value>
+1 -1
View File
@@ -9,7 +9,7 @@ using Lumina.Text.ReadOnly;
namespace HellionChat.Ui;
public class DebuggerWindow : Window
public class DebuggerWindow : Window, IDisposable
{
private readonly Plugin Plugin;
private readonly ChatLogWindow ChatLogWindow;