Files
dragon-hd/tools/cn_strings.py
T
DragonHD 9eed020634 Chinese main menu: font atlas + GB2312 tables + Strings translation
- build_cjk.py: 2048x1024 UI atlas (original ASCII at 0,0 + full GB2312 at 12px) and
  cjk_glyph/cjk_metric tables.
- cn_strings.py + make_cn_strings.py: escape-aware GB2312 rewrite of Strings.dat (46 entries).
- install_cjk.py: one-shot deploy/restore (exe patch, atlas loose+res, strings).
- apply_cjk.py: fix metrics cave code byte order (was (second<<8)|first) so CJK width
  measures correctly and centred labels are no longer flushed right.
- docs: DEVLOG + patch notes for the atlas and the fix.
2026-09-20 10:22:49 +08:00

66 lines
2.4 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""Simplified Chinese UI strings for The I of the Dragon.
Only *display* values are translated here (the `English` column of
`Data\\Misc\\Strings.dat`). Never translate `Id`s, event names, commands or
unit types -- doing so is what breaks mission triggers.
`\\a` is an in-engine text control prefix; keep it verbatim.
Format specifiers (`%s`, `%d`, ...) must survive untouched.
"""
CN_STRINGS = {
# window / main menu
"WindowCaption": "龙之眼",
"MainMenu_StartNewGame": "开始新游戏",
"MainMenu_SaveLoadGame": "保存或载入游戏",
"MainMenu_LoadGame": "载入游戏",
"MainMenu_ResumeGame": "继续游戏",
"MainMenu_ResumeSavedGame": "载入上次存档:\\\"%s\\\"",
"MainMenu_ResumeSavedGameAutoTip": "载入上次游戏",
"MainMenu_CannotResumeGame": "无法继续游戏",
"MainMenu_Options": "选项",
"MainMenu_Multi": "教程",
"MainMenu_Credits": "制作人员",
"MainMenu_Exit": "退出",
# options
"OptionsMenu_ApplyDialog": "\\a应用更改?",
"OptionsMenu_Audio": "音频",
"OptionsMenu_Video": "视频",
"OptionsMenu_Controls": "操作",
"OptionsMenu_Game": "游戏选项",
"OptionsMenu_AudioTitle": "音频",
"OptionsMenu_VideoTitle": "视频",
"OptionsMenu_ControlsTitle": "操作",
"OptionsMenu_GameTitle": "游戏选项",
"OptionsMenu_Exit": "退出",
"OptionsMenu_Back": "返回",
"OptionsMenu_Okey": "应用",
"OptionsMenu_Reset": "重置",
# save / load
"SaveLoadMenu_SaveGame": "保存游戏",
"SaveLoadMenu_CannotSaveGame": "无法保存游戏",
"SaveLoadMenu_LoadGame": "载入游戏",
"SaveLoadMenu_CannotLoadGame": "请先选择一个存档",
"SaveLoadMenu_Back": "返回",
"SaveLoadMenu_Delete": "删除",
"SaveLoadMenu_CannotDelete": "无法删除",
"SaveLoadMenu_Cancel": "取消",
"SaveLoadMenu_ReplaceDialog": "\\a替换?",
"SaveLoadMenu_DeleteDialog": "\\a删除?",
# multiplayer / tutorial
"Multiplayer_Players": "玩家",
"Multiplayer_Host": "主机",
"Multiplayer_Join": "加入",
"Multiplayer_Ready": "准备",
"Multiplayer_Start": "开始",
"Multiplayer_RedDragon": "红龙 安诺斯",
"Multiplayer_BlackDragon": "黑龙 莫罗格",
"Multiplayer_BlueDragon": "蓝龙 巴洛斯",
"Multiplayer_IP": "IP",
"Multiplayer_PlayerStateDescription": "%s - %d 经验值",
"Multiplayer_ClientSessionTerminated": "\\a游戏已被主机终止。",
}