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 Keys',
'apikeys.button.create': 'New API Key',
'apikeys.form.expiretime': 'Expiration'
};
+7 -2
View File
@@ -41,6 +41,7 @@ export default {
'common.button.edit': 'Edit',
'common.button.authorize': 'Role Authorization',
'common.button.confirm': 'Confirm',
'common.button.viewlog': 'View Logs',
'common.table.operation': 'Operation',
'common.table.createTime': 'Created',
'common.table.updateTime': 'Updated',
@@ -173,6 +174,10 @@ export default {
'common.nodata.created': 'No {type} has been created yet',
'common.nodata.added': 'No {type} has been added yet',
'common.status.edited': 'Edited',
'common.table.user': '用户',
'common.settings.instructions': 'Instructions'
'common.table.user': 'User',
'common.settings.instructions': 'Instructions',
'common.settings.language': 'Language',
'common.delete.confirm':
'Are you sure you want to delete the selected {type}?',
'common.filter.name': 'Filter by name'
};
+10 -1
View File
@@ -1 +1,10 @@
export default {};
export default {
'menu.dashboard': 'Dashboard',
'menu.playground': 'Playground',
'menu.models': 'Models',
'menu.resources': 'Resources',
'menu.apikeys': 'API Keys',
'menu.users': 'Users',
'menu.profile': 'Profile',
'menu.login': 'Login'
};
+12 -1
View File
@@ -1,3 +1,14 @@
export default {
'models.button.deploy': 'Deploy Model'
'models.button.deploy': 'Deploy Model',
'models.title': 'Models',
'models.table.models': 'models',
'models.table.name': 'Model Name',
'models.form.source': 'Source',
'models.form.repoid': 'Repo ID',
'models.form.repoid.desc': 'Only .gguf format is supported',
'models.form.filename': 'File Name',
'models.form.replicas': 'Replicas',
'models.form.s3address': 'S3 Address',
'models.openinplayground': 'Open in Playground',
'models.instances': 'instances'
};
+17
View File
@@ -0,0 +1,17 @@
export default {
'playground.system.tips': 'Enter system message here...',
'playground.title': 'Playground',
'playground.system': 'System',
'playground.user': 'User',
'playground.assistant': 'Assistant',
'playground.newMessage': 'New Message',
'playground.viewcode': 'View Code',
'playground.model': 'Model',
'playground.parameters': 'Parameters',
'playground.viewcode.info':
'You can use the following code to start integrating your current prompt and settings into your application.',
'playground.completion': 'Completion',
'playground.prompt': 'Prompt',
'playground.tokenusage': 'Token Usage',
'models.openinplayground': 'Open in Playground'
};
+11
View File
@@ -0,0 +1,11 @@
export default {
'resources.title': 'Resources',
'resources.nodes': 'Nodes',
'resources.table.hostname': 'Hostname',
'resources.table.ip': 'IP',
'resources.table.cpu': 'CPU',
'resources.table.memory': 'Memory',
'resources.table.gpu': 'GPU',
'resources.table.disk': 'Storage',
'resources.table.vram': 'VRAM'
};