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

+34 -14
View File
@@ -57,20 +57,20 @@ mods/catalog_export = Export to Catalog
mods/catalog_title = Export Catalog Entry
mods/catalog_download_url = Download URL
mods/catalog_category = Category
mods/category_story = Story
mods/category_characters = Characters
mods/category_gameplay = Gameplay
mods/category_visual = Visual
mods/category_audio = Audio
mods/category_ui = UI
mods/category_locale = Locale
mods/category_library = Library
mods/category_engine = Engine
mods/category_overhaul = Overhaul
mods/category_tools = Tools
mods/category_editor = Editor
mods/category_debug = Debug
mods/category_other = Other
mod_category/story = Story
mod_category/characters = Characters
mod_category/gameplay = Gameplay
mod_category/visual = Visual
mod_category/audio = Audio
mod_category/ui = UI
mod_category/locale = Locale
mod_category/library = Library
mod_category/engine = Engine
mod_category/overhaul = Overhaul
mod_category/tools = Tools
mod_category/editor = Editor
mod_category/debug = Debug
mod_category/other = Other
mods/catalog_tags = Tags (comma-separated)
mods/catalog_changelog = Changelog
mods/catalog_status = Status
@@ -269,3 +269,23 @@ tools/menu_title = Tools
# --- Development cover ---
ui/cover/in_development = In development
mod_categories/title = Categories
mod_categories/code = Category, e.g. RPG — Gear
mod_categories/add = Add
mod_categories/primary = Primary category
mod_categories/suggestions = Choose a category…
mod_categories/save = Save categories
mod_categories/saved = Categories saved to manifest.json.
mod_categories/development = Saved in the development mod before packaging.
mod_categories/readonly = Categories of installed packages and catalog entries are read-only. Edit the development folder.
mod_categories/pending = Add the typed category or clear the input before continuing.
mod_categories/hint_code = Enter any category name; spelling is preserved.
mod_categories/hint_suggestions = Choose a category from installed mods, catalogs or the base suggestions.
mod_categories/hint_primary = The primary category appears on the card and determines its group. It is saved first.
mod_categories/hint_add = Add the entered category.
mod_categories/hint_base = Include or remove this category.
mod_categories/hint_remove = Remove this custom category.
mod_categories/hint_filter = Show mods with this category: