function getRobotName(i)
	ai_names = {
		"Kenkic的机器女仆",
		"HyperX的基友",
		"天启的老公",
		"灵魂的⑨",
		"太阳神的苦工",
		"William大神",
		"海泡叉",
		"安岐家的男宠",
		"灵魂家的葱娘手办",
		"启姐家的好丈夫",
		"KK家的机器女仆",
		"神上的化身",
		"donle的最后之作",
		"全宇宙最强的天霜雪舞",
		"导线的电阻",
		"QB的契约",
		"小A喜欢用的外挂",
		"吉祥物小萨",
		"Slob的杀虫剂",
		"克拉克的跑动投",
		"讨厌的核弹",
	}
	
	if i and i > 0 then return ai_names[i] end
	
	math.randomseed(os.time())
	local index = math.random(1, #ai_names)
	return ai_names[index]
end

translation_table = {
	["Pairs"] = "双将",

	["spade"] = "黑桃",
	["club"] = "梅花",
	["heart"] = "红桃",
	["diamond"] = "方块",
	["no_suit"] = "无色",
	["basic"] = "基本牌",
	["trick"] = "锦囊牌",
	["equip"] = "装备牌",
	["ndtrick"] = "非延时锦囊",

	["lord"] = "主公",
	["loyalist"] = "忠臣",
	["rebel"] = "反贼",
	["renegade"] = "内奸",
	["spade_char"] = "♠",
	["club_char"] = "♣",
	["heart_char"] = "♥",
	["diamond_char"] = "♦",
	["no_suit_char"] = "无色",
	["start"] = "开始",
	["judge"] = "判定",
	["retrial"] = "改判",
	["judgedone"] = "的判定结果",
	["put"] = "放进弃牌堆",
	["throw"] = "弃置",
	["enter"] = "置入弃牌堆",
	["backinto"] = "从游戏外移回到弃牌堆",		
	["draw"] = "摸牌",
	["play"] = "出牌",
	["discard"] = "弃牌",
	["finish"] = "结束",
	["use"] = "使用",
	["response"] = "打出",
	["dismantled"] = "被弃置",
	["recast"] = "重铸",
	["pindian"] = "拼点",
	["change equip"] = "更换装备",
	["turnover"] = "从牌堆顶翻开",
	["online"] = "在线",
	["offline"] = "离线",
	["robot"] = "电脑",
	["trust"] = "托管",
	["cheat"] = "作弊",
	["change"] = "变身",
	["free-discard"] = "自由弃牌",
	["yes"] = "是",
	["no"] = "否",
	["male"] = "男性",
	["female"] = "女性",

	["use upon"] = "对",
	["yourself"] = "你";

	["attack_card"] = "进攻牌",
	["defense_card"] = "防御牌",
	["recover_card"] = "恢复牌",
	["global_effect"] = "全局效果",
	["aoe"] = "范围效果",
	["single_target_trick"] = "单体锦囊",
	["mutiple_target_trick"] = "多目标锦囊",
	["delayed_trick"] = "延时锦囊",
	["buff_card"] = "辅助伤害卡",
	["damage_spread"] = "伤害传导",
	["weapon"] = "武器",
	["armor"] = "防具",
	["defensive_horse"] = "防御马",
	["offensive_horse"] = "进攻马",
	["disgusting_card"] = "恶心牌",

	["wei"] = "魏",
	["shu"] = "蜀",
	["wu"] = "吴",
	["qun"] = "群",

	["#Murder"] = "%to【%arg】 挂了，凶手是 %from",
	["#Suicide"] = "%to【%arg】 自杀身亡",
	["#InvokeSkill"] = "%from 发动技能【%arg】",
	["#TriggerSkill"] = "%from 触发【%arg】",
	["#Pindian"] = "%from 向 %to 发起了拼点",
	["#PindianSuccess"] = "%from (对 %to) 拼点成功！\\(^o^)/",
	["#PindianFailure"] = "%from (对 %to) 拼点失败！-_-！",
	["#Damage"] = "%from 对 %to 造成了 %arg 点伤害[%arg2]",
	["#DamageNoSource"] = "%to 受到了 %arg 点伤害[%arg2]",
	["#Recover"] = "%from 恢复了 %arg 点体力",
	["#AskForPeaches"] = "%from 向 %to 求桃，一共需要 %arg 个桃子",
	["#ChooseKingdom"] = "%from 选择了 %arg 作为他的国籍",
	["#NullificationDetails"] = "无懈的对象是 %from 对 %to 使用的锦囊 %arg",
	["#SkillAvoid"] = "这张 %arg2 受到%from 的 %arg 技能的影响，不能指定其作为目标",
	["#Transfigure"] = "%from 变身为 %arg",
	["#AcquireSkill"] = "%from 获得了技能 【%arg】",
	["#LoseSkill"] = "%from 失去了技能 【%arg】",
	["$InitialJudge"] = "%from 亮出的判定牌为 %card",
	["$ChangedJudge"] = "%from 把 %to 的判定牌改判成了 %card",
	["$MoveCard"] = "%to 从 %from 处得到了 %card",
	["$PasteCard"] = "%from 给 %to 贴了张 %card",
	["$LightningMove"] = "%card 从 %from 移动到 %to",
	["$DiscardCard"] = "%from 弃置了 %card",
	["$GotCardBack"] = "%from 收回了%card",
	["$RecycleCard"] = "%from 捡回了%card",
	["$Dismantlement"] = "%from 的%card被弃置",
	["$ShowCard"] = "%from 展示了 %card",
	["$PutCard"] = "%from 的 %card 被置于牌堆顶",
	["normal_nature"] = "无属性",
	["fire_nature"] = "火焰属性",
	["thunder_nature"] = "雷电属性",
	["#Contingency"] = "%to【%arg】 挂了，死于天灾",
	["#DelayedTrick"] = "%from 的延时类锦囊【%arg】开始判定",
	["#SkillNullify"] = "【%arg2】受到【%arg】的影响，对%from 无效",
	["#ArmorNullify"] = "【%arg2】受到【%arg】的影响，对%from 无效",
	["#DrawNCards"] = "%from 摸了 %arg 张牌",
	["#MoveNCards"] = "%to 获得了 %from 的 %arg 张牌",
	["$TakeAG"] = "%from 获得%card",
	["$Install"] = "%from 装备了 %card",
	["$Uninstall"] = "%from 卸载了 %card",
	["$JudgeResult"] = "%from 的判定结果为 %card",
	["$PindianResult"] = "%from 的拼点牌为 %card",
	["#ChooseSuit"] = "%from 选择了花色 %arg",
	["#TurnOver"] = "%from 将自己的武将牌翻面，现在是 %arg",
	["face_up"] = "正面朝上",
	["face_down"] = "背面朝上",
	["#SkipPhase"] = "%from 跳过了 %arg 阶段",
	["#SkipAllPhase"] = "%from 中止了当前回合",
	["#IronChainDamage"] = "%from 处于连环状态",
	["#LoseHp"] = "%from 失去 %arg 点体力",
	["#LoseMaxHp"] = "%from 减 %arg 点体力上限",
	["#LostMaxHpPlus"] = "%from 减 %arg 点体力上限，并将当前的体力值调整为%arg2",
	["#ChangeKingdom"] = "%from 把 %to 的国籍由原来的 %arg 改成了 %arg2",
	["#AnalepticBuff"] = "%from 喝过【%arg】，对 %to 造成的伤害 +1",
	["#GetMark"] = "%from 得到了 %arg2 枚 %arg 标记",
	["#LoseMark"] = "%from 失去了 %arg2 枚 %arg 标记",
	["@askforslash"] = "你可以对你攻击范围内的一名其他角色使用一张【杀】",
	["@askforretrial"] = "请使用【%dest】技能来修改 %src 的 %arg 判定",
	["$CheatCard"] = "%from 使用了作弊，获得了 %card",

	["CAPITAL(1)"] = "一",
	["CAPITAL(2)"] = "二",
	["CAPITAL(3)"] = "三",
	["CAPITAL(4)"] = "四",
	["CAPITAL(5)"] = "五",
	["CAPITAL(6)"] = "六",
	["CAPITAL(7)"] = "七",
	["CAPITAL(8)"] = "八",
	["CAPITAL(9)"] = "九",
	["CAPITAL(10)"] = "十",

	["3v3:cw"] = "顺时针",
	["3v3:ccw"] = "逆时针",
	["cw"] = "顺时针",
	["ccw"] = "逆时针",
	["#TrickDirection"] = "%from 选择了 %arg 作为锦囊的顺序",
	["custom"] = "自定义模式",
	["UnknowNick"] = "无称号",
	["DefaultIllustrator"] = "KayaK",
	
	["@waked"] = "觉醒",
}

for i = 1, 21 do 
	translation_table["ai_name"..i] = getRobotName(i)
end

return translation_table