* 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>
1.1 KiB
1.1 KiB
| 1 | id | name | desc | sell_item_ids |
|---|---|---|---|---|
| 2 | Must start with 3 | |||
| 3 | 301 | Qingyun City | A bustling metropolis with a dense population and a gathering of merchants. This place is an important venue for trading heavenly materials and earthly treasures and seeking opportunities. | [3001, 3005] |
| 4 | 302 | Shazhou City | A major trade town in a desert oasis where various caravans assemble, serving as an important supply and exchange point for cultivators. | [3009, 3013] |
| 5 | 303 | Cuilin City | A major cultivation town deep in the forest where many cultivators reside, an ideal place for cultivation and artifact refining. | [1001, 1002, 1003] |
| 6 | 304 | Canglan City | Located at the delta where a large river enters the sea, where hundreds of rivers return to the ocean and water transport flourishes; it is a precious land most frequently visited by water-attribute cultivators. | [1004, 1005, 1006] |
| 7 | 305 | Lanyue City | Standing at the peak of continuous mountains, shrouded in mist all year round with pure spiritual qi, an excellent place for ascetic practitioners to comprehend the Heavenly Dao. | [1007, 1008, 1009] |