4thfever
|
bc3ebc006c
|
Refactor/i18n (#115)
重构i18n,现在game configs的配表,除了姓名这种外,都是统一的配表了。
对应的配表的名称和desc需要去i18n里取,但是其他配置不需要重复配置了。
这大大简化了之后新增i18n的心智负担。
|
2026-02-01 01:09:24 +08:00 |
|
bridge
|
547cc01aef
|
fix: pack i18n
|
2026-01-24 14:44:45 +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
|
f33cfab0d5
|
refactor frontend (not done)
|
2026-01-11 22:08:01 +08:00 |
|
bridge
|
b53f428cbb
|
update unittest
|
2026-01-07 23:14:48 +08:00 |
|
bridge
|
f301d67493
|
update persona
|
2026-01-01 14:51:34 +08:00 |
|
bridge
|
a3b8dd99aa
|
refactor pack
|
2025-12-30 22:32:44 +08:00 |
|
bridge
|
d55ada7d66
|
refactor llm config
|
2025-12-30 22:20:30 +08:00 |
|
bridge
|
853e74630e
|
fix api key bug
|
2025-12-29 22:56:49 +08:00 |
|
bridge
|
abd349084d
|
update pack
|
2025-12-21 00:44:10 +08:00 |
|
bridge
|
1f45d13214
|
add new pngs
|
2025-12-11 22:22:12 +08:00 |
|
bridge
|
b094032eb2
|
add cloud
|
2025-12-06 15:52:28 +08:00 |
|
bridge
|
4c75d647bd
|
add pngs
|
2025-12-06 15:23:43 +08:00 |
|
bridge
|
880e83c53e
|
add plant and animal
|
2025-12-04 21:26:07 +08:00 |
|
bridge
|
bdf78bc3d6
|
add plant and animal
|
2025-12-04 21:25:55 +08:00 |
|
bridge
|
9296cdde79
|
update map
|
2025-12-03 22:38:53 +08:00 |
|
bridge
|
31ab56251b
|
refactor map
|
2025-12-02 23:00:09 +08:00 |
|
bridge
|
ce7a1a0ca7
|
manuelly set map
|
2025-12-02 22:35:04 +08:00 |
|
bridge
|
15fdc2a692
|
update sect settings
|
2025-11-29 14:16:45 +08:00 |
|
bridge
|
c4ed8044dd
|
update sects
|
2025-11-29 13:47:23 +08:00 |
|
bridge
|
10dba3c418
|
update
|
2025-11-27 23:27:29 +08:00 |
|
bridge
|
0be4d068fb
|
update
|
2025-11-27 22:53:02 +08:00 |
|
bridge
|
37b51b7650
|
refactor relationship changes
|
2025-11-26 15:06:41 +08:00 |
|
bridge
|
36bac598d6
|
add pngs
|
2025-11-24 22:55:41 +08:00 |
|
bridge
|
1215a2edce
|
update talk event
|
2025-11-24 22:30:49 +08:00 |
|
bridge
|
e7a630b143
|
make slim pack
|
2025-11-22 18:05:58 +08:00 |
|
bridge
|
52d953f565
|
remove litellm when pack
|
2025-11-22 00:41:13 +08:00 |
|
bridge
|
259d4a3794
|
update pack
|
2025-11-21 23:58:36 +08:00 |
|
bridge
|
870037d811
|
update pack
|
2025-11-21 23:39:54 +08:00 |
|
bridge
|
bf2ba0b09f
|
add icon for game
|
2025-11-11 18:12:45 +08:00 |
|
bridge
|
f31cddfaa2
|
update assets
|
2025-10-31 01:37:28 +08:00 |
|
bridge
|
5487ca65a9
|
update avatar pngs
|
2025-10-31 01:14:44 +08:00 |
|
bridge
|
2c6bc2185c
|
update pack
|
2025-10-30 01:30:21 +08:00 |
|
bridge
|
0097c3bb8a
|
update imgs
|
2025-10-30 01:01:07 +08:00 |
|
bridge
|
5b2e1489e2
|
update img
|
2025-10-30 00:47:50 +08:00 |
|
bridge
|
cf210d13e4
|
remove pack.py
|
2025-10-28 23:50:37 +08:00 |
|
bridge
|
e66e57c8ea
|
add pack.py
|
2025-10-28 01:19:44 +08:00 |
|