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.
38 lines
1.6 KiB
TypeScript
38 lines
1.6 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': 'Model Access',
|
|
'apikeys.models.all': 'All models',
|
|
'apikeys.models.selected': 'Allowed models',
|
|
'apikeys.models.noModelsFound': 'No models found',
|
|
'apikeys.accessScope.all': 'All',
|
|
'apikeys.accessScope.management': 'Platform Management',
|
|
'apikeys.accessScope.inference': 'Inference APIs',
|
|
'apikeys.access.permissions': 'Access Permissions',
|
|
'apikeys.type.auto': 'Auto-generated',
|
|
'apikeys.type.custom': 'Custom',
|
|
'apikeys.button.ipConfig': 'IP Access Control',
|
|
'quotaLimits.button.title': 'Quota Limit'
|
|
};
|
|
|
|
// ========== To-Do: Translate Keys (Remove After Translation) ==========
|
|
// 1. 'apikeys.table.bindModels': 'Model Access',
|
|
// 2. 'apikeys.models.all': 'All models',
|
|
// 3. 'apikeys.models.selected': 'Allowed models',
|
|
// 4. 'apikeys.models.noModelsFound': 'No models found',
|
|
// 5. 'apikeys.access.permissions': 'Access Permissions'
|
|
// ========== End of To-Do List ==========
|