* 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>
11 KiB
11 KiB
| 1 | chinese | english | category | subcategory | notes |
|---|---|---|---|---|---|
| 2 | 练气 | Qi Refinement | cultivation | realm | First realm - refining qi |
| 3 | 筑基 | Foundation Establishment | cultivation | realm | Building the foundation |
| 4 | 金丹 | Core Formation | cultivation | realm | Forming the golden core |
| 5 | 元婴 | Nascent Soul | cultivation | realm | Nascent soul emerges |
| 6 | 前期 | Early Stage | cultivation | stage | |
| 7 | 中期 | Middle Stage | cultivation | stage | |
| 8 | 后期 | Late Stage | cultivation | stage | |
| 9 | 普通 | Normal | rarity | Common items/traits | |
| 10 | 稀有 | Rare | rarity | Uncommon items/traits | |
| 11 | 超稀有 | Super Rare | rarity | Rare items/traits | |
| 12 | 传说 | Legendary | rarity | Legendary items/traits | |
| 13 | 金 | Gold | element | ||
| 14 | 木 | Wood | element | ||
| 15 | 水 | Water | element | ||
| 16 | 火 | Fire | element | ||
| 17 | 土 | Earth | element | ||
| 18 | 冰 | Ice | element | Extended element | |
| 19 | 风 | Wind | element | Extended element | |
| 20 | 暗 | Dark | element | Extended element | |
| 21 | 雷 | Thunder | element | Also: Lightning | |
| 22 | 邪 | Evil | element | Dark arts attribute | |
| 23 | 金灵根 | Gold Spiritual Root | root | ||
| 24 | 木灵根 | Wood Spiritual Root | root | ||
| 25 | 水灵根 | Water Spiritual Root | root | ||
| 26 | 火灵根 | Fire Spiritual Root | root | ||
| 27 | 土灵根 | Earth Spiritual Root | root | ||
| 28 | 天灵根 | Heavenly Spiritual Root | root | Rare - all-element affinity | |
| 29 | 雷灵根 | Thunder Spiritual Root | root | ||
| 30 | 冰灵根 | Ice Spiritual Root | root | ||
| 31 | 风灵根 | Wind Spiritual Root | root | ||
| 32 | 暗灵根 | Dark Spiritual Root | root | ||
| 33 | 东 | East | direction | ||
| 34 | 南 | South | direction | ||
| 35 | 西 | West | direction | ||
| 36 | 北 | North | direction | ||
| 37 | 正 | Righteous | alignment | Orthodox sects | |
| 38 | 中立 | Neutral | alignment | ||
| 39 | 邪 | Evil | alignment | Demonic/Unorthodox | |
| 40 | 掌门 | Sect Master | sect | rank | Also: Sect Leader |
| 41 | 长老 | Elder | sect | rank | |
| 42 | 内门弟子 | Inner Disciple | sect | rank | |
| 43 | 外门弟子 | Outer Disciple | sect | rank | |
| 44 | 弟子 | Disciple | sect | rank | Generic |
| 45 | 生命恢复速率 | HP Recovery Rate | effect | extra_hp_recovery_rate | |
| 46 | 最大生命值 | Max HP | effect | extra_max_hp | |
| 47 | 最大寿元 | Max Lifespan | effect | extra_max_lifespan | |
| 48 | 兵器熟练度获取 | Weapon Proficiency Gain | effect | extra_weapon_proficiency_gain | |
| 49 | 双修经验 | Dual Cultivation Experience | effect | extra_dual_cultivation_exp | |
| 50 | 突破成功率 | Breakthrough Success Rate | effect | extra_breakthrough_success_rate | |
| 51 | 奇遇概率 | Fortune Probability | effect | extra_fortune_probability | |
| 52 | 霉运概率 | Misfortune Probability | effect | extra_misfortune_probability | |
| 53 | 采集获取材料 | Harvest Material Bonus | effect | extra_harvest_materials | |
| 54 | 狩猎获取材料 | Hunt Material Bonus | effect | extra_hunt_materials | |
| 55 | 挖矿获取材料 | Mining Material Bonus | effect | extra_mine_materials | |
| 56 | 物品出售价格 | Item Sell Price | effect | extra_item_sell_price_multiplier | |
| 57 | 购买折扣 | Purchase Discount | effect | shop_buy_price_reduction | |
| 58 | 兵器升级概率 | Weapon Upgrade Chance | effect | extra_weapon_upgrade_chance | |
| 59 | 搜刮收益 | Plunder Multiplier | effect | extra_plunder_multiplier | |
| 60 | 捕捉灵兽成功率 | Beast Capture Success Rate | effect | extra_catch_success_rate | |
| 61 | 修炼经验 | Cultivation Experience | effect | extra_cultivate_exp | |
| 62 | 战力点数 | Combat Power Points | effect | extra_battle_strength_points | |
| 63 | 逃跑成功率 | Escape Success Rate | effect | extra_escape_success_rate | |
| 64 | 暗杀成功率 | Assassination Success Rate | effect | extra_assassinate_success_rate | |
| 65 | 感知范围 | Observation Radius | effect | extra_observation_radius | |
| 66 | 移动步长 | Movement Range | effect | extra_move_step | |
| 67 | 特殊能力 | Special Abilities | effect | legal_actions | |
| 68 | 伤害减免 | Damage Reduction | effect | damage_reduction | |
| 69 | 境界压制 | Realm Suppression | effect | realm_suppression_bonus | |
| 70 | 修炼时长缩减 | Cultivation Duration Reduction | effect | cultivate_duration_reduction | |
| 71 | 铸造成功率 | Forging Success Rate | effect | extra_cast_success_rate | |
| 72 | 炼丹成功率 | Alchemy Success Rate | effect | extra_refine_success_rate | |
| 73 | 自愈效率 | Self-Heal Efficiency | effect | extra_self_heal_efficiency | |
| 74 | 道侣 | Dao Companion | relation | Cultivation partner/spouse | |
| 75 | 师傅 | Master | relation | Teacher in cultivation | |
| 76 | 徒弟 | Disciple | relation | Student of a master | |
| 77 | 父母 | Parent | relation | ||
| 78 | 子女 | Child | relation | ||
| 79 | 父亲 | Father | relation | ||
| 80 | 母亲 | Mother | relation | ||
| 81 | 儿子 | Son | relation | ||
| 82 | 女儿 | Daughter | relation | ||
| 83 | 兄弟姐妹 | Sibling | relation | ||
| 84 | 哥哥 | Elder Brother | relation | ||
| 85 | 弟弟 | Younger Brother | relation | ||
| 86 | 姐姐 | Elder Sister | relation | ||
| 87 | 妹妹 | Younger Sister | relation | ||
| 88 | 朋友 | Friend | relation | ||
| 89 | 仇人 | Enemy | relation | Also: Foe | |
| 90 | 亲属 | Kin | relation | Extended family | |
| 91 | 上品 | Superior Grade | grade | Also: High-grade | |
| 92 | 中品 | Medium Grade | grade | Also: Mid-grade | |
| 93 | 下品 | Inferior Grade | grade | Also: Low-grade | |
| 94 | 剑 | Sword | weapon | type | |
| 95 | 刀 | Saber | weapon | type | Also: Blade |
| 96 | 枪 | Spear | weapon | type | |
| 97 | 棍 | Staff | weapon | type | |
| 98 | 扇 | Fan | weapon | type | |
| 99 | 鞭 | Whip | weapon | type | |
| 100 | 琴 | Zither | weapon | type | Musical weapon |
| 101 | 笛 | Flute | weapon | type | Musical weapon |
| 102 | 暗器 | Hidden Weapon | weapon | type | |
| 103 | 破境丹 | Breakthrough Pill | elixir | type | For breaking through bottlenecks |
| 104 | 延寿丹 | Longevity Pill | elixir | type | Extends lifespan |
| 105 | 长生丹 | Longevity Pill | elixir | type | Extends lifespan |
| 106 | 燃血丹 | Blood Burning Pill | elixir | type | Temporary power boost |
| 107 | 疗伤丹 | Healing Pill | elixir | type | Restores HP |
| 108 | 回春丹 | Rejuvenation Pill | elixir | type | Healing over time |
| 109 | 灵石 | Spirit Stone | item | Currency | |
| 110 | 丹药 | Elixir | item | Also: Pill - Medicine | |
| 111 | 法宝 | Artifact | item | Magical treasure | |
| 112 | 兵器 | Weapon | item | ||
| 113 | 功法 | Cultivation Technique | item | Also: Art - Manual | |
| 114 | 辅助装备 | Auxiliary Equipment | item | Accessories | |
| 115 | 修炼 | Cultivate | action | solo | Gain experience |
| 116 | 突破 | Breakthrough | action | solo | Advance realm |
| 117 | 疗伤 | Self Heal | action | solo | Recover HP |
| 118 | 采集 | Harvest | action | solo | Gather plants |
| 119 | 狩猎 | Hunt | action | solo | Hunt animals |
| 120 | 挖矿 | Mine | action | solo | Extract ore |
| 121 | 炼丹 | Refine Elixir | action | solo | Craft pills |
| 122 | 铸造 | Forge | action | solo | Craft equipment |
| 123 | 温养兵器 | Nurture Weapon | action | solo | Increase proficiency |
| 124 | 购买 | Buy | action | solo | Purchase items |
| 125 | 出售 | Sell | action | solo | Sell items |
| 126 | 消遣 | Play | action | solo | Relax |
| 127 | 御兽 | Tame Beast | action | solo | Capture spirit beast |
| 128 | 移动 | Move | action | solo | Travel |
| 129 | 移动到区域 | Move to Region | action | solo | Travel to location |
| 130 | 移动到角色 | Move to Character | action | solo | Travel to person |
| 131 | 移动探索 | Explore | action | solo | Explore direction |
| 132 | 离开区域 | Leave Region | action | solo | Depart area |
| 133 | 远离角色 | Move Away | action | solo | Distance from person |
| 134 | 帮助凡人 | Aid Mortals | action | solo | Righteous action |
| 135 | 搜刮凡人 | Plunder Mortals | action | solo | Evil action |
| 136 | 吞噬凡人 | Devour Mortals | action | solo | Consume souls |
| 137 | 攀谈 | Converse | action | mutual | Chat |
| 138 | 交谈 | Talk | action | mutual | Dialogue |
| 139 | 切磋 | Spar | action | mutual | Friendly combat |
| 140 | 攻击 | Attack | action | mutual | Initiate combat |
| 141 | 发起战斗 | Initiate Battle | action | mutual | Start fight |
| 142 | 暗杀 | Assassinate | action | mutual | Stealth kill |
| 143 | 逃离 | Escape | action | mutual | Flee combat |
| 144 | 双修 | Dual Cultivation | action | mutual | Partner cultivation |
| 145 | 传道 | Impart | action | mutual | Teach disciple |
| 146 | 赠送 | Gift | action | mutual | Give items |
| 147 | 抢夺洞府 | Seize Cave | action | mutual | Contest dwelling |
| 148 | 驱赶 | Drive Away | action | mutual | Force to leave |
| 149 | 接受 | Accept | action | feedback | |
| 150 | 拒绝 | Reject | action | feedback | |
| 151 | 让步 | Yield | action | feedback | |
| 152 | 试图远离 | Try to Distance | action | feedback | |
| 153 | 试图离开区域 | Try to Leave Area | action | feedback | |
| 154 | 逃离 | Flee | action | feedback | |
| 155 | 战斗 | Fight | action | feedback | |
| 156 | 误入洞府 | Stumbled into Cave Dwelling | event | fortune | Equipment |
| 157 | 巧捡神兵 | Found Divine Weapon | event | fortune | Equipment |
| 158 | 巧捡奇物 | Found Treasure | event | fortune | Equipment |
| 159 | 误入试炼 | Entered Trial Ground | event | fortune | Equipment |
| 160 | 异象出世 | Witnessed Strange Phenomenon | event | fortune | Equipment |
| 161 | 高人赠予 | Gift from Expert | event | fortune | Equipment |
| 162 | 高人指点 | Guidance from Expert | event | fortune | Technique |
| 163 | 玄妙感悟 | Mystical Insight | event | fortune | Technique |
| 164 | 危难相救 | Rescued from Danger | event | fortune | Find Master |
| 165 | 品行打动 | Impressed by Character | event | fortune | Find Master |
| 166 | 展露天赋 | Displayed Talent | event | fortune | Find Master |
| 167 | 机缘巧合 | Fateful Coincidence | event | fortune | Find Master |
| 168 | 通过考验 | Passed Trial | event | fortune | Find Master |
| 169 | 偶遇灵矿 | Found Spirit Mine | event | fortune | Spirit Stones |
| 170 | 洞府遗财 | Cave Dwelling Treasure | event | fortune | Spirit Stones |
| 171 | 击杀妖兽 | Slew Monster | event | fortune | Spirit Stones |
| 172 | 交易获利 | Profitable Trade | event | fortune | Spirit Stones |
| 173 | 赌石得宝 | Won Stone Gambling | event | fortune | Spirit Stones |
| 174 | 拾遗藏宝 | Found Hidden Treasure | event | fortune | Spirit Stones |
| 175 | 顿悟玄机 | Sudden Enlightenment | event | fortune | Cultivation |
| 176 | 古碑感悟 | Insight from Ancient Stele | event | fortune | Cultivation |
| 177 | 服食灵药 | Consumed Spirit Medicine | event | fortune | Cultivation |
| 178 | 秘境修炼 | Cultivated in Secret Realm | event | fortune | Cultivation |
| 179 | 前辈灌顶 | Empowerment from Senior | event | fortune | Cultivation |
| 180 | 灵泉淬体 | Tempered by Spirit Spring | event | fortune | Cultivation |
| 181 | 传承记忆 | Inherited Memory | event | fortune | Cultivation |
| 182 | 遭遇扒手 | Encountered Pickpocket | event | misfortune | Loss - Spirit stones |
| 183 | 误买假货 | Bought Counterfeit Goods | event | misfortune | Loss - Spirit stones |
| 184 | 遭人勒索 | Was Extorted | event | misfortune | Loss - Spirit stones |
| 185 | 洞府失窃 | Cave Dwelling Robbed | event | misfortune | Loss - Spirit stones |
| 186 | 赌石惨败 | Lost Stone Gambling | event | misfortune | Loss - Spirit stones |
| 187 | 投资失败 | Failed Investment | event | misfortune | Loss - Spirit stones |
| 188 | 修炼岔气 | Cultivation Deviation | event | misfortune | Injury - Qi went astray |
| 189 | 出门摔伤 | Fell and Got Injured | event | misfortune | Injury |
| 190 | 妖兽偷袭 | Ambushed by Beast | event | misfortune | Injury |
| 191 | 仇家闷棍 | Ambushed by Enemy | event | misfortune | Injury |
| 192 | 误触机关 | Triggered Trap | event | misfortune | Injury |
| 193 | 天降横祸 | Unexpected Disaster | event | misfortune | Injury |
| 194 | 心魔滋生 | Heart Demon Arose | event | misfortune | Backlash |
| 195 | 灵气逆行 | Qi Reversal | event | misfortune | Backlash |
| 196 | 感悟错乱 | Confused Insight | event | misfortune | Backlash |
| 197 | 急火攻心 | Overcome by Rage | event | misfortune | Backlash |
| 198 | 心魔 | Heart Demon Tribulation | event | tribulation | Inner demon - self-doubt |
| 199 | 雷劫 | Thunder Tribulation | event | tribulation | Heavenly lightning |
| 200 | 肉身 | Body Tribulation | event | tribulation | Physical transformation |
| 201 | 寻仇 | Vengeance Tribulation | event | tribulation | Past enemies return |
| 202 | 情劫 | Emotion Tribulation | event | tribulation | Love/attachment trial |
| 203 | 阳罡 | Yang Force Tribulation | event | tribulation | Scorching yang energy |
| 204 | 雷火 | Thunder-Fire Tribulation | event | tribulation | Combined lightning and fire |
| 205 | 风灾 | Wind Disaster Tribulation | event | tribulation | Violent tempest |
| 206 | 阴狱 | Yin Prison Tribulation | event | tribulation | Netherworld judgment |
| 207 | 魔劫 | Demonic Tribulation | event | tribulation | Inner demons manifest |
| 208 | 老死 | Died of Old Age | event | death | Lifespan exhausted |
| 209 | 战死 | Died in Battle | event | death | |
| 210 | 重伤不治 | Died from Severe Injuries | event | death | |
| 211 | 平静 | Calm | emotion | ||
| 212 | 开心 | Happy | emotion | ||
| 213 | 愤怒 | Angry | emotion | ||
| 214 | 悲伤 | Sad | emotion | ||
| 215 | 恐惧 | Fearful | emotion | ||
| 216 | 惊讶 | Surprised | emotion | ||
| 217 | 期待 | Expectant | emotion | ||
| 218 | 厌恶 | Disgusted | emotion | ||
| 219 | 疑惑 | Confused | emotion | ||
| 220 | 疲惫 | Exhausted | emotion | ||
| 221 | 系统菜单 | System Menu | ui | ||
| 222 | 开始游戏 | Start Game | ui | ||
| 223 | 加载游戏 | Load Game | ui | ||
| 224 | 保存游戏 | Save Game | ui | ||
| 225 | 新建角色 | Create Character | ui | ||
| 226 | 删除角色 | Delete Character | ui | ||
| 227 | 设置 | Settings | ui | ||
| 228 | 其他 | Other | ui | ||
| 229 | 境界 | Realm | ui | ||
| 230 | 年龄 | Age | ui | ||
| 231 | 性别 | Gender | ui | ||
| 232 | 男 | Male | ui | ||
| 233 | 女 | Female | ui | ||
| 234 | 宗门 | Sect | ui | ||
| 235 | 散修 | Rogue Cultivator | ui | Independent - no sect | |
| 236 | 灵根 | Spiritual Root | ui | ||
| 237 | 灵石 | Spirit Stones | ui | ||
| 238 | 颜值 | Appearance | ui | ||
| 239 | 基础战力 | Base Combat Power | ui | ||
| 240 | 情绪 | Emotion | ui | ||
| 241 | 当前思考 | Current Thoughts | ui | ||
| 242 | 特质 | Traits | ui | Also: Persona | |
| 243 | 功法与装备 | Techniques & Equipment | ui | ||
| 244 | 长期目标 | Long-term Objective | ui | ||
| 245 | 短期目标 | Short-term Objective | ui | ||
| 246 | 设定目标 | Set Objective | ui | ||
| 247 | 清空目标 | Clear Objective | ui | ||
| 248 | 语言 | Language | ui | ||
| 249 | 中文 | Chinese | ui | ||
| 250 | 英文 | English | ui |