diff options
| author | Somhairle H. Marisol <[email protected]> | 2026-09-29 09:27:16 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-09-29 09:27:16 +0800 |
| commit | 1d56991fadfaa6eb43d98b904db59685e77c220a (patch) | |
| tree | 803e234f01d5014d49099c4900b43cf29622d62c /src/LivingVillage.Desktop | |
| parent | 7c741c127798dcaf08deee56ed4ed91d9dc307b4 (diff) | |
| download | living-village-1d56991fadfaa6eb43d98b904db59685e77c220a.tar.gz | |
p69: 中文 UI 文案统一审校(面板措辞/交易缺货口径/页脚留白与 ESC)
- 面板打开语统一:「年鉴已打开」→「年鉴面板已打开」(Interaction + requiredUiLabels)
- 交易缺货口径统一:「背包不足」→「库存不足」(PlayerTrade,与对话交易失败名一致)
- 分页页脚留白/大小写统一:「…页 空格 翻页 Esc 关闭」→「…页 空格 翻页 ESC 关闭」
- P69CopyAuditTests(2 例,红先)+ P61 钉住样例同步
- 只改字符串字面量与相关断言;Kernel/Sim/MapSnapshot 未动
- Desktop 338/338、Kernel 119/119;digest 953775FA…7F6C 不变
Diffstat (limited to 'src/LivingVillage.Desktop')
| -rw-r--r-- | src/LivingVillage.Desktop/ChineseText.fs | 2 | ||||
| -rw-r--r-- | src/LivingVillage.Desktop/Game.fs | 2 | ||||
| -rw-r--r-- | src/LivingVillage.Desktop/Interaction.fs | 2 | ||||
| -rw-r--r-- | src/LivingVillage.Desktop/PlayerTrade.fs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/LivingVillage.Desktop/ChineseText.fs b/src/LivingVillage.Desktop/ChineseText.fs index 349bbec..7bd8bc5 100644 --- a/src/LivingVillage.Desktop/ChineseText.fs +++ b/src/LivingVillage.Desktop/ChineseText.fs @@ -119,7 +119,7 @@ module ChineseText = "请选择对话方式" "对话完成" "对话失败" - "年鉴已打开" + "年鉴面板已打开" "E 出屋" "E 进屋" "E 交谈" diff --git a/src/LivingVillage.Desktop/Game.fs b/src/LivingVillage.Desktop/Game.fs index ba925f3..63f69cd 100644 --- a/src/LivingVillage.Desktop/Game.fs +++ b/src/LivingVillage.Desktop/Game.fs @@ -3271,7 +3271,7 @@ type LivingVillageGame() as this = PixelText.draw spriteBatch pixel cjkAtlas textX y DialogOverlay.textScale palette.Value line) // 分页标记:页码 + 翻页/关闭提示;有下一页时显示箭头。 let marker = - sprintf "第 %d/%d 页 空格 翻页 Esc 关闭" current.PageNumber current.PageCount + sprintf "第 %d/%d 页 空格 翻页 ESC 关闭" current.PageNumber current.PageCount let markerWidth = FloatingPrompt.measureWidth marker DialogOverlay.textScale let markerX = lx + layout.Width - DialogOverlay.paddingX - markerWidth let markerY = ly + layout.Height - DialogOverlay.pageMarkerHeight diff --git a/src/LivingVillage.Desktop/Interaction.fs b/src/LivingVillage.Desktop/Interaction.fs index 6c62661..3a65e8e 100644 --- a/src/LivingVillage.Desktop/Interaction.fs +++ b/src/LivingVillage.Desktop/Interaction.fs @@ -591,7 +591,7 @@ module M5Interaction = let reason = value.Substring("dialogue rejected:".Length).Trim() if String.IsNullOrWhiteSpace reason then "对话失败" else sprintf "对话失败:%s" reason | value when value.StartsWith("observation") -> "观察完成" - | value when value.StartsWith("chronicle") -> "年鉴已打开" + | value when value.StartsWith("chronicle") -> "年鉴面板已打开" | "task panel open" -> "任务面板已打开" | value when value.StartsWith("task|") -> value.Substring("task|".Length) | value when value.StartsWith("inquiry|") -> value.Substring("inquiry|".Length) diff --git a/src/LivingVillage.Desktop/PlayerTrade.fs b/src/LivingVillage.Desktop/PlayerTrade.fs index 407536c..8436d9f 100644 --- a/src/LivingVillage.Desktop/PlayerTrade.fs +++ b/src/LivingVillage.Desktop/PlayerTrade.fs @@ -187,7 +187,7 @@ module PlayerTrade = | Some buyer when quantity <= 0 -> failure state world "数量必须大于零" | Some buyer -> if Occupation.backpackQuantity item occupation < quantity then - failure state world "背包不足" + failure state world "库存不足" else match quote (Some occupation) false counterparty item quantity world with | None -> failure state world "无法报价" |
