Add an Organizations menu entry (admin-only) that routes to an upsell page explaining the multi-tenancy module, and surface disabled IP Access Control / Quota Limit items in the API Key dropdown with a tooltip pointing at the enterprise edition. Both placeholders are shadowed by the enterprise plugin at build time: the route merger removes the OSS Organizations entry by name, and the dropdown skips each placeholder when the same key is contributed via configActions.
29 lines
1.2 KiB
TypeScript
29 lines
1.2 KiB
TypeScript
export default {
|
|
'apikeys.title': 'API 密钥',
|
|
'apikeys.table.apikeys': '密钥',
|
|
'apikeys.table.key': '密钥',
|
|
'apikeys.button.create': '添加 API 密钥',
|
|
'apikeys.button.edit': '编辑 API 密钥',
|
|
'apikeys.title.save': '保存 API 密钥',
|
|
'apikeys.form.expiretime': '过期时间',
|
|
'apikeys.form.apikey': 'API 密钥',
|
|
'apikeys.table.name': '密钥名称',
|
|
'apikeys.table.save.tips': '确保立即复制您的密钥。您将无法再次看到它!',
|
|
'apikeys.form.expiration.7days': '7天',
|
|
'apikeys.form.expiration.1month': '1个月',
|
|
'apikeys.form.expiration.6months': '6个月',
|
|
'apikeys.form.expiration.never': '永不过期',
|
|
'apikeys.table.bindModels': '模型访问',
|
|
'apikeys.models.all': '所有模型',
|
|
'apikeys.models.selected': '指定模型',
|
|
'apikeys.models.noModelsFound': '未找到模型',
|
|
'apikeys.accessScope.all': '全部',
|
|
'apikeys.accessScope.management': '平台管理',
|
|
'apikeys.accessScope.inference': '推理接口',
|
|
'apikeys.access.permissions': '访问权限',
|
|
'apikeys.type.auto': '自动生成',
|
|
'apikeys.type.custom': '自定义',
|
|
'apikeys.button.ipConfig': 'IP 访问控制',
|
|
'quotaLimits.button.title': '配额限制'
|
|
};
|