mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-05-04 14:25:18 +08:00
添加多语言最基础代码
This commit is contained in:
3
build/build-messages.sh
Executable file
3
build/build-messages.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
go run ../cmd/langs/main.go generate
|
||||
@@ -13537,7 +13537,7 @@
|
||||
},
|
||||
{
|
||||
"name": "AdminModuleList",
|
||||
"code": "message AdminModuleList {\n\tint64 adminId = 1;\n\tbool isSuper = 2;\n\trepeated AdminModule Modules = 3;\n\tstring fullname = 4;\n\tstring theme = 5;\n}",
|
||||
"code": "message AdminModuleList {\n\tint64 adminId = 1;\n\tbool isSuper = 2;\n\trepeated AdminModule Modules = 3;\n\tstring fullname = 4;\n\tstring theme = 5; // 风格模板\n\tstring lang = 6; // 界面语言\n}",
|
||||
"doc": ""
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user