4thfever
|
bc3ebc006c
|
Refactor/i18n (#115)
重构i18n,现在game configs的配表,除了姓名这种外,都是统一的配表了。
对应的配表的名称和desc需要去i18n里取,但是其他配置不需要重复配置了。
这大大简化了之后新增i18n的心智负担。
|
2026-02-01 01:09:24 +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 |
|
4thfever
|
95e1f11502
|
Refactor/history (#25)
add multi process history modification
|
2026-01-12 23:25:53 +08:00 |
|
bridge
|
73c50286b7
|
add refine action
|
2026-01-07 21:28:29 +08:00 |
|
bridge
|
7c69d612b0
|
add refine action
|
2026-01-07 21:15:04 +08:00 |
|
bridge
|
775d830ec3
|
add cast
|
2026-01-03 23:25:38 +08:00 |
|
bridge
|
462c28fb30
|
fix effects
|
2025-12-31 22:26:44 +08:00 |
|
bridge
|
2c69383112
|
refactor region
|
2025-12-08 23:15:59 +08:00 |
|
bridge
|
7aa8aae55c
|
update names
|
2025-12-01 20:55:18 +08:00 |
|
bridge
|
a65a23726e
|
refactor
|
2025-11-22 15:57:59 +08:00 |
|
bridge
|
7af6757e64
|
update effects
|
2025-11-13 11:28:09 +08:00 |
|
bridge
|
e220b45b2a
|
fix bugs
|
2025-10-19 02:48:12 +08:00 |
|
bridge
|
41c8782753
|
update effect str
|
2025-10-16 23:24:08 +08:00 |
|
bridge
|
7ebf266e9e
|
add more effects
|
2025-10-16 02:09:53 +08:00 |
|
bridge
|
14317a7b78
|
add more effects
|
2025-10-16 02:06:04 +08:00 |
|
bridge
|
0d2cc2c3d3
|
replace prompt with desc
|
2025-10-12 23:34:19 +08:00 |
|
bridge
|
55145850ca
|
update technique by sect
|
2025-10-09 23:32:18 +08:00 |
|
bridge
|
1070c06c5f
|
update technique name
|
2025-10-07 13:08:11 +08:00 |
|
bridge
|
e32a941f53
|
update
|
2025-10-05 01:52:29 +08:00 |
|
bridge
|
aea1923ba6
|
add technique
|
2025-10-04 23:06:39 +08:00 |
|