Commit Graph

48 Commits

Author SHA1 Message Date
bridge
4a4c45c428 update: en screenshot gif 2026-01-25 19:06:10 +08:00
bridge
8af763531b update: mode 2026-01-24 23:40:54 +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
64732d6912 update: license & contributing 2026-01-20 21:12:55 +08:00
bridge
325c72e513 update: readme 2026-01-20 01:01:45 +08:00
bridge
e5ed418949 update: readme 2026-01-15 09:01:02 +08:00
4thfever
bb2e010930 refactor readme (#26)
refactor readme, simulate style of
https://github.com/vladelaina/Catime
Closes #23
2026-01-13 00:03:09 +08:00
bridge
2caa5586be refactor history archi 2026-01-12 00:36:10 +08:00
bridge
060708bd79 update readme 2026-01-08 00:46:42 +08:00
bridge
b2a021bf8a rename item -> material & refactor buying action 2026-01-07 22:43:26 +08:00
bridge
3f980d4593 fix a bug 2026-01-06 20:42:53 +08:00
bridge
8d7e11b021 add elixir 2026-01-05 23:04:55 +08:00
bridge
5429e25b1e update readme 2026-01-04 21:18:20 +08:00
bridge
7320773bfe update readme 2026-01-04 21:12:35 +08:00
bridge
1ec3ec092b update readme 2026-01-04 20:57:28 +08:00
bridge
b8de42aeb3 add badge 2026-01-04 00:58:51 +08:00
bridge
367b09fac3 add badge 2026-01-04 00:52:26 +08:00
bridge
f6ebe7c037 add badge 2026-01-04 00:49:30 +08:00
bridge
7245a89774 update readme 2026-01-03 23:59:44 +08:00
bridge
868e355e41 refactor cast 2026-01-03 23:54:47 +08:00
bridge
ea0296f3e2 add cast readme 2026-01-03 23:28:55 +08:00
bridge
5d69334b13 update readme 2026-01-01 17:32:41 +08:00
bridge
305088390d update readme 2026-01-01 17:23:16 +08:00
bridge
c73c7361c8 update readme 2026-01-01 17:05:07 +08:00
bridge
abb2f6e07b update readme 2026-01-01 16:45:31 +08:00
bridge
d6e5d334ca update readme 2026-01-01 11:28:19 +08:00
bridge
f14ea0b92e refactor llm config 2025-12-30 22:27:27 +08:00
bridge
aef6fe6f74 update readme 2025-12-27 15:24:40 +08:00
bridge
3d6e11c428 update readme 2025-12-20 17:55:59 +08:00
bridge
950032eb6a update reademe 2025-12-01 21:06:35 +08:00
bridge
e8bf436797 update readme 2025-11-25 22:50:02 +08:00
bridge
ecf85da10d update 2025-11-22 21:32:31 +08:00
bridge
d4e0fdacf3 refactor web code 2025-11-22 15:32:46 +08:00
bridge
8e0c4beaba update readme 2025-11-22 00:49:42 +08:00
bridge
10d571e6bb refactor web 2025-11-20 22:16:27 +08:00
bridge
19f5faabf3 update readme 2025-11-18 00:41:09 +08:00
bridge
0c55dbcb2a update readme 2025-11-17 21:29:21 +08:00
bridge
250fb265ba update readme 2025-11-13 19:09:21 +08:00
bridge
2ded449ade update readme 2025-11-12 01:39:57 +08:00
bridge
29092efa90 update readme 2025-11-11 22:38:27 +08:00
bridge
9a9b044afc update readme 2025-11-02 22:58:57 +08:00
bridge
39872e7514 update bilibili 2025-11-02 22:18:00 +08:00
bridge
496565999b update readme 2025-11-02 16:46:25 +08:00
bridge
486c094dce update readme 2025-10-22 00:15:24 +08:00
bridge
00ac87eaaf update readme 2025-10-21 00:54:59 +08:00
bridge
ae2f516a14 update readme 2025-10-19 21:28:52 +08:00
bridge
1fbaba9ff1 add fortune and readme 2025-10-19 15:26:37 +08:00
bridge
bddc5028a0 add en readme 2025-10-19 14:33:33 +08:00