feat(misfortune): enhance misfortune themes and localization support

- Refactored misfortune theme identifiers for clarity and consistency.
- Introduced a new function `_get_misfortune_theme` to handle theme translations.
- Updated `_pick_misfortune_theme` to utilize theme IDs and improved localization for misfortune results.
- Added new entries in localization files for English and Chinese, covering various misfortune themes and result messages.
- Improved user experience by ensuring all misfortune-related texts are properly translated and formatted.
This commit is contained in:
bridge
2026-02-02 21:47:03 +08:00
parent 4f377551e8
commit ade1379448
8 changed files with 234 additions and 29 deletions

View File

@@ -115,7 +115,7 @@ function handleClick(key: string) {
aria-modal="true"
>
<n-form>
<n-form-item :label="t('ui.language')">
<n-form-item label="语言 / Language">
<n-select
v-model:value="settingStore.locale"
:options="languageOptions"