Files
cultivation-world-simulator/static/config.yml
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

59 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
meta:
version: "1.2.2"
llm:
default_modes:
action_decision: "normal"
long_term_objective: "normal"
nickname: "normal"
single_choice: "normal"
relation_resolver: "fast"
story_teller: "fast"
interaction_feedback: "fast"
history_influence: "normal"
paths:
locales: static/locales/
shared_game_configs: static/game_configs/
# templates: static/templates/ <-- Managed by code now
# game_configs: static/game_configs/ <-- Managed by code now
saves: assets/saves/
ai:
max_concurrent_requests: 10
max_parse_retries: 3
game:
init_npc_num: 9
sect_num: 3 # init_npc_num大于sect_num时会随机选择sect_num个宗门
npc_awakening_rate_per_month: 0.01
fortune_probability: 0.005
misfortune_probability: 0.005
gathering:
auction_trigger_count: 5
df:
ids_separator: ";"
avatar:
persona_num: 3
# all 引入所有主角不引入随机角色
# random正常随机角色但是有一定概率出主角
# none, 不引入主角(默认选项)
protagonist: "random"
social:
major_event_context_num: 10 # 大事(长期记忆)展示数量
minor_event_context_num: 10 # 小事(短期记忆)展示数量
relation_check_threshold: 5 # 关系检查需要的交互次数
nickname:
major_event_threshold: 3 # 获得绰号需要的长期事件数量
minor_event_threshold: 25 # 获得绰号需要的短期事件数量
save:
max_events_to_save: 1000
frontend:
water_speed: low
cloud_freq: low