summaryrefslogtreecommitdiff
path: root/src/LivingVillage.Desktop/ChineseText.fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/LivingVillage.Desktop/ChineseText.fs')
-rw-r--r--src/LivingVillage.Desktop/ChineseText.fs53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/LivingVillage.Desktop/ChineseText.fs b/src/LivingVillage.Desktop/ChineseText.fs
index b0c2fc6..9990cb3 100644
--- a/src/LivingVillage.Desktop/ChineseText.fs
+++ b/src/LivingVillage.Desktop/ChineseText.fs
@@ -64,6 +64,59 @@ module ChineseText =
{ SceneTitle = "江南水乡"
Ready = "准备就绪" }
+ let requiredUiLabels : string list =
+ [ "江南水乡"
+ "水道"
+ "白墙黛瓦民居"
+ "石桥"
+ "竹林"
+ "菜圃"
+ "白天"
+ "夜晚"
+ "主菜单"
+ "设置"
+ "操作说明"
+ "状态"
+ "准备就绪"
+ "已暂停"
+ "继续游戏"
+ "开始新游戏"
+ "读取存档"
+ "退出"
+ "移动"
+ "互动"
+ "对话"
+ "观察"
+ "需求"
+ "年鉴"
+ "关系"
+ "暂停"
+ "速度"
+ "保存"
+ "读取"
+ "菜单或关闭"
+ "选择"
+ "确认"
+ "村庄"
+ "饥饿"
+ "精力"
+ "社交"
+ "金钱"
+ "最紧迫"
+ "无记录"
+ "交易"
+ "交易成功"
+ "交易失败"
+ "报价"
+ "总价"
+ "进入民居"
+ "离开民居"
+ "民居内景"
+ "请选择对话方式"
+ "对话完成"
+ "对话失败"
+ "年鉴已打开" ]
+
let layoutText (maxWidth: int) (supported: Set<char>) (text: string) : TextLayout =
let width = max 1 maxWidth
let normalized, missing =