chore: languages settings

This commit is contained in:
jialin
2024-06-24 14:00:06 +08:00
parent de96c3d81d
commit 64683fdeb6
32 changed files with 417 additions and 156 deletions
+5
View File
@@ -0,0 +1,5 @@
export default {
'apikeys.title': 'API 密钥',
'apikeys.button.create': '新建 API 密钥',
'apikeys.form.expiretime': '过期时间'
};
+5 -1
View File
@@ -40,6 +40,7 @@ export default {
'common.button.edit': '编辑',
'common.button.authorize': '角色授权',
'common.button.confirm': '确定',
'common.button.viewlog': '查看日志',
'common.table.operation': '操作',
'common.table.createTime': '创建时间',
'common.table.updateTime': '更新时间',
@@ -170,5 +171,8 @@ export default {
'common.nodata.added': '尚未添加{type}',
'common.status.edited': '已编辑',
'common.table.user': '用户',
'common.settings.instructions': '操作指引'
'common.settings.instructions': '操作指引',
'common.settings.language': '语言',
'common.delete.confirm': '确定删除选中的{type}吗?',
'common.filter.name': '名称查询'
};
+10 -1
View File
@@ -1 +1,10 @@
export default {};
export default {
'menu.dashboard': '概览',
'menu.playground': '对话',
'menu.models': '模型',
'menu.resources': '资源',
'menu.apikeys': 'API 密钥',
'menu.users': '用户',
'menu.profile': '个人信息',
'menu.login': '登录'
};
+12 -1
View File
@@ -1,3 +1,14 @@
export default {
'models.button.deploy': 'Deploy Model'
'models.button.deploy': '部署模型',
'models.title': '模型',
'models.table.models': '模型',
'models.table.name': '模型名称',
'models.form.source': '来源',
'models.form.repoid': '仓库 ID',
'models.form.repoid.desc': '只支持 .gguf 格式',
'models.form.filename': '文件名',
'models.form.replicas': '副本数',
'models.form.s3address': 'S3 地址',
'models.openinplayground': '在 Playground 中打开',
'models.instances': '实例'
};
+16
View File
@@ -0,0 +1,16 @@
export default {
'playground.system.tips': '在这里输入系统消息...',
'playground.title': '对话',
'playground.system': '系统',
'playground.user': '用户',
'playground.assistant': '助手',
'playground.newMessage': '新消息',
'playground.viewcode': '查看代码',
'playground.model': '模型',
'playground.parameters': '参数',
'playground.viewcode.info':
'你可以使用以下代码将当前的提示和设置集成到你的应用程序中。',
'playground.completion': '补全',
'playground.prompt': '提示',
'playground.tokenusage': 'Token 使用量'
};
+11
View File
@@ -0,0 +1,11 @@
export default {
'resources.title': '资源',
'resources.nodes': '节点',
'resources.table.hostname': '主机名',
'resources.table.ip': 'IP',
'resources.table.cpu': 'CPU',
'resources.table.memory': '内存',
'resources.table.gpu': 'GPU',
'resources.table.disk': '磁盘',
'resources.table.vram': '显存'
};