添加多语言最基础代码

This commit is contained in:
刘祥超
2023-06-28 09:12:13 +08:00
parent 4853363765
commit bd57d35d63
27 changed files with 850 additions and 9 deletions

3
build/build-messages.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
go run ../cmd/langs/main.go generate

View File

@@ -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": ""
},
{