github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/res/zh/messages.json (about) 1 { 2 "language": "zh", 3 "messages": [ 4 { 5 "id": "usage", 6 "translation": "帮助:" 7 }, 8 { 9 "id": "example", 10 "translation": "举例:" 11 }, 12 { 13 "id": "for_example", 14 "translation": "例如 %s" 15 }, 16 { 17 "id": "begin_config", 18 "translation": "开始配置, 输入'exit'退出。" 19 }, 20 { 21 "id": "enter_language", 22 "translation": "1) 请选择您要使用的语言,中文请输入数字1。\n2) Please select the language. Input 2 for English." 23 }, 24 { 25 "id": "add_to_path_tips_win", 26 "translation": "您可运行 %s 将zd.exe加入$PATH环境变量,以方便在任何目录中执行。" 27 }, 28 { 29 "id": "add_to_path_win", 30 "translation": "是否将zd.exe加入$Path环境变量,以方便在任何目录中执行?(y/n, 默认Yes)" 31 }, 32 { 33 "id": "add_to_path_linux", 34 "translation": "是否将zd命令加入$Path环境变量,以方便在任何目录中执行?(y/n, 默认Yes)" 35 }, 36 { 37 "id": "add_to_path_success_win", 38 "translation": "成功加入$PATH环境变量,请重新打开命令行窗口。" 39 }, 40 { 41 "id": "add_to_path_success_linux", 42 "translation": "成功加入$PATH环境变量,请执行source %s使其生效。" 43 }, 44 { 45 "id": "current_config", 46 "translation": "当前配置:" 47 }, 48 49 { 50 "id": "success_to_read", 51 "translation": "读取文件%s成功。" 52 }, 53 { 54 "id": "fail_to_read_file", 55 "translation": "读取文件%s失败。" 56 }, 57 { 58 "id": "fail_to_write_file", 59 "translation": "写文件%s失败。" 60 }, 61 { 62 "id": "fail_to_parse_file", 63 "translation": "解析文件%s失败。" 64 }, 65 { 66 "id": "fail_to_parse_ranges", 67 "translation": "%s不是ResRanges格式,尝试解析为ResInsts对象。" 68 }, 69 { 70 "id": "fail_to_find_res", 71 "translation": "加载资源%s失败." 72 }, 73 74 { 75 "id": "generate_records", 76 "translation": "生成%d个记录到文件%s,耗时%d秒。" 77 }, 78 { 79 "id": "fail_to_connect_sqlite", 80 "translation": "打开SQLite数据库%s失败,错误:%s。" 81 }, 82 { 83 "id": "fail_to_exec_query", 84 "translation": "SQLite查询失败,语句:%s,错误:%s。" 85 }, 86 { 87 "id": "pls_check_excel", 88 "translation": "请确认所查询的表格和列存在于Excel文件%s中。" 89 }, 90 { 91 "id": "fail_to_parse_row", 92 "translation": "SQLite行解析失败,错误%s。" 93 }, 94 { 95 "id": "fail_to_save_excel", 96 "translation": "保存Excel失败,错误:%s。" 97 }, 98 { 99 "id": "fail_to_drop_table", 100 "translation": "删除表%s失败,错误:%s" 101 }, 102 { 103 "id": "fail_to_create_table", 104 "translation": "创建表%s失败,错误:%s。" 105 }, 106 { 107 "id": "file_change_time", 108 "translation": "文件修改时间为%s。" 109 }, 110 111 { 112 "id": "generate_yaml", 113 "translation": "生成%d个yaml文件于目录%s中, 耗时%d秒。" 114 }, 115 { 116 "id": "generate_article_templ", 117 "translation": "生成文章模板文件于%s, 耗时%d秒。" 118 }, 119 { 120 "id": "start_server", 121 "translation": "正在启动ZenData HTTP服务,按CTRL+C键退出。\n数据生成请调用http://%s:%s/data/generate,如curl http://%s:%s/data/generate?config=demo/default.yaml&lines=3。" 122 }, 123 { 124 "id": "start_server_fail", 125 "translation": "ZenData HTTP服务启动失败,请确认端口%s有效。" 126 }, 127 { 128 "id": "server_request", 129 "translation": "收到%s请求 %s。" 130 }, 131 { 132 "id": "server_response", 133 "translation": "生成%d条记录,耗时%d秒。" 134 }, 135 { 136 "id": "excel_data", 137 "translation": "Excel数据表。" 138 }, 139 { 140 "id": "excel_data_1", 141 "translation": "Excel数据源,包含以下表格." 142 }, 143 { 144 "id": "excel_data_1", 145 "translation": "Excel数据源,包含以下内容." 146 }, 147 { 148 "id": "text_data", 149 "translation": "文本数据。" 150 }, 151 { 152 "id": "analyse_success", 153 "translation": "成功解析数据到%s." 154 }, 155 { 156 "id": "miss_table_name", 157 "translation": "以sql格式输出时,需要指定table参数。" 158 }, 159 { 160 "id": "fail_to_generate_field", 161 "translation": "为Field %s生成数据失败。" 162 }, 163 { 164 "id": "fail_to_exec_cmd", 165 "translation": "执行命令'%s'失败,错误消息为'%s'。" 166 }, 167 168 { 169 "id": "check_update", 170 "translation": "检查更新" 171 }, 172 { 173 "id": "no_new_ver", 174 "translation": "当前版本%s已经为最新。" 175 }, 176 { 177 "id": "find_new_ver", 178 "translation": "发现新版本%s。" 179 }, 180 { 181 "id": "success_upgrade", 182 "translation": "成功从版本%.1f升级到%s。" 183 }, 184 { 185 "id": "fail_upgrade", 186 "translation": "失败升级版本从%.1f到%s,错误 %s。" 187 }, 188 189 { 190 "id": "download_fail", 191 "translation": "下载文件失败 %s,错误 %s。" 192 }, 193 { 194 "id": "download_read_fail", 195 "translation": "读取下载文件%s失败,错误 %s。" 196 }, 197 { 198 "id": "download_write_fail", 199 "translation": "写入下载文件%s失败,错误 %s。" 200 }, 201 { 202 "id": "download_success", 203 "translation": "成功下载文件%s到%s。" 204 }, 205 { 206 "id": "success_update_config", 207 "translation": "成功更新配置文件%s。" 208 }, 209 { 210 "id": "perm_deny", 211 "translation": "文件%s权限不足,建议切换工作目录。" 212 }, 213 { 214 "id": "fail_unzip", 215 "translation": "解压文件%s失败。" 216 }, 217 { 218 "id": "fail_md5_check", 219 "translation": "验证文件%s的MD5失败。" 220 }, 221 { 222 "id": "root_invalid", 223 "translation": "%s不是有效的ZenData目录。" 224 }, 225 { 226 "id": "print_common_yaml_file", 227 "translation": "文件%s是一个普通的数据定义文件,请执行数据生成命令来查看内容。" 228 }, 229 { 230 "id": "gen_article_must_has_out_param", 231 "translation": "生成文章必须使用-o提供输出参数。" 232 }, 233 234 { 235 "id": "protobuf_path", 236 "translation": "ProtoBuf二进制内容已写入文件%s。" 237 }, 238 { 239 "id" : "dsn_param_parsing_error", 240 "translation": "-dsn 参数解析错误" 241 }, 242 243 { 244 "id" : "success_to_clear_cache", 245 "translation": "成功清除缓存'%s'。" 246 }, 247 { 248 "id" : "success_to_clear_all_cache", 249 "translation": "成功清除所有缓存。" 250 }, 251 { 252 "id" : "miss_cache_param", 253 "translation": "生成数量超多%d,请提供-cache参数。" 254 } 255 256 ] 257 }