Terminology

Last updated:

Published on

Introduction

This document defines the canonical terms used across the RitsuLib documentation.


简介

本文定义 RitsuLib 文档中统一使用的核心术语及推荐译法。


Core Terms

TermPreferred usageNotes
settings UIsettings UIUse for the mod configuration interface as a whole.
settings pagepageA single registered page in the settings UI.
sectionsectionA structured group within a page.
entryentryOne visible row or control within a section.
bindingbindingThe read/write link between UI and stored or in-memory state.
persistencepersistenceThe storage layer and save lifecycle.
persistedpersistedUse for values written through the persistence layer.
preview-onlypreview-onlyUse for controls or bindings that never persist data.
fallbackfallbackPreferred over shim for compatibility behavior.
compatibility fallbackcompatibility fallbackA narrowly scoped behavior used when vanilla data or APIs are incomplete.
bridge patchbridge patchA patch that forwards mod content into vanilla logic that would otherwise skip it.
registryregistryThe runtime registration container for a content type.
content packcontent packThe convenience entry point that writes into multiple registries.
builderbuilderUse for fluent page, section, or content construction APIs.
overrideoverrideUse for replacing an asset path, behavior, or value source.
placeholderplaceholderA temporary fallback value used when data is missing.
scopescopeThe storage scope of a persisted value.
profileprofilePer-profile save scope.
globalglobalCross-profile save scope.
epochepochKeep the game term epoch in English.
storystoryKeep the game term story in English.
Ancient dialogueAncient dialogueUse this spelling for the game system and related keys.

核心术语

英文术语推荐中文说明
settings UI设置界面指整体玩家配置界面。
page页面设置界面中的单个已注册页面。
section分区页面中的结构化分组。
entry条目分区中的单行可见控件或文本项。
binding绑定UI 与存储值或内存状态之间的读写连接。
persistence持久化存储层与保存生命周期。
persisted已持久化 / 会持久化用于描述会写入持久化层的值。
preview-only仅预览指不会写入持久化层的控件或绑定。
fallback回退兼容或缺失数据场景下的回退行为。
compatibility fallback兼容回退优先使用该术语,避免使用“垫片”。
bridge patch桥接补丁将 Mod 内容转发到原版逻辑检查点的补丁。
registry注册器某类内容的运行时注册容器。
content pack内容包向多个注册器写入内容的便捷入口。
builder构建器用于链式构造页面、分区或内容的 API。
override覆写对资源路径、行为或值来源进行替换。
placeholder占位值数据缺失时使用的临时值。
scope作用域持久化值的存储范围。
profile档位按玩家档位区分的保存范围。
global全局跨档位共享的保存范围。
epoch纪元(Epoch)中文文档首次出现可带英文,后续可简称“纪元”。
story故事(Story)中文文档首次出现可带英文,后续可简称“故事”。
Ancient dialogueAncient 对话与游戏系统保持一致,不改写为其他称呼。

相关文档