Commit Graph

47 Commits

Author SHA1 Message Date
bridge
4a4c45c428 update: en screenshot gif 2026-01-25 19:06:10 +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
bd563b10f4 feat: add splash mp4 video 2026-01-18 16:11:34 +08:00
4thfever
0d34b27fff Feat: Add splash layer (#29)
Add splash layer, support game start, settings, exit
Modify settings layer, add "go back to splash" and "exit"
Add character threshold for history input
Closes #28
2026-01-13 22:00:23 +08:00
4thfever
95e1f11502 Refactor/history (#25)
add multi process history modification
2026-01-12 23:25:53 +08:00
bridge
da43adac96 update icon 2026-01-09 22:01:51 +08:00
bridge
59824d9cd5 update readme and tips 2026-01-09 00:49:16 +08:00
bridge
edaebe4406 update readme 2026-01-01 17:30:31 +08:00
bridge
37294dacd8 update readme 2026-01-01 17:19:20 +08:00
bridge
02eb094f2c update readme 2026-01-01 17:07:57 +08:00
bridge
14d18e771d update readme 2025-12-20 17:47:18 +08:00
bridge
b6bce76c36 update map 2025-12-11 22:28:29 +08:00
bridge
3bb993ccfe update cloud 2025-12-06 17:14:02 +08:00
bridge
a76c08db95 update cloud 2025-12-06 17:07:39 +08:00
bridge
bb1137a87d add random tiles 2025-12-06 16:11:46 +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
06e43f2add update map 2025-12-03 22:41:58 +08:00
bridge
9296cdde79 update map 2025-12-03 22:38:53 +08:00
bridge
ce7a1a0ca7 manuelly set map 2025-12-02 22:35:04 +08:00
bridge
c4ed8044dd update sects 2025-11-29 13:47:23 +08:00
bridge
e8bf436797 update readme 2025-11-25 22:50:02 +08:00
bridge
9295d71a90 add pngs 2025-11-24 23:02:57 +08:00
bridge
36bac598d6 add pngs 2025-11-24 22:55:41 +08:00
bridge
c6d1814263 fix bug 2025-11-22 16:09:40 +08:00
bridge
a65a23726e refactor 2025-11-22 15:57:59 +08:00
bridge
fcc67199ef refactor web 2025-11-21 01:52:53 +08:00
bridge
10d571e6bb refactor web 2025-11-20 22:16:27 +08:00
bridge
bf2ba0b09f add icon for game 2025-11-11 18:12:45 +08:00
bridge
644fae99c0 update sect pngs 2025-11-01 18:53:26 +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
f937970e5f update readme 2025-10-31 00:30:26 +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
c09119a808 fix require 2025-10-15 21:31:30 +08:00
bridge
1e7f365391 update imgaes 2025-10-12 22:39:21 +08:00
bridge
eba737f604 update readme 2025-10-10 00:55:40 +08:00
bridge
0364747b2a update 2025-10-09 01:08:47 +08:00
bridge
2e2b1a0dae update map 2025-10-09 01:05:34 +08:00
bridge
c096aad567 add sect pngs 2025-10-08 19:45:59 +08:00
bridge
2902346409 update 2025-09-25 22:07:55 +08:00
bridge
6425e80ffe add items 2025-09-09 22:50:56 +08:00
bridge
e0d3615ca5 add names 2025-08-28 22:35:02 +08:00
bridge
ad72830f51 add human images 2025-08-25 23:59:59 +08:00
bridge
933acc2edb add readme 2025-08-25 00:53:55 +08:00
bridge
9ee2230234 add tiles 2025-08-22 01:09:04 +08:00