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 |
|
bridge
|
b53f428cbb
|
update unittest
|
2026-01-07 23:14:48 +08:00 |
|
bridge
|
b2a021bf8a
|
rename item -> material & refactor buying action
|
2026-01-07 22:43:26 +08:00 |
|
bridge
|
73c50286b7
|
add refine action
|
2026-01-07 21:28:29 +08:00 |
|
bridge
|
806e2c1262
|
refactor price system
|
2026-01-04 21:49:58 +08:00 |
|
bridge
|
775d830ec3
|
add cast
|
2026-01-03 23:25:38 +08:00 |
|
bridge
|
1941218665
|
fix effects
|
2025-12-31 22:31:30 +08:00 |
|
bridge
|
6dc0447293
|
add misfortune
|
2025-12-30 23:16:10 +08:00 |
|
bridge
|
ae28d3a546
|
remove mp
|
2025-12-25 01:04:42 +08:00 |
|
bridge
|
864b03b460
|
fix incorrect prob
|
2025-12-13 22:44:01 +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
|
60ae27cc20
|
update sect
|
2025-11-27 22:15:40 +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
|
125d7891e5
|
update treasure to weapon and auxiliary
|
2025-11-13 01:34:09 +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
|
486c094dce
|
update readme
|
2025-10-22 00:15:24 +08:00 |
|
bridge
|
b4fa1c1c76
|
ad catch
|
2025-10-21 22:53:13 +08:00 |
|
bridge
|
f7a2e377a1
|
update events
|
2025-10-21 01:06:18 +08:00 |
|
bridge
|
00ac87eaaf
|
update readme
|
2025-10-21 00:54:59 +08:00 |
|
bridge
|
8eca9c0a65
|
update story teller
|
2025-10-19 12:04:17 +08:00 |
|
bridge
|
e220b45b2a
|
fix bugs
|
2025-10-19 02:48:12 +08:00 |
|
bridge
|
840046080c
|
add wanhunfan
|
2025-10-19 01:54:05 +08:00 |
|
bridge
|
41c8782753
|
update effect str
|
2025-10-16 23:24:08 +08:00 |
|
bridge
|
9d9d9737e5
|
update
|
2025-10-16 00:43:31 +08:00 |
|
bridge
|
7e0d776328
|
update
|
2025-10-13 23:16:30 +08:00 |
|
bridge
|
c03d239272
|
add dual cultivate
|
2025-10-12 22:53:52 +08:00 |
|
bridge
|
e6c1f47263
|
add sect weight
|
2025-10-12 22:08:49 +08:00 |
|
bridge
|
42dc91aec7
|
update get info
|
2025-10-12 01:40:36 +08:00 |
|
bridge
|
83a12c4f3c
|
update technique info
|
2025-10-10 23:26:03 +08:00 |
|
bridge
|
ec6f92093b
|
update sect region
|
2025-10-10 22:32:03 +08:00 |
|
bridge
|
ad29011193
|
update csv
|
2025-10-08 23:33:14 +08:00 |
|
bridge
|
ad163c2af1
|
add sect regions
|
2025-10-08 23:26:19 +08:00 |
|
bridge
|
524844bf0f
|
update map
|
2025-10-08 22:51:49 +08:00 |
|
bridge
|
a7e2de6783
|
add sect
|
2025-10-08 21:31:24 +08:00 |
|