diff options
| author | Somhairle H. Marisol <[email protected]> | 2026-09-20 21:38:46 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-09-20 21:38:46 +0800 |
| commit | c64779031d8459c44d78916ab6e38e80d2532a1c (patch) | |
| tree | 5cddbc68f3708ce58650ddd172483f5fe9e14fe0 /src/LivingVillage.Desktop.Tests/DesktopTests.fs | |
| parent | c5ff7685e5b3ac5dc46fce74ef1b302de09af1e6 (diff) | |
| download | living-village-c64779031d8459c44d78916ab6e38e80d2532a1c.tar.gz | |
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.
Diffstat (limited to 'src/LivingVillage.Desktop.Tests/DesktopTests.fs')
| -rw-r--r-- | src/LivingVillage.Desktop.Tests/DesktopTests.fs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LivingVillage.Desktop.Tests/DesktopTests.fs b/src/LivingVillage.Desktop.Tests/DesktopTests.fs index 650f757..1c175ce 100644 --- a/src/LivingVillage.Desktop.Tests/DesktopTests.fs +++ b/src/LivingVillage.Desktop.Tests/DesktopTests.fs @@ -22,7 +22,7 @@ type DesktopTests () = Assert.AreEqual<World>(world, next) Assert.AreEqual<M5Panel>(DialoguePanel, view.Panel) Assert.AreEqual<int>(6, view.Menu.Value.Options.Length) - Assert.IsTrue(M5Interaction.titleText view |> fun text -> text.Contains("SMALLTALK")) + Assert.IsTrue(M5Interaction.titleText view |> fun text -> text.Contains("闲聊")) [<TestMethod>] member _.SelectingAnIntentUpdatesWorldAndChronicle () = |
