- {t('total')}
{total} {t('items')},
- {t('currentDisplay')}
{startItem} {t('to')}
{endItem}
+
+
+
+ {t('total')} {total} {t('items')},
+ {t('currentDisplay')} {startItem} {t('to')} {endItem}
+
+
+ {startItem}-{endItem} / {total}
+
-
- `${range[0]}-${range[1]} ${t('itemsPerPage')}`
- }
+ showQuickJumper={false}
+ showTotal={!isMobile ? (total, range) => `${range[0]}-${range[1]} ${t('itemsPerPage')}` : undefined}
+ size={isMobile ? 'small' : 'default'}
+ simple={isMobile && total > pageSize * 10}
locale={{
items_per_page: `${t('itemsPerPage')}`,
jump_to: t('jumpTo'),
jump_to_confirm: t('confirm'),
page: t('page'),
- prev_page: '上一页',
- next_page: '下一页',
- prev_5: '向前 5 页',
- next_5: '向后 5 页',
- prev_3: '向前 3 页',
- next_3: '向后 3 页'
+ prev_page: t('previousPage'),
+ next_page: t('nextPage'),
+ prev_5: t('previous5Pages'),
+ next_5: t('next5Pages'),
+ prev_3: t('previous3Pages'),
+ next_3: t('next3Pages')
}}
/>
-
-
-
);
};
diff --git a/locales/en.json b/locales/en.json
index 3249d93..dc9b290 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -14,7 +14,13 @@
"perPage": "per page",
"jumpTo": "Jump to",
"page": "page",
- "itemsPerPage": "per page"
+ "itemsPerPage": "per page",
+ "previousPage": "Previous page",
+ "nextPage": "Next page",
+ "previous5Pages": "Previous 5 pages",
+ "next5Pages": "Next 5 pages",
+ "previous3Pages": "Previous 3 pages",
+ "next3Pages": "Next 3 pages"
},
"Auth": {
"login": "Login",
@@ -162,7 +168,17 @@
"editBotTitle": "Edit Bot",
"editSuccess": "Edit successful",
"editFailed": "Edit failed",
- "editFailedRetry": "Edit failed, please retry"
+ "editFailedRetry": "Edit failed, please retry",
+ "backToTop": "Back to top",
+ "clear": "Clear",
+ "searchPlaceholder": "Search bot name or description...",
+ "notFoundWithQuery": "No bots found containing",
+ "noBots": "No bots available",
+ "createFirstBot": "Create your first bot",
+ "botManagement": "Bot Management",
+ "allUsersCanView": "All users can view and use the following bots on the",
+ "discoverBotsPage": "Discover Bots",
+ "page": "page"
},
"Settings": {
"accountSettings": "Account",
diff --git a/locales/zh.json b/locales/zh.json
index 7349d11..b8d184e 100644
--- a/locales/zh.json
+++ b/locales/zh.json
@@ -14,7 +14,13 @@
"perPage": "条/页",
"jumpTo": "跳至",
"page": "页",
- "itemsPerPage": "条/页"
+ "itemsPerPage": "条/页",
+ "previousPage": "上一页",
+ "nextPage": "下一页",
+ "previous5Pages": "向前 5 页",
+ "next5Pages": "向后 5 页",
+ "previous3Pages": "向前 3 页",
+ "next3Pages": "向后 3 页"
},
"Auth": {
"login": "登录",
@@ -162,7 +168,17 @@
"editBotTitle": "编辑智能体",
"editSuccess": "编辑成功",
"editFailed": "编辑失败",
- "editFailedRetry": "编辑失败,请重试"
+ "editFailedRetry": "编辑失败,请重试",
+ "backToTop": "回到顶部",
+ "clear": "清除",
+ "searchPlaceholder": "搜索智能体名称或描述...",
+ "notFoundWithQuery": "未找到包含",
+ "noBots": "暂无智能体",
+ "createFirstBot": "创建第一个智能体",
+ "botManagement": "智能体管理",
+ "allUsersCanView": "所有用户在",
+ "discoverBotsPage": "「发现智能体」",
+ "page": "页面都可以查看和使用以下的智能体。"
},
"Settings": {
"accountSettings": "账号设置",