feat: use authored category names for mods

Store categories as authored strings. Trim and deduplicate without changing case, compare without case sensitivity, and keep all observed categories available to filters and editors.
This commit is contained in:
cthangover committed 2026-11-13 17:52:27 +01:00
1 parent 73478b7031
commit 1995aae77d
11 files changed
+406 -99

No files matched your search

+14 -14
View File
@@ -57,20 +57,20 @@ mods/catalog_export = 导出到目录
mods/catalog_title = 导出目录条目
mods/catalog_download_url = 下载 URL
mods/catalog_category = 分类
mods/category_story = 剧情
mods/category_characters = 角色
mods/category_gameplay = 玩法
mods/category_visual = 视觉
mods/category_audio = 音频
mods/category_ui = 界面
mods/category_locale = 语言
mods/category_library = 库
mods/category_engine = 引擎
mods/category_overhaul = 大型改动
mods/category_tools = 工具
mods/category_editor = 编辑器
mods/category_debug = 调试
mods/category_other = 其他
mod_category/story = 剧情
mod_category/characters = 角色
mod_category/gameplay = 玩法
mod_category/visual = 视觉
mod_category/audio = 音频
mod_category/ui = 界面
mod_category/locale = 语言
mod_category/library = 库
mod_category/engine = 引擎
mod_category/overhaul = 大型改动
mod_category/tools = 工具
mod_category/editor = 编辑器
mod_category/debug = 调试
mod_category/other = 其他
mods/catalog_tags = 标签(逗号分隔)
mods/catalog_changelog = 更新日志
mods/catalog_status = 状态