feat: implement hotel staff chat model configuration API and update localization files

This commit is contained in:
duanshuwen
2026-04-21 19:39:36 +08:00
parent 413e566430
commit 488d420e06
11 changed files with 153 additions and 672 deletions

View File

@@ -14,6 +14,7 @@
"providers": {
"title": "AI Providers",
"subtitle": "Manage your AI models and API keys.",
"providerName": "Provider",
"add": "Add Provider",
"loading": "Loading provider settings...",
"defaultBadge": "Default",
@@ -22,7 +23,7 @@
"setDefault": "Set Default",
"edit": "Edit",
"delete": "Delete",
"empty": "No providers configured yet. Click \"Add Provider\" to start.",
"empty": "No model configuration is available yet.",
"confirmDelete": "Are you sure you want to delete this provider?",
"notices": {
"loadError": "Failed to load provider settings.",
@@ -68,7 +69,9 @@
"window7d": "Last 7 Days",
"window30d": "Last 30 Days",
"windowAll": "All Time",
"showingRecords": "Showing {count} records",
"showingRecords": "Showing {{count}} records",
"showingRecords_one": "Showing {{count}} record",
"showingRecords_other": "Showing {{count}} records",
"chart": {
"total": "Total",
"input": "Input",
@@ -78,17 +81,17 @@
"row": {
"noUsageInfo": "No usage info",
"errorParsingUsage": "Error parsing usage",
"input": "Input: {count}",
"output": "Output: {count}",
"cacheRead": "Cache Read: {count}",
"cacheWrite": "Cache Write: {count}",
"input": "Input: {{count}}",
"output": "Output: {{count}}",
"cacheRead": "Cache Read: {{count}}",
"cacheWrite": "Cache Write: {{count}}",
"noUsageReported": "No usage reported",
"parseError": "Parse error",
"viewContent": "View Content",
"error": "Error"
},
"pagination": {
"pageOf": "Page {page} of {total}",
"pageOf": "Page {{page}} of {{total}}",
"prev": "Prev",
"next": "Next"
},

View File

@@ -14,6 +14,7 @@
"providers": {
"title": "AI プロバイダー",
"subtitle": "AI モデルと API キーを管理します。",
"providerName": "Provider",
"add": "プロバイダーを追加",
"loading": "プロバイダー設定を読み込み中...",
"defaultBadge": "デフォルト",
@@ -22,7 +23,7 @@
"setDefault": "デフォルトに設定",
"edit": "編集",
"delete": "削除",
"empty": "プロバイダーはまだ設定されていません。「プロバイダーを追加」をクリックして開始してください。",
"empty": "モデル設定はまだ取得されていません。",
"confirmDelete": "このプロバイダーを削除してもよろしいですか?",
"notices": {
"loadError": "プロバイダー設定の読み込みに失敗しました。",
@@ -68,7 +69,7 @@
"window7d": "過去 7 日",
"window30d": "過去 30 日",
"windowAll": "全期間",
"showingRecords": "{count} 件を表示",
"showingRecords": "{{count}} 件を表示",
"chart": {
"total": "合計",
"input": "入力",
@@ -78,17 +79,17 @@
"row": {
"noUsageInfo": "使用量情報なし",
"errorParsingUsage": "使用量の解析エラー",
"input": "入力: {count}",
"output": "出力: {count}",
"cacheRead": "キャッシュ読込: {count}",
"cacheWrite": "キャッシュ書込: {count}",
"input": "入力: {{count}}",
"output": "出力: {{count}}",
"cacheRead": "キャッシュ読込: {{count}}",
"cacheWrite": "キャッシュ書込: {{count}}",
"noUsageReported": "使用量が報告されていません",
"parseError": "解析エラー",
"viewContent": "内容を見る",
"error": "エラー"
},
"pagination": {
"pageOf": "{page} / {total} ページ",
"pageOf": "{{page}} / {{total}} ページ",
"prev": "前へ",
"next": "次へ"
},

View File

@@ -14,6 +14,7 @@
"providers": {
"title": "AI 服务商",
"subtitle": "管理你的 AI 模型与 API Key。",
"providerName": "Provider",
"add": "添加服务商",
"loading": "正在加载服务商配置...",
"defaultBadge": "默认",
@@ -22,7 +23,7 @@
"setDefault": "设为默认",
"edit": "编辑",
"delete": "删除",
"empty": "暂未配置服务商。点击“添加服务商”开始。",
"empty": "暂未获取到模型配置。",
"confirmDelete": "确定删除这个服务商吗?",
"notices": {
"loadError": "加载服务商配置失败。",
@@ -68,7 +69,7 @@
"window7d": "最近 7 天",
"window30d": "最近 30 天",
"windowAll": "全部时间",
"showingRecords": "共显示 {count} 条记录",
"showingRecords": "共显示 {{count}} 条记录",
"chart": {
"total": "总计",
"input": "输入",
@@ -78,17 +79,17 @@
"row": {
"noUsageInfo": "无用量信息",
"errorParsingUsage": "用量解析错误",
"input": "输入:{count}",
"output": "输出:{count}",
"cacheRead": "缓存读取:{count}",
"cacheWrite": "缓存写入:{count}",
"input": "输入:{{count}}",
"output": "输出:{{count}}",
"cacheRead": "缓存读取:{{count}}",
"cacheWrite": "缓存写入:{{count}}",
"noUsageReported": "未上报用量",
"parseError": "解析失败",
"viewContent": "查看内容",
"error": "错误"
},
"pagination": {
"pageOf": "第 {page} / {total} 页",
"pageOf": "第 {{page}} / {{total}} 页",
"prev": "上一页",
"next": "下一页"
},