From f737f979d71e9d44b61b783819c428651ab6b741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B9=E9=9B=AA?= <2b@yorha.xyz> Date: Wed, 10 Jun 2026 11:22:47 +0900 Subject: [PATCH] feat(ui): seed common i18n namespace with shared action and status terms --- ui/litellm-dashboard/src/locales/en.json | 70 +++++++++++++++++++++ ui/litellm-dashboard/src/locales/zh-CN.json | 70 +++++++++++++++++++++ 2 files changed, 140 insertions(+) diff --git a/ui/litellm-dashboard/src/locales/en.json b/ui/litellm-dashboard/src/locales/en.json index 5c12f525adc..1b13eb08b4e 100644 --- a/ui/litellm-dashboard/src/locales/en.json +++ b/ui/litellm-dashboard/src/locales/en.json @@ -97,5 +97,75 @@ "adminUiDisabledTitle": "Admin UI Disabled", "adminUiDisabledBody": "The Admin UI has been disabled by the administrator. To re-enable it, please update the following environment variable:", "ssoEnabledNotice": "Single Sign-On (SSO) is enabled. LiteLLM no longer automatically redirects to the SSO login flow upon loading this page. To re-enable auto-redirect-to-SSO, set AUTO_REDIRECT_UI_LOGIN_TO_SSO=true in your environment configuration." + }, + "common": { + "save": "Save", + "cancel": "Cancel", + "delete": "Delete", + "edit": "Edit", + "create": "Create", + "add": "Add", + "remove": "Remove", + "close": "Close", + "confirm": "Confirm", + "submit": "Submit", + "search": "Search", + "refresh": "Refresh", + "reset": "Reset", + "retry": "Retry", + "copy": "Copy", + "copied": "Copied", + "view": "View", + "back": "Back", + "next": "Next", + "previous": "Previous", + "done": "Done", + "apply": "Apply", + "clear": "Clear", + "select": "Select", + "download": "Download", + "upload": "Upload", + "import": "Import", + "export": "Export", + "test": "Test", + "update": "Update", + "loading": "Loading...", + "saving": "Saving...", + "deleting": "Deleting...", + "success": "Success", + "error": "Error", + "warning": "Warning", + "enabled": "Enabled", + "disabled": "Disabled", + "active": "Active", + "inactive": "Inactive", + "all": "All", + "none": "None", + "optional": "Optional", + "required": "Required", + "actions": "Actions", + "name": "Name", + "description": "Description", + "status": "Status", + "type": "Type", + "details": "Details", + "settings": "Settings", + "total": "Total", + "yes": "Yes", + "no": "No", + "ok": "OK", + "never": "Never", + "unknown": "Unknown", + "default": "Default", + "noData": "No data", + "noResults": "No results found", + "searchPlaceholder": "Search...", + "learnMore": "Learn more", + "somethingWentWrong": "Something went wrong", + "areYouSure": "Are you sure?", + "deleteConfirmNamed": "Are you sure you want to delete {{name}}?", + "createdAt": "Created At", + "updatedAt": "Updated At", + "comingSoon": "Coming soon" } } diff --git a/ui/litellm-dashboard/src/locales/zh-CN.json b/ui/litellm-dashboard/src/locales/zh-CN.json index 6c8dbd87541..0d5e8d1ca19 100644 --- a/ui/litellm-dashboard/src/locales/zh-CN.json +++ b/ui/litellm-dashboard/src/locales/zh-CN.json @@ -97,5 +97,75 @@ "adminUiDisabledTitle": "管理界面已禁用", "adminUiDisabledBody": "管理员已禁用管理界面。如需重新启用,请更新以下环境变量:", "ssoEnabledNotice": "单点登录(SSO)已启用。LiteLLM 不再在加载此页面时自动跳转到 SSO 登录流程。如需重新启用自动跳转,请在环境配置中设置 AUTO_REDIRECT_UI_LOGIN_TO_SSO=true。" + }, + "common": { + "save": "保存", + "cancel": "取消", + "delete": "删除", + "edit": "编辑", + "create": "创建", + "add": "添加", + "remove": "移除", + "close": "关闭", + "confirm": "确认", + "submit": "提交", + "search": "搜索", + "refresh": "刷新", + "reset": "重置", + "retry": "重试", + "copy": "复制", + "copied": "已复制", + "view": "查看", + "back": "返回", + "next": "下一步", + "previous": "上一步", + "done": "完成", + "apply": "应用", + "clear": "清除", + "select": "选择", + "download": "下载", + "upload": "上传", + "import": "导入", + "export": "导出", + "test": "测试", + "update": "更新", + "loading": "加载中...", + "saving": "保存中...", + "deleting": "删除中...", + "success": "成功", + "error": "错误", + "warning": "警告", + "enabled": "已启用", + "disabled": "已禁用", + "active": "活跃", + "inactive": "非活跃", + "all": "全部", + "none": "无", + "optional": "可选", + "required": "必填", + "actions": "操作", + "name": "名称", + "description": "描述", + "status": "状态", + "type": "类型", + "details": "详情", + "settings": "设置", + "total": "总计", + "yes": "是", + "no": "否", + "ok": "确定", + "never": "从不", + "unknown": "未知", + "default": "默认", + "noData": "暂无数据", + "noResults": "未找到结果", + "searchPlaceholder": "搜索...", + "learnMore": "了解更多", + "somethingWentWrong": "出错了", + "areYouSure": "确定吗?", + "deleteConfirmNamed": "确定要删除 {{name}} 吗?", + "createdAt": "创建时间", + "updatedAt": "更新时间", + "comingSoon": "即将推出" } }