convert all spell names to lowercase to avoid case sensitive issues

This commit is contained in:
pepopo978
2025-01-08 08:51:52 -08:00
parent 196675a7b3
commit 4d273b151c
11 changed files with 416 additions and 415 deletions
+122 -122
View File
@@ -86,83 +86,83 @@ L:RegisterTranslations("enUS", function()
["Rank 4"] = true,
-- druid
["Entangling Roots"] = true,
["Sleep"] = true,
["Faerie Fire"] = true,
["Faerie Fire (Bear)"] = true,
["Faerie Fire (Feral)"] = true,
["Hibernate"] = true,
["Insect Swarm"] = true,
["Moonfire"] = true,
["Rake"] = true,
["Rip"] = true,
["Soothe Animal"] = true,
["Bash"] = true,
["entangling roots"] = true,
["sleep"] = true,
["faerie fire"] = true,
["faerie fire (bear)"] = true,
["faerie fire (feral)"] = true,
["hibernate"] = true,
["insect swarm"] = true,
["moonfire"] = true,
["rake"] = true,
["rip"] = true,
["soothe animal"] = true,
["bash"] = true,
["Maim"] = true,
["Demoralizing Roar"] = true,
["Challenging Roar"] = true,
["demoralizing roar"] = true,
["challenging roar"] = true,
-- hunter
["Scorpid Sting"] = true,
["Serpent Sting"] = true,
["Viper Sting"] = true,
["Wing Clip"] = true,
["Concussive Shot"] = true,
["Wyvern Sting"] = true,
["Counterattack"] = true,
["Hunter\'s Mark"] = true,
["Freezing Trap"] = true,
["scorpid sting"] = true,
["serpent sting"] = true,
["viper sting"] = true,
["wing clip"] = true,
["concussive shot"] = true,
["wyvern sting"] = true,
["counterattack"] = true,
["hunter's mark"] = true,
["freezing trap"] = true,
-- mage
["Polymorph"] = true,
["Polymorph: Cow"] = true,
["Polymorph: Turtle"] = true,
["Polymorph: Pig"] = true,
["polymorph"] = true,
["polymorph: cow"] = true,
["polymorph: turtle"] = true,
["polymorph: pig"] = true,
-- priest
["Shackle Undead"] = true,
["Mind Soothe"] = true,
["Mind Control"] = true,
["Devouring Plague"] = true,
["Hex of Weakness"] = true,
["Shadow Word: Pain"] = true,
["Vampiric Embrace"] = true,
["Holy Fire"] = true,
["shackle undead"] = true,
["mind soothe"] = true,
["mind control"] = true,
["devouring plague"] = true,
["hex of weakness"] = true,
["shadow word: pain"] = true,
["vampiric embrace"] = true,
["holy fire"] = true,
-- Paladin
["Turn Undead"] = true,
-- rogue
["Blind"] = true,
["Sap"] = true,
["Gouge"] = true,
["Expose Armor"] = true,
["Garrote"] = true,
["Deadly Poison"] = true,
["Deadly Poison II"] = true,
["Deadly Poison III"] = true,
["Deadly Poison IV"] = true,
["Deadly Poison V"] = true,
["blind"] = true,
["sap"] = true,
["gouge"] = true,
["expose armor"] = true,
["garrote"] = true,
["deadly poison"] = true,
["deadly poison II"] = true,
["deadly poison III"] = true,
["deadly poison IV"] = true,
["deadly poison V"] = true,
-- shaman
["Flame Shock"] = true,
["flame shock"] = true,
-- warlock
["Conflagrate"] = true,
["Corruption"] = true,
["Curse of Agony"] = true,
["Curse of Doom"] = true,
["Curse of Recklessness"] = true,
["Curse of Shadow"] = true,
["Curse of the Elements"] = true,
["Curse of Tongues"] = true,
["Curse of Weakness"] = true,
["Curse of Exhaustion"] = true,
["Immolate"] = true,
["Death Coil"] = true,
["Banish"] = true,
["Siphon Life"] = true,
["Fear"] = true,
["conflagrate"] = true,
["corruption"] = true,
["curse of agony"] = true,
["curse of doom"] = true,
["curse of recklessness"] = true,
["curse of shadow"] = true,
["curse of the elements"] = true,
["curse of tongues"] = true,
["curse of weakness"] = true,
["curse of exhaustion"] = true,
["immolate"] = true,
["death coil"] = true,
["banish"] = true,
["siphon life"] = true,
["fear"] = true,
}
end)
@@ -250,82 +250,82 @@ L:RegisterTranslations("zhCN", function()
["Rank 4"] = "等级 4",
-- druid
["Entangling Roots"] = "纠缠根须",
["Sleep"] = "沉睡",
["Faerie Fire"] = "精灵之火",
["Faerie Fire (Bear)"] = "精灵之火(熊形态)",
["Faerie Fire (Feral)"] = "精灵之火(野性形态)",
["Hibernate"] = "休眠",
["Insect Swarm"] = "虫群",
["Moonfire"] = "月火术",
["Rake"] = "扫击",
["Rip"] = "撕扯",
["Soothe Animal"] = "安抚动物",
["Bash"] = "重击",
["entangling roots"] = "纠缠根须",
["sleep"] = "沉睡",
["faerie fire"] = "精灵之火",
["faerie fire (bear)"] = "精灵之火(熊形态)",
["faerie fire (feral)"] = "精灵之火(野性形态)",
["hibernate"] = "休眠",
["insect swarm"] = "虫群",
["moonfire"] = "月火术",
["rake"] = "扫击",
["rip"] = "撕扯",
["soothe animal"] = "安抚动物",
["bash"] = "重击",
["Maim"] = "致残",
["Demoralizing Roar"] = "挫志咆哮",
["Challenging Roar"] = "挑战咆哮",
["demoralizing roar"] = "挫志咆哮",
["challenging roar"] = "挑战咆哮",
-- hunter
["Scorpid Sting"] = "毒蝎钉刺",
["Serpent Sting"] = "毒蛇钉刺",
["Viper Sting"] = "蝰蛇钉刺",
["Wing Clip"] = "摔绊",
["Concussive Shot"] = "震荡射击",
["Wyvern Sting"] = "翼龙钉刺",
["Counterattack"] = "反击",
["Hunter's Mark"] = "猎人印记",
["Freezing Trap"] = "冰冻陷阱",
["scorpid sting"] = "毒蝎钉刺",
["serpent sting"] = "毒蛇钉刺",
["viper sting"] = "蝰蛇钉刺",
["wing clip"] = "摔绊",
["concussive shot"] = "震荡射击",
["wyvern sting"] = "翼龙钉刺",
["counterattack"] = "反击",
["hunter's mark"] = "猎人印记",
["freezing trap"] = "冰冻陷阱",
-- mage
["Polymorph"] = "变形术",
["Polymorph: Cow"] = "变形术:奶牛",
["Polymorph: Turtle"] = "变形术:龟",
["Polymorph: Pig"] = "变形术:猪",
["polymorph"] = "变形术",
["polymorph: cow"] = "变形术:奶牛",
["polymorph: turtle"] = "变形术:龟",
["polymorph: pig"] = "变形术:猪",
-- priest
["Shackle Undead"] = "束缚亡灵",
["Mind Soothe"] = "安抚心灵",
["Mind Control"] = "心灵控制",
["Devouring Plague"] = "吞噬瘟疫",
["Hex of Weakness"] = "虚弱妖术",
["Shadow Word: Pain"] = "暗言术:痛",
["Vampiric Embrace"] = "吸血鬼的拥抱",
["Holy Fire"] = "神圣之火",
["shackle undead"] = "束缚亡灵",
["mind soothe"] = "安抚心灵",
["mind control"] = "心灵控制",
["devouring plague"] = "吞噬瘟疫",
["hex of weakness"] = "虚弱妖术",
["shadow word: pain"] = "暗言术:痛",
["vampiric embrace"] = "吸血鬼的拥抱",
["holy fire"] = "神圣之火",
-- Paladin
["Turn Undead"] = "超度亡灵",
-- rogue
["Blind"] = "致盲",
["Sap"] = "闷棍",
["Gouge"] = "凿击",
["Expose Armor"] = "破甲", -- no idea if right
["Garrote"] = "锁喉", -- no idea if right
["Deadly Poison"] = "致命毒药", -- no idea if right
["Deadly Poison II"] = "致命毒药 II",
["Deadly Poison III"] = "致命毒药 III",
["Deadly Poison IV"] = "致命毒药 IV",
["Deadly Poison V"] = "致命毒药 V",
["blind"] = "致盲",
["sap"] = "闷棍",
["gouge"] = "凿击",
["expose armor"] = "破甲", -- no idea if right
["garrote"] = "锁喉", -- no idea if right
["deadly poison"] = "致命毒药", -- no idea if right
["deadly poison II"] = "致命毒药 II",
["deadly poison III"] = "致命毒药 III",
["deadly poison IV"] = "致命毒药 IV",
["deadly poison V"] = "致命毒药 V",
-- shaman
["Flame Shock"] = "烈焰震击", -- no idea if right
["flame shock"] = "烈焰震击", -- no idea if right
-- warlock
["Conflagrate"] = "引燃", -- no idea if right
["Corruption"] = "腐蚀术",
["Curse of Agony"] = "痛苦诅咒",
["Curse of Doom"] = "末日诅咒",
["Curse of Recklessness"] = "鲁莽诅咒",
["Curse of Shadow"] = "暗影诅咒",
["Curse of the Elements"] = "元素诅咒",
["Curse of Tongues"] = "语言诅咒",
["Curse of Weakness"] = "虚弱诅咒",
["Curse of Exhaustion"] = "疲劳诅咒",
["Immolate"] = "献祭",
["Death Coil"] = "死亡缠绕",
["Banish"] = "放逐",
["Siphon Life"] = "生命虹吸",
["Fear"] = "恐惧",
["conflagrate"] = "引燃", -- no idea if right
["corruption"] = "腐蚀术",
["curse of agony"] = "痛苦诅咒",
["curse of doom"] = "末日诅咒",
["curse of recklessness"] = "鲁莽诅咒",
["curse of shadow"] = "暗影诅咒",
["curse of the elements"] = "元素诅咒",
["curse of tongues"] = "语言诅咒",
["curse of weakness"] = "虚弱诅咒",
["curse of exhaustion"] = "疲劳诅咒",
["immolate"] = "献祭",
["death coil"] = "死亡缠绕",
["banish"] = "放逐",
["siphon life"] = "生命虹吸",
["fear"] = "恐惧",
}
end)