Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions messages/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"delete": "Delete",
"confirm": "Confirm",
"edit": "Edit",
"status": "Status",
"create": "Create",
"close": "Close",
"back": "Back",
Expand Down
18 changes: 17 additions & 1 deletion messages/en/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -1225,8 +1225,23 @@
"columns": {
"model": "Model",
"calls": "Calls",
"tokens": "Tokens",
"cost": "Cost"
},
"modal": {
"requests": "Requests",
"totalTokens": "Total Tokens",
"cost": "Cost",
"inputTokens": "Input Tokens",
"outputTokens": "Output Tokens",
"cacheWrite": "Cache Write",
"cacheRead": "Cache Read",
"cacheHitRate": "Cache Hit Rate",
"cacheTokens": "Cache Tokens",
"performanceHigh": "High",
"performanceMedium": "Medium",
"performanceLow": "Low"
},
"noData": "No usage records today",
"totalCalls": "Total Calls",
"totalCost": "Total Cost"
Expand Down Expand Up @@ -1577,7 +1592,8 @@
"clickToEnableUser": "Click to enable user",
"operationFailed": "Operation failed",
"deleteFailed": "Delete failed",
"deleteSuccess": "Delete successful"
"deleteSuccess": "Delete successful",
"daysLeft": "{days, plural, =0 {Expires today} =1 {1 day left} other {# days left}}"
},
"userEditSection": {
"sections": {
Expand Down
4 changes: 2 additions & 2 deletions messages/en/myUsage.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"inheritedFromUser": "Inherited from User"
},
"stats": {
"title": "Statistics Summary",
"title": "Key Statistics",
"autoRefresh": "Auto refresh every {seconds}s",
"totalRequests": "Total Requests",
"totalCost": "Total Cost",
Expand Down Expand Up @@ -116,7 +116,7 @@
"noRestrictions": "No restrictions"
},
"quotaCollapsible": {
"title": "Quota Usage",
"title": "User Quota Usage",
"daily": "Daily",
"monthly": "Monthly",
"total": "Total"
Expand Down
1 change: 1 addition & 0 deletions messages/en/settings/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
},
"status": {
"connected": "Database connected",
"connectionUnavailable": "Database connection unavailable, please check database service status",
"error": "Failed to get database status",
"loading": "Loading...",
"retry": "Retry",
Expand Down
2 changes: 2 additions & 0 deletions messages/en/settings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import sensitiveWords from "./sensitiveWords.json";
import strings from "./strings.json";

import providersAutoSort from "./providers/autoSort.json";
import providersBatchEdit from "./providers/batchEdit.json";
import providersFilter from "./providers/filter.json";
import providersGuide from "./providers/guide.json";
import providersInlineEdit from "./providers/inlineEdit.json";
Expand Down Expand Up @@ -74,6 +75,7 @@ const providersForm = {
const providers = {
...providersStrings,
autoSort: providersAutoSort,
batchEdit: providersBatchEdit,
filter: providersFilter,
form: providersForm,
guide: providersGuide,
Expand Down
2 changes: 1 addition & 1 deletion messages/en/settings/providers/form/sections.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
"placeholder": "1.0"
},
"group": {
"desc": "Group tag. Only users whose providerGroup matches can use this provider. Example: set to \"premium\" to serve users with providerGroup=\"premium\" only",
"desc": "Group tag. Select from list or type a new name and press Enter to create (max 50 chars). Only users whose providerGroup matches can use this provider.",
"label": "Provider Group",
"placeholder": "e.g. premium, economy"
},
Expand Down
1 change: 1 addition & 0 deletions messages/ja/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"delete": "削除",
"confirm": "確認",
"edit": "編集",
"status": "ステータス",
"create": "作成",
"close": "閉じる",
"back": "戻る",
Expand Down
18 changes: 17 additions & 1 deletion messages/ja/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -1206,8 +1206,23 @@
"columns": {
"model": "モデル",
"calls": "呼び出し回数",
"tokens": "トークン",
"cost": "消費金額"
},
"modal": {
"requests": "リクエスト",
"totalTokens": "トークン合計",
"cost": "コスト",
"inputTokens": "入力トークン",
"outputTokens": "出力トークン",
"cacheWrite": "キャッシュ書込",
"cacheRead": "キャッシュ読取",
"cacheHitRate": "キャッシュヒット率",
"cacheTokens": "キャッシュトークン",
"performanceHigh": "高",
"performanceMedium": "中",
"performanceLow": "低"
},
"noData": "本日の使用記録はありません",
"totalCalls": "総呼び出し数",
"totalCost": "総消費"
Expand Down Expand Up @@ -1512,7 +1527,8 @@
"clickToEnableUser": "クリックしてユーザーを有効化",
"operationFailed": "操作に失敗しました",
"deleteFailed": "削除に失敗しました",
"deleteSuccess": "削除しました"
"deleteSuccess": "削除しました",
"daysLeft": "{days, plural, =0 {本日期限} =1 {残り1日} other {残り#日}}"
},
"userEditSection": {
"sections": {
Expand Down
4 changes: 2 additions & 2 deletions messages/ja/myUsage.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"inheritedFromUser": "ユーザーから継承"
},
"stats": {
"title": "統計サマリー",
"title": "キー統計",
"autoRefresh": "{seconds}秒ごとに自動更新",
"totalRequests": "リクエスト総数",
"totalCost": "総コスト",
Expand Down Expand Up @@ -116,7 +116,7 @@
"noRestrictions": "制限なし"
},
"quotaCollapsible": {
"title": "クォータ使用状況",
"title": "ユーザークォータ使用状況",
"daily": "日次",
"monthly": "月次",
"total": "合計"
Expand Down
1 change: 1 addition & 0 deletions messages/ja/settings/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
},
"status": {
"connected": "データベース接続正常",
"connectionUnavailable": "データベース接続が利用できません。データベースサービスの状態を確認してください",
"error": "データベースステータスの取得に失敗しました",
"loading": "読み込み中...",
"retry": "再試行",
Expand Down
2 changes: 2 additions & 0 deletions messages/ja/settings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import sensitiveWords from "./sensitiveWords.json";
import strings from "./strings.json";

import providersAutoSort from "./providers/autoSort.json";
import providersBatchEdit from "./providers/batchEdit.json";
import providersFilter from "./providers/filter.json";
import providersGuide from "./providers/guide.json";
import providersInlineEdit from "./providers/inlineEdit.json";
Expand Down Expand Up @@ -74,6 +75,7 @@ const providersForm = {
const providers = {
...providersStrings,
autoSort: providersAutoSort,
batchEdit: providersBatchEdit,
filter: providersFilter,
form: providersForm,
guide: providersGuide,
Expand Down
2 changes: 1 addition & 1 deletion messages/ja/settings/providers/form/sections.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
"placeholder": "1.0"
},
"group": {
"desc": "グループタグ。ユーザーの providerGroup が一致する場合のみ利用可能。例: \"premium\" に設定すると providerGroup=\"premium\" のユーザーのみ対象",
"desc": "グループタグ。リストから選択するか、新しい名前を入力して Enter で作成(最大50文字)。providerGroup が一致するユーザーのみがこのプロバイダーを使用できます。",
"label": "プロバイダーグループ",
"placeholder": "例: premium, economy"
},
Expand Down
1 change: 1 addition & 0 deletions messages/ru/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"delete": "Удалить",
"confirm": "Подтвердить",
"edit": "Редактировать",
"status": "Статус",
"create": "Создать",
"close": "Закрыть",
"back": "Назад",
Expand Down
18 changes: 17 additions & 1 deletion messages/ru/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -1213,8 +1213,23 @@
"columns": {
"model": "Модель",
"calls": "Вызовы",
"tokens": "Токены",
"cost": "Стоимость"
},
"modal": {
"requests": "Запросов",
"totalTokens": "Всего токенов",
"cost": "Стоимость",
"inputTokens": "Входные токены",
"outputTokens": "Выходные токены",
"cacheWrite": "Запись кэша",
"cacheRead": "Чтение кэша",
"cacheHitRate": "Попадание кэша",
"cacheTokens": "Токены кэша",
"performanceHigh": "Высокий",
"performanceMedium": "Средний",
"performanceLow": "Низкий"
},
"noData": "Нет записей использования за сегодня",
"totalCalls": "Всего вызовов",
"totalCost": "Общий расход"
Expand Down Expand Up @@ -1565,7 +1580,8 @@
"clickToEnableUser": "Нажмите, чтобы включить пользователя",
"operationFailed": "Операция не удалась",
"deleteFailed": "Не удалось удалить",
"deleteSuccess": "Удаление успешно"
"deleteSuccess": "Удаление успешно",
"daysLeft": "{days, plural, =0 {Истекает сегодня} =1 {Остался 1 день} few {Осталось # дня} many {Осталось # дней} other {Осталось # дней}}"
},
"userEditSection": {
"sections": {
Expand Down
4 changes: 2 additions & 2 deletions messages/ru/myUsage.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"inheritedFromUser": "Наследовано от пользователя"
},
"stats": {
"title": "Сводка статистики",
"title": "Статистика ключа",
"autoRefresh": "Автообновление каждые {seconds}с",
"totalRequests": "Всего запросов",
"totalCost": "Общая стоимость",
Expand Down Expand Up @@ -116,7 +116,7 @@
"noRestrictions": "Без ограничений"
},
"quotaCollapsible": {
"title": "Использование квоты",
"title": "Квота пользователя",
"daily": "День",
"monthly": "Месяц",
"total": "Всего"
Expand Down
1 change: 1 addition & 0 deletions messages/ru/settings/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
},
"status": {
"connected": "База данных подключена",
"connectionUnavailable": "Подключение к базе данных недоступно, проверьте состояние сервиса базы данных",
"error": "Не удалось получить статус базы данных",
"loading": "Загрузка...",
"retry": "Повторить",
Expand Down
2 changes: 2 additions & 0 deletions messages/ru/settings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import sensitiveWords from "./sensitiveWords.json";
import strings from "./strings.json";

import providersAutoSort from "./providers/autoSort.json";
import providersBatchEdit from "./providers/batchEdit.json";
import providersFilter from "./providers/filter.json";
import providersGuide from "./providers/guide.json";
import providersInlineEdit from "./providers/inlineEdit.json";
Expand Down Expand Up @@ -74,6 +75,7 @@ const providersForm = {
const providers = {
...providersStrings,
autoSort: providersAutoSort,
batchEdit: providersBatchEdit,
filter: providersFilter,
form: providersForm,
guide: providersGuide,
Expand Down
4 changes: 2 additions & 2 deletions messages/ru/settings/providers/form/sections.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@
"placeholder": "1.0"
},
"group": {
"desc": "Метка группы. Пользователь может использовать провайдера только если его providerGroup совпадает. Пример: значение \"premium\" — только для пользователей с providerGroup=\"premium\"",
"desc": "Тег группы. Выберите из списка или введите новое имя и нажмите Enter для создания (макс. 50 символов). Только пользователи с соответствующим providerGroup могут использовать этого провайдера.",
"label": "Группа провайдера",
"placeholder": "например: premium, economy"
"placeholder": "напр. premium, economy"
},
"priority": {
"desc": "Меньше — выше приоритет (0 — наивысший). Система выбирает только из провайдеров с максимальным приоритетом. Рекомендации: основной=0, резерв=1, аварийный=2",
Expand Down
1 change: 1 addition & 0 deletions messages/zh-CN/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"delete": "删除",
"confirm": "确认",
"edit": "编辑",
"status": "状态",
"create": "创建",
"close": "关闭",
"back": "返回",
Expand Down
18 changes: 17 additions & 1 deletion messages/zh-CN/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -1226,8 +1226,23 @@
"columns": {
"model": "模型",
"calls": "调用次数",
"tokens": "Token数",
"cost": "消费金额"
},
"modal": {
"requests": "请求",
"totalTokens": "总Token",
"cost": "费用",
"inputTokens": "输入Token",
"outputTokens": "输出Token",
"cacheWrite": "缓存写入",
"cacheRead": "缓存读取",
"cacheHitRate": "缓存命中率",
"cacheTokens": "缓存Token",
"performanceHigh": "高",
"performanceMedium": "中",
"performanceLow": "低"
},
"noData": "今日暂无使用记录",
"totalCalls": "总调用",
"totalCost": "总消费"
Expand Down Expand Up @@ -1536,7 +1551,8 @@
"clickToEnableUser": "点击启用用户",
"operationFailed": "操作失败",
"deleteFailed": "删除失败",
"deleteSuccess": "删除成功"
"deleteSuccess": "删除成功",
"daysLeft": "{days, plural, =0 {今天到期} =1 {剩余1天} other {剩余#天}}"
},
"userEditSection": {
"sections": {
Expand Down
4 changes: 2 additions & 2 deletions messages/zh-CN/myUsage.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"inheritedFromUser": "继承自用户"
},
"stats": {
"title": "统计摘要",
"title": "密钥统计",
"autoRefresh": "每{seconds}秒自动刷新",
"totalRequests": "总请求数",
"totalCost": "总费用",
Expand Down Expand Up @@ -116,7 +116,7 @@
"noRestrictions": "无限制"
},
"quotaCollapsible": {
"title": "配额使用",
"title": "用户配额使用",
"daily": "日",
"monthly": "月",
"total": "总计"
Expand Down
1 change: 1 addition & 0 deletions messages/zh-CN/settings/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"status": {
"loading": "加载中...",
"error": "获取数据库状态失败",
"connectionUnavailable": "数据库连接不可用,请检查数据库服务状态",
"retry": "重试",
"connected": "数据库连接正常",
"unavailable": "数据库不可用",
Expand Down
2 changes: 2 additions & 0 deletions messages/zh-CN/settings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import sensitiveWords from "./sensitiveWords.json";
import strings from "./strings.json";

import providersAutoSort from "./providers/autoSort.json";
import providersBatchEdit from "./providers/batchEdit.json";
import providersFilter from "./providers/filter.json";
import providersGuide from "./providers/guide.json";
import providersInlineEdit from "./providers/inlineEdit.json";
Expand Down Expand Up @@ -74,6 +75,7 @@ const providersForm = {
const providers = {
...providersStrings,
autoSort: providersAutoSort,
batchEdit: providersBatchEdit,
filter: providersFilter,
form: providersForm,
guide: providersGuide,
Expand Down
4 changes: 2 additions & 2 deletions messages/zh-CN/settings/providers/form/sections.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
},
"group": {
"label": "供应商分组",
"placeholder": "输入分组标签",
"desc": "供应商分组标签(支持多个,逗号分隔)。只有用户的 providerGroup 与此值匹配时,该用户才能使用此供应商。留空=对所有用户开放"
"placeholder": "例如 premium, economy",
"desc": "分组标签。从列表选择或输入新名称后按 Enter 创建(最多50字符)。只有 providerGroup 匹配的用户才能使用此供应商。"
}
},
"cacheTtl": {
Expand Down
1 change: 1 addition & 0 deletions messages/zh-TW/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"delete": "刪除",
"confirm": "確認",
"edit": "編輯",
"status": "狀態",
"create": "建立",
"close": "關閉",
"back": "返回",
Expand Down
Loading
Loading