M_i18n = {} function M_i18n:getData(key) if self.datas == nil then return nil end return self.datas[key] end function M_i18n:init() self.datas = {} self.datas["10002"] = {ID = "10002", zh = "今日剩余次数:#&0次", en = "Remaining times today: #&0 times"} self.datas["10003"] = {ID = "10003", zh = "魔法转盘", en = "Magic Carousel"} self.datas["10004"] = {ID = "10004", zh = "神秘事务司", en = "Division of Mystery Affairs"} self.datas["1000000"] = {ID = "1000000", zh = "第一", en = "first"} self.datas["1000001"] = {ID = "1000001", zh = "哈哈哈", en = "hahaha"} end M_i18n:init()