语言适配

This commit is contained in:
X1627315083@163.com
2026-05-04 14:06:16 +08:00
parent b3d9bce440
commit 49398aac48
11 changed files with 83 additions and 35 deletions

View File

@@ -13,15 +13,15 @@ type SellerBreadcrumbItem = {
type SellerBreadcrumbList = SellerRouteMetaValue<SellerBreadcrumbItem[]>
const myListingsBreadcrumb: SellerBreadcrumbItem = {
title: "My Listings",
title: "Seller.MyListings",
to: { name: "myListingsIndex" }
}
const selectCollectionBreadcrumb: SellerBreadcrumbItem = {
title: "Select Collection",
title: "Seller.SelectCollection",
to: { name: "myListingsSelect" }
}
const selectSketchBreadcrumb: SellerBreadcrumbItem = {
title: "Select Sketch",
title: "Seller.SelectSketch",
to: (route) => {
const collectionId =
route.params.collectionId ||
@@ -257,8 +257,8 @@ const routes: Array<RouteRecordRaw> = [
name: "myListingsIndex",
meta: {
enter: "all",
sellerHeaderTitle: "My Listings",
sellerHeaderTip: "Active listings and unpublished inventory.",
sellerHeaderTitle: "Seller.MyListings",
sellerHeaderTip: "Seller.MyListingsInfo",
sellerBreadcrumbs: [myListingsBreadcrumb]
},
component: () =>
@@ -269,7 +269,7 @@ const routes: Array<RouteRecordRaw> = [
name: "myListingsSelect",
meta: {
enter: "all",
sellerHeaderTitle: "Select Collection",
sellerHeaderTitle: "Seller.SelectCollection",
sellerBreadcrumbs: [
myListingsBreadcrumb,
selectCollectionBreadcrumb
@@ -284,7 +284,7 @@ const routes: Array<RouteRecordRaw> = [
meta: {
enter: "all",
cache: true,
sellerHeaderTitle: "Select Collection",
sellerHeaderTitle: "Seller.SelectCollection",
sellerBreadcrumbs: [
myListingsBreadcrumb,
selectCollectionBreadcrumb,