部分中文转换为多语言代号

This commit is contained in:
刘祥超
2023-06-30 18:09:43 +08:00
parent 141dd89f6f
commit fd9849c9ff
175 changed files with 2510 additions and 709 deletions

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env bash
go run ../cmd/langs/main.go generate
ROOT=$(dirname "$0")
/usr/local/bin/go run "${ROOT}"/../cmd/langs/main.go generate

View File

@@ -14947,7 +14947,7 @@
},
{
"name": "CreateLogRequest",
"code": "message CreateLogRequest {\n\tstring level = 1;\n\tstring description = 2;\n\tstring action = 3;\n\tstring ip = 4;\n}",
"code": "message CreateLogRequest {\n\tstring level = 1; // 级别info, warn, error\n\tstring description = 2; // 描述\n\tstring action = 3; // 可选项发生操作所在的页面URL\n\tstring ip = 4; // 可选项操作用户IP\n\tstring langMessageCode = 5; // 多语言消息\n\tbytes langMessagesArgsJSON = 6; // 多语言消息中的参数项,格式:[arg1, arg2, ...]\n}",
"doc": "创建日志"
},
{