From c64779031d8459c44d78916ab6e38e80d2532a1c Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Sun, 20 Sep 2026 21:38:46 +0800 Subject: feat(desktop): localize village presentation labels [Change Nature] - This commit adds the Chinese display layer for the desktop village prototype. [New Capability] - Menu, settings, controls, interaction panels, chronicle entries, trade results, day-night labels, and speed labels now use Chinese copy. [Implementation] - Keep simulation state, commands, and machine-readable status strings unchanged. - Add focused formatter coverage and update affected presentation assertions. [Impact] - Desktop presentation behavior is localized without changing Kernel or simulation logic. - Existing release build and test coverage remain green. --- src/LivingVillage.Desktop.Tests/M6aTests.fs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/LivingVillage.Desktop.Tests/M6aTests.fs') diff --git a/src/LivingVillage.Desktop.Tests/M6aTests.fs b/src/LivingVillage.Desktop.Tests/M6aTests.fs index 1cc29d4..04920d4 100644 --- a/src/LivingVillage.Desktop.Tests/M6aTests.fs +++ b/src/LivingVillage.Desktop.Tests/M6aTests.fs @@ -9,7 +9,7 @@ type M6aDesktopTests () = [] member _.SpeedLabelsExposePauseAndThreeRunningModes () = - Assert.AreEqual("PAUSED", M6Presentation.clockLabel { Paused = true; Speed = OneX }) - Assert.AreEqual("1X", M6Presentation.clockLabel { Paused = false; Speed = OneX }) - Assert.AreEqual("2X", M6Presentation.clockLabel { Paused = false; Speed = TwoX }) - Assert.AreEqual("5X", M6Presentation.clockLabel { Paused = false; Speed = FiveX }) + Assert.AreEqual("暂停", M6Presentation.clockLabel { Paused = true; Speed = OneX }) + Assert.AreEqual("1倍速", M6Presentation.clockLabel { Paused = false; Speed = OneX }) + Assert.AreEqual("2倍速", M6Presentation.clockLabel { Paused = false; Speed = TwoX }) + Assert.AreEqual("5倍速", M6Presentation.clockLabel { Paused = false; Speed = FiveX }) -- cgit v1.2.3