主导航菜单汉化
This commit is contained in:
@@ -105,7 +105,7 @@ const useCoreRoutes = (): Omit<INavItem, "pathname">[] => {
|
||||
return [
|
||||
{
|
||||
icon: <Component />,
|
||||
label: "Dashboard",
|
||||
label: t("common.dashboard"),
|
||||
to: "/dashboard",
|
||||
},
|
||||
{
|
||||
@@ -180,33 +180,33 @@ const useCoreRoutes = (): Omit<INavItem, "pathname">[] => {
|
||||
},
|
||||
{
|
||||
icon: <Star />,
|
||||
label: "Reviews",
|
||||
label: t("common.reviews"),
|
||||
to: "/reviews",
|
||||
},
|
||||
{
|
||||
icon: <ChatBubbleLeftRight />,
|
||||
label: `Messages ${unreadMessages?.length && unreadMessages?.length > 0 ? `(${unreadMessages?.length})` : ""}`,
|
||||
label: `${t("common.messages")} ${unreadMessages?.length && unreadMessages?.length > 0 ? `(${unreadMessages?.length})` : ""}`,
|
||||
to: "/messages",
|
||||
},
|
||||
{
|
||||
icon: <ListCheckbox />,
|
||||
label: "Requests",
|
||||
label: t("common.requests"),
|
||||
to: "/requests",
|
||||
items: [
|
||||
{
|
||||
label: "Collections",
|
||||
label: t("collections.domain"),
|
||||
to: "/requests/collections",
|
||||
},
|
||||
{
|
||||
label: "Categories",
|
||||
label: t("categories.domain"),
|
||||
to: "/requests/categories",
|
||||
},
|
||||
{
|
||||
label: "Reviews",
|
||||
label: t("common.reviews"),
|
||||
to: "/requests/reviews",
|
||||
},
|
||||
{
|
||||
label: "Orders returns",
|
||||
label: t("common.ordersReturns"),
|
||||
to: "/requests/orders",
|
||||
},
|
||||
],
|
||||
@@ -215,10 +215,12 @@ const useCoreRoutes = (): Omit<INavItem, "pathname">[] => {
|
||||
}
|
||||
|
||||
const useExtensionRoutes = (): Omit<INavItem, "pathname">[] => {
|
||||
const { t } = useTranslation()
|
||||
|
||||
return [
|
||||
{
|
||||
icon: <StripeIcon />,
|
||||
label: "Stripe Connect",
|
||||
label: t("common.stripeConnect"),
|
||||
to: "/stripe-connect",
|
||||
},
|
||||
]
|
||||
|
||||
@@ -3001,7 +3001,11 @@
|
||||
"country": "国家",
|
||||
"taxId": "税号",
|
||||
"type": "类型",
|
||||
"seller": "卖家"
|
||||
"seller": "卖家",
|
||||
"dashboard": "仪表板",
|
||||
"messages": "消息",
|
||||
"requests": "请求",
|
||||
"reviews": "评论"
|
||||
},
|
||||
"placeholders": {
|
||||
"companyName": "公司名称",
|
||||
|
||||
Reference in New Issue
Block a user