bridge
8a06e950a3
fix: add translation
2026-02-06 22:46:15 +08:00
bridge
07e9b40645
update: readme
2026-02-06 21:40:33 +08:00
4thfever
7630174820
Feat/relation ( #139 )
...
* update relation
* feat: add relation_type to avatar info structure and update related components
- Added `relation_type` to the avatar structured info in `info_presenter.py`.
- Updated `AvatarDetail.vue` to utilize the new `relation_type` for displaying avatar relationships.
- Modified `RelationRow.vue` to accept `type` as a prop for enhanced relationship representation.
- Updated `core.ts` to include `relation_type` in the `RelationInfo` interface.
Closes #
2026-02-05 22:14:44 +08:00
4thfever
e1091fdf5a
Feat/i18n ( #92 )
...
* feat: add vue-i18n
* feat: add vue-i18n
* feat: add vue-i18n
* feat: add language class
* add: en templates and configs
* add: en names
* refactor: name gender id and sect id
* feat(i18n): add gettext infrastructure for dynamic text translation (#81 )
* feat(i18n): add gettext infrastructure for dynamic text translation
- Add src/i18n/ module with t() translation function
- Add .po/.mo files for zh_CN and en_US locales
- Update LanguageManager to reload translations on language change
- Add comprehensive tests (14 tests, all passing)
- Add implementation spec at docs/specs/i18n-dynamic-text.md
Phase 1 of i18n dynamic text implementation.
* feat(i18n): expand .po files with comprehensive translation entries
Add translation messages for:
- Battle result messages (fatal/non-fatal outcomes)
- Fortune event messages (item discovery, cultivation gains)
- Misfortune event messages (losses, damage, regression)
- Death reason messages
- Item exchange messages (equip, sell, discard)
- Single choice context and option labels
- Common labels (weapon, auxiliary, technique, elixir)
Both zh_CN and en_US locales updated with matching entries.
* test: add .po file integrity tests
* feat: i18n for actions
* feat: i18n for effects
* feat: i18n for gathering
* feat: i18n for classes
* feat: i18n for classes
* feat: i18n for classes
* feat: i18n for classes
* fix bugs
* fix bugs
* fix bugs
* fix bugs
* fix bugs
* fix bugs
* fix bugs
* fix bugs
* update csv
* update world info
* update prompt
* update prompt
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* update
* update
* update
* update
* update
* update
* update
---------
Co-authored-by: Zihao Xu <xzhseh@gmail.com >
2026-01-24 13:47:23 +08:00
bridge
f8f0e8a59c
update tips
2026-01-08 23:06:36 +08:00
bridge
b2a021bf8a
rename item -> material & refactor buying action
2026-01-07 22:43:26 +08:00
bridge
8a23dc5576
add lode
2026-01-06 23:01:25 +08:00
bridge
b74014f9f2
add emotion
2026-01-04 22:49:20 +08:00
bridge
441f8c8e3a
refactor battle strength system
2026-01-04 22:28:13 +08:00
bridge
4fc74b1531
refactor battle strength system
2026-01-04 22:25:25 +08:00
bridge
276902bca0
refactor effect system
2026-01-04 22:03:05 +08:00
bridge
f499f63c50
update
2026-01-03 22:05:45 +08:00
bridge
5b5ea31d87
refactor avatar effect desc
2026-01-03 21:45:19 +08:00
bridge
561f1efe21
add emoji to frontend
2026-01-01 15:08:09 +08:00
bridge
b43530ee99
refactor economy prices
2025-12-31 23:41:45 +08:00
bridge
9a16e2aa16
fix bug
2025-12-11 00:40:11 +08:00