public void ReadTranslateTextDict(string dictKey) { List <string> list = File.ReadAllLines(Path.Combine(ModLoader.GetModAssetsFolder(GlobalVariables.GetGlobalVariables().mscTranslateChs), dictKey + ".txt")).ToList(); Dictionary <string, string> dict = ConverUtil.ConverListToDictionary(list); translateTextDict[dictKey] = dict; translateTextSizeDict[dictKey] = dict.Count; logger.LOG("读取" + dictKey + ".txt文件完成"); }