feat(i18n): add update flag strategy settings

Add new "updateFlags" section to settings navigation and implement update flag strategy configuration. The strategy allows users to choose when update badges appear:
- Match updates by base model (only show when new release shares same base model)
- Flag any available update (show whenever newer version exists)

Includes translations for English, German, Spanish, and French locales.
This commit is contained in:
Will Miao
2025-11-17 20:02:26 +08:00
parent 0e73db0669
commit 3661b11b70
16 changed files with 253 additions and 140 deletions

View File

@@ -33,6 +33,7 @@ const DEFAULT_SETTINGS_BASE = Object.freeze({
include_trigger_words: false,
compact_mode: false,
priority_tags: { ...DEFAULT_PRIORITY_TAG_CONFIG },
update_flag_strategy: 'same_base',
});
export function createDefaultSettings() {