feat(i18n): add model name display option and improve localization, fixes #440

- Add new model name display setting with options to show model name or file name
- Implement helper function to determine display name based on user preference
- Update model card footer to use dynamic display name
- Include model name display setting in settings modal and state management
- Remove redundant labels from display density descriptions in multiple locales
- Simplify card info display descriptions by removing duplicate text

The changes provide cleaner UI text and add flexibility for users to choose between displaying model names or file names in card footers.
This commit is contained in:
Will Miao
2025-10-15 10:23:39 +08:00
parent 8901b32a55
commit 412f1e62a1
16 changed files with 197 additions and 51 deletions

View File

@@ -44,6 +44,7 @@ DEFAULT_SETTINGS: Dict[str, Any] = {
"include_trigger_words": False,
"compact_mode": False,
"priority_tags": DEFAULT_PRIORITY_TAG_CONFIG.copy(),
"model_name_display": "model_name",
}