@spree/dashboard-core 6.0.2 → 6.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/vite/index.js +81 -5
  2. package/package.json +24 -24
  3. package/src/api-client.ts +7 -1
  4. package/src/client.ts +2 -0
  5. package/src/components/address-form-dialog.tsx +75 -28
  6. package/src/components/app-shell.tsx +5 -4
  7. package/src/components/app-sidebar.tsx +2 -1
  8. package/src/components/bulk-action-bar.tsx +6 -5
  9. package/src/components/country-state-fields.tsx +3 -0
  10. package/src/components/currency-select.tsx +6 -4
  11. package/src/components/developer-inspector-drawer.tsx +322 -0
  12. package/src/components/file-upload-field.tsx +64 -37
  13. package/src/components/image-upload-field.tsx +4 -0
  14. package/src/components/import-wizard-dialog.tsx +14 -12
  15. package/src/components/invitation-acceptance.tsx +15 -11
  16. package/src/components/media-editor-dialog.tsx +131 -0
  17. package/src/components/media-picker-dialog.tsx +866 -0
  18. package/src/components/media-picker-sheet.tsx +13 -300
  19. package/src/components/mobile-top-bar.tsx +1 -1
  20. package/src/components/nav-main.tsx +13 -2
  21. package/src/components/page-header.tsx +57 -13
  22. package/src/components/page-tabs.tsx +1 -1
  23. package/src/components/product-stock-summary.tsx +58 -0
  24. package/src/components/read-row.tsx +38 -0
  25. package/src/components/resource-combobox.tsx +1 -1
  26. package/src/components/resource-image-field.tsx +150 -0
  27. package/src/components/resource-picker-sheet.tsx +2 -2
  28. package/src/components/resource-table.tsx +161 -40
  29. package/src/components/section-heading.tsx +2 -2
  30. package/src/components/settings-container.tsx +19 -0
  31. package/src/components/settings-fields.tsx +165 -0
  32. package/src/components/settings-section.tsx +46 -0
  33. package/src/components/settings-sidebar.tsx +35 -18
  34. package/src/components/sheet-top-bar.tsx +7 -8
  35. package/src/components/sidebar-search.tsx +11 -12
  36. package/src/components/sidebar-user.tsx +39 -44
  37. package/src/components/skip-link.tsx +1 -1
  38. package/src/components/store-switcher.tsx +1 -1
  39. package/src/components/table-toolbar.tsx +194 -331
  40. package/src/components/timezone-combobox.tsx +119 -0
  41. package/src/components/top-bar-breadcrumbs.tsx +1 -1
  42. package/src/hooks/use-stock-locations.ts +6 -2
  43. package/src/hooks/use-table-density.ts +50 -0
  44. package/src/index.ts +20 -2
  45. package/src/lib/curl.test.ts +18 -0
  46. package/src/lib/curl.ts +28 -0
  47. package/src/lib/developer-inspector.test.ts +169 -0
  48. package/src/lib/developer-inspector.ts +134 -0
  49. package/src/lib/docs.ts +3 -2
  50. package/src/lib/fulfillment-items.test.ts +51 -0
  51. package/src/lib/fulfillment-items.ts +53 -0
  52. package/src/lib/request-snippets.ts +41 -0
  53. package/src/lib/table-registry.ts +13 -6
  54. package/src/lib/timestamp-columns.tsx +1 -1
  55. package/src/locales/ar.json +128 -14
  56. package/src/locales/de.json +128 -14
  57. package/src/locales/en.json +128 -14
  58. package/src/locales/es.json +128 -14
  59. package/src/locales/fr.json +128 -14
  60. package/src/locales/ja.json +128 -14
  61. package/src/locales/pl.json +130 -14
  62. package/src/locales/vi.json +128 -14
  63. package/src/locales/zh-CN.json +128 -14
  64. package/src/pages/settings-index.tsx +79 -48
  65. package/src/pages/stock-locations.tsx +14 -6
  66. package/src/products/digital-asset-edit-sheet.tsx +1 -1
  67. package/src/products/digital-asset-provider-sheet.tsx +1 -1
  68. package/src/products/digital-assets-card.tsx +7 -7
  69. package/src/products/inventory-section.tsx +2 -2
  70. package/src/products/media-edit-sheet.tsx +136 -133
  71. package/src/products/product-form-cards.tsx +204 -73
  72. package/src/products/product-form-mapping.test.ts +42 -1
  73. package/src/products/product-form-mapping.ts +20 -0
  74. package/src/products/product-schema.ts +8 -0
  75. package/src/products/product-types.ts +2 -0
  76. package/src/products/use-product-form-data.ts +30 -3
  77. package/src/products/variant-edit-sheet.tsx +3 -3
  78. package/src/products/variants-options-builder.tsx +13 -8
  79. package/src/products/variants-section.tsx +196 -4
  80. package/src/providers/auth-provider.tsx +2 -0
  81. package/src/providers/developer-inspector-provider.tsx +145 -0
  82. package/src/providers/json-link-resolver-provider.tsx +27 -0
  83. package/src/sellers/seller-schema.ts +107 -0
  84. package/src/tables/package-types.tsx +3 -3
  85. package/src/tables/stock-locations.tsx +15 -14
  86. package/src/virtual.d.ts +4 -0
  87. package/src/vite/index.ts +103 -5
@@ -37,7 +37,6 @@
37
37
  },
38
38
  "account": {
39
39
  "community": "Cộng đồng",
40
- "contact_support": "Liên hệ hỗ trợ",
41
40
  "documentation": "Tài liệu",
42
41
  "edit_profile": "Chỉnh sửa hồ sơ",
43
42
  "language": {
@@ -45,8 +44,8 @@
45
44
  "update_failed": "Không thể lưu tùy chọn ngôn ngữ của bạn. Vui lòng thử lại."
46
45
  },
47
46
  "log_out": "Đăng xuất",
48
- "preferences": "Tùy chọn",
49
- "view_store": "Xem cửa hàng"
47
+ "report_issue": "Báo cáo sự cố",
48
+ "send_feedback": "Gửi phản hồi"
50
49
  },
51
50
  "actions": {
52
51
  "actions_menu": "Thao tác",
@@ -102,7 +101,11 @@
102
101
  "default_shipping": "Vận chuyển mặc định",
103
102
  "inherited_from": "Kế thừa từ {{name}}",
104
103
  "set_default_billing": "Đặt làm thanh toán mặc định",
105
- "set_default_shipping": "Đặt làm vận chuyển mặc định"
104
+ "set_default_shipping": "Đặt làm vận chuyển mặc định",
105
+ "columns": {
106
+ "address": "Địa chỉ",
107
+ "defaults": "Mặc định cho"
108
+ }
106
109
  },
107
110
  "auth": {
108
111
  "back_to_login": "Quay lại để đăng nhập",
@@ -190,7 +193,8 @@
190
193
  "unsaved_changes": "Bạn có những thay đổi chưa được lưu.",
191
194
  "yes": "Có",
192
195
  "done": "Xong",
193
- "error": "Đã xảy ra lỗi."
196
+ "error": "Đã xảy ra lỗi.",
197
+ "unsaved_label": "Thay đổi chưa lưu"
194
198
  },
195
199
  "components": {
196
200
  "address_block": {
@@ -321,7 +325,8 @@
321
325
  "drop_label": "Thả một tập tin ở đây, hoặc bấm vào để duyệt",
322
326
  "invalid_type": "Loại tệp này không được chấp nhận (dự kiến: {{accept}})",
323
327
  "upload_failed": "Tải lên không thành công: {{message}}",
324
- "uploading": "Đang tải lên…"
328
+ "uploading": "Đang tải lên…",
329
+ "replace": "Thay tệp"
325
330
  },
326
331
  "import_button": {
327
332
  "delimiter_label": "Dấu phân cách cột",
@@ -344,7 +349,8 @@
344
349
  "json_preview_drawer": {
345
350
  "collapse_depth": "Độ sâu thu gọn",
346
351
  "copied": "Đã sao chép",
347
- "copy_all": "Sao chép tất cả",
352
+ "copy_curl": "Sao chép dạng curl",
353
+ "copy_json": "Sao chép JSON",
348
354
  "depth": "Độ sâu {{level}}",
349
355
  "failed_to_load": "Không tải được: {{message}}",
350
356
  "open_raw": "Mở phản hồi thô",
@@ -439,11 +445,8 @@
439
445
  "this_month": "Tháng này",
440
446
  "today": "Hôm nay"
441
447
  },
442
- "date_range_end": "Kết thúc",
443
- "date_range_start": "Bắt đầu",
444
448
  "descending": "Giảm dần",
445
449
  "filter_by": "Lọc theo…",
446
- "filter_date_placeholder": "Chọn một ngày",
447
450
  "filter_select_placeholder": "Chọn…",
448
451
  "filter_text_placeholder": "Lọc…",
449
452
  "filter_to_placeholder": "Lọc để…",
@@ -477,7 +480,10 @@
477
480
  "select_all": "Chọn tất cả",
478
481
  "sort_by": "Sắp xếp theo",
479
482
  "sort_tooltip": "Sắp xếp",
480
- "visible_columns": "Cột hiển thị"
483
+ "visible_columns": "Cột hiển thị",
484
+ "row_density": "Mật độ hàng",
485
+ "density_comfortable": "Thoải mái",
486
+ "density_compact": "Gọn"
481
487
  },
482
488
  "tag_combobox": {
483
489
  "create_option": "Tạo \"{{tag}}\"",
@@ -490,11 +496,58 @@
490
496
  "light": "Ánh sáng",
491
497
  "system": "Hệ thống"
492
498
  },
499
+ "timezone_combobox": {
500
+ "empty": "Không tìm thấy múi giờ",
501
+ "placeholder": "Chọn múi giờ",
502
+ "search_placeholder": "Tìm múi giờ…"
503
+ },
493
504
  "wizard": {
494
505
  "discard_cancel": "Tiếp tục chỉnh sửa",
495
506
  "discard_confirm": "Loại bỏ",
496
507
  "discard_message": "Mọi thứ bạn đã điền cho đến nay sẽ bị mất. Điều này không thể hoàn tác được.",
497
508
  "discard_title": "Hủy bản nháp này?"
509
+ },
510
+ "product_stock": {
511
+ "out_of_stock": "Hết hàng",
512
+ "on_backorder": "Đang đặt hàng trước",
513
+ "in_stock": "{{count}} còn hàng",
514
+ "in_stock_short": "Còn hàng",
515
+ "variants_one": "{{count}} biến thể",
516
+ "variants_other": "{{count}} biến thể"
517
+ },
518
+ "developer_inspector": {
519
+ "title": "Công cụ nhà phát triển",
520
+ "description": "Các yêu cầu Admin API từ tab này, chỉ lưu trong bộ nhớ. Token và mật khẩu được ẩn.",
521
+ "system_info": "Thông tin hệ thống",
522
+ "clear": "Xóa",
523
+ "tabs": {
524
+ "requests": "Yêu cầu",
525
+ "errors": "Lỗi"
526
+ },
527
+ "empty_requests": "Chưa có yêu cầu nào. Sử dụng bảng điều khiển và chúng sẽ xuất hiện ở đây.",
528
+ "empty_errors": "Không có yêu cầu thất bại.",
529
+ "select_request": "Chọn một yêu cầu để xem chi tiết.",
530
+ "network_error": "Lỗi mạng",
531
+ "status": "Trạng thái",
532
+ "duration": "Thời lượng",
533
+ "duration_ms": "{{value}} ms",
534
+ "request_id": "ID yêu cầu",
535
+ "error_code": "Mã lỗi",
536
+ "query": "Tham số truy vấn",
537
+ "request_body": "Nội dung yêu cầu",
538
+ "response_body": "Nội dung phản hồi",
539
+ "no_body": "Không có nội dung",
540
+ "copy_curl": "Sao chép dạng curl",
541
+ "copy_sdk": "Sao chép dạng lệnh gọi SDK",
542
+ "copy_response": "Sao chép phản hồi",
543
+ "copy_request_id": "Sao chép ID yêu cầu",
544
+ "copied": "Đã sao chép",
545
+ "menu_open": "Công cụ nhà phát triển"
546
+ },
547
+ "server_error": {
548
+ "title": "Đã xảy ra lỗi trên máy chủ",
549
+ "request_id": "Yêu cầu {{id}}",
550
+ "report": "Báo cáo"
498
551
  }
499
552
  },
500
553
  "currency_amounts": {
@@ -965,6 +1018,24 @@
965
1018
  "digital_asset_authorized_days": {
966
1019
  "label": "Số ngày có sẵn"
967
1020
  }
1021
+ },
1022
+ "seller": {
1023
+ "about": {
1024
+ "label": "Về",
1025
+ "help": "Hiển thị trên hồ sơ cửa hàng trực tuyến của người bán."
1026
+ },
1027
+ "holiday_mode_until": {
1028
+ "label": "Đi xa cho đến khi",
1029
+ "placeholder": "Chọn một ngày",
1030
+ "help": "Danh mục vẫn hiển thị nhưng không thể mua được gì cho đến lúc đó."
1031
+ },
1032
+ "contact_email": {
1033
+ "help": "Nơi lời mời và thông báo thị trường đi."
1034
+ },
1035
+ "billing_email": {
1036
+ "label": "Email thanh toán",
1037
+ "help": "Nơi gửi hóa đơn hoa hồng và thông báo thanh toán, nếu khác."
1038
+ }
968
1039
  }
969
1040
  },
970
1041
  "image_upload": {
@@ -1069,15 +1140,35 @@
1069
1140
  "signed_in_as_invitee": ". Bạn đã đăng nhập với tên {{email}}."
1070
1141
  },
1071
1142
  "media_picker": {
1143
+ "any": "Bất kỳ",
1072
1144
  "confirm": "Thêm đã chọn",
1073
1145
  "description": "Chọn các tệp đã có trong thư viện của bạn hoặc tải lên tệp mới.",
1146
+ "drop_hint_images": "Hoặc kéo và thả hình ảnh vào đây",
1147
+ "drop_hint_media": "Hoặc kéo và thả hình ảnh và video vào đây",
1074
1148
  "empty": "Thư viện của bạn trống. Tải lên một tập tin để bắt đầu.",
1149
+ "filter_type": "Loại",
1150
+ "filter_usage": "Sử dụng",
1075
1151
  "no_results": "Không có tập tin phù hợp với tìm kiếm của bạn.",
1076
1152
  "search_placeholder": "Tìm kiếm theo tên…",
1077
1153
  "selected_count_one": "{{count}} đã chọn",
1078
1154
  "selected_count_other": "{{count}} đã chọn",
1155
+ "sort_date_added": "Ngày thêm",
1156
+ "sort_file_name": "Tên tệp",
1157
+ "sort_file_size": "Kích thước tệp",
1079
1158
  "title": "Thư viện phương tiện",
1080
- "upload": "Tải lên"
1159
+ "type_image": "Hình ảnh",
1160
+ "type_video": "Video",
1161
+ "upload": "Tải lên",
1162
+ "usage_unused": "Chưa dùng",
1163
+ "usage_used": "Đang dùng",
1164
+ "view": "Chế độ xem",
1165
+ "view_grid": "Dạng lưới",
1166
+ "view_list": "Dạng danh sách"
1167
+ },
1168
+ "media_editor": {
1169
+ "information": "Thông tin",
1170
+ "details": "Chi tiết",
1171
+ "added": "Đã thêm {{date}}"
1081
1172
  },
1082
1173
  "messages": {
1083
1174
  "address_removed": "Đã xóa địa chỉ",
@@ -1570,12 +1661,18 @@
1570
1661
  "add_video_title": "Thêm liên kết video",
1571
1662
  "assigned_variants_help": "Chọn các biến thể mà hình ảnh này đại diện. Để trống để áp dụng cho tất cả các biến thể.",
1572
1663
  "assigned_variants_label": "Các biến thể được chỉ định",
1573
- "delete_confirm": "Xóa phương tiện này? Điều này không thể hoàn tác được.",
1664
+ "delete_confirm": "Gỡ tệp này? Tệp sẽ bị xóa khi bạn lưu sản phẩm.",
1665
+ "delete_selected_confirm_one": "Gỡ tệp đã chọn? Tệp sẽ bị xóa khi bạn lưu sản phẩm.",
1666
+ "delete_selected_confirm_other": "Gỡ {{count}} tệp đã chọn? Các tệp sẽ bị xóa khi bạn lưu sản phẩm.",
1574
1667
  "drop_hint": "Kéo và thả phương tiện vào đây hoặc nhấp để duyệt",
1575
1668
  "edit_title": "Chỉnh sửa phương tiện",
1576
1669
  "file_types_hint": "Hình ảnh (PNG, JPG, WebP) và video (MP4, WebM, MOV)",
1577
1670
  "focal_point_help": "Nhấp vào hình ảnh để đặt nội dung vẫn ở trong khung khi bị cắt.",
1578
1671
  "focal_point_reset": "Đặt lại",
1672
+ "select_all": "Chọn tất cả tệp",
1673
+ "select_item": "Chọn {{name}}",
1674
+ "selected_count_one": "Đã chọn {{count}}",
1675
+ "selected_count_other": "Đã chọn {{count}}",
1579
1676
  "unsupported_file_one": "Tệp {{count}} chưa được thêm vào — chỉ hỗ trợ hình ảnh và video.",
1580
1677
  "unsupported_file_other": "Tệp {{count}} chưa được thêm vào — chỉ hỗ trợ hình ảnh và video.",
1581
1678
  "upload_failed": "Không tải lên được {{name}}: {{message}}",
@@ -1686,6 +1783,10 @@
1686
1783
  "failed_to_create_option_type": "Không tạo được loại tùy chọn",
1687
1784
  "failed_to_create_value": "Không thể tạo ra giá trị"
1688
1785
  },
1786
+ "images_aria": "Hình ảnh cho {{name}}",
1787
+ "images_description": "Chọn các hình ảnh sản phẩm thể hiện biến thể này. Chúng theo thứ tự của thẻ Media, và hình đầu tiên được chọn sẽ là ảnh thu nhỏ — kéo hình trong thẻ Media để thay đổi.",
1788
+ "images_title": "Hình ảnh cho {{name}}",
1789
+ "images_unsaved": "Lưu sản phẩm để thêm hình ảnh cho biến thể này",
1689
1790
  "keep": "Giữ tất cả",
1690
1791
  "option_type_label": "Loại tùy chọn",
1691
1792
  "option_type_placeholder": "Chọn một loại tùy chọn",
@@ -1707,6 +1808,7 @@
1707
1808
  "carton_placeholder": "Không có thùng carton",
1708
1809
  "pending_save": "Những thay đổi ở đây được lưu cùng với sản phẩm."
1709
1810
  },
1811
+ "thumbnail_badge": "Ảnh thu nhỏ",
1710
1812
  "title": "Biến thể",
1711
1813
  "variant_label": "Biến thể"
1712
1814
  }
@@ -1789,7 +1891,8 @@
1789
1891
  "value_count_other": "giá trị {{count}}"
1790
1892
  },
1791
1893
  "media_library": {
1792
- "download": "Tải xuống"
1894
+ "download": "Tải xuống",
1895
+ "choose_from_library": "Chọn từ thư viện"
1793
1896
  },
1794
1897
  "catalogs": {
1795
1898
  "terms": {
@@ -2117,6 +2220,17 @@
2117
2220
  "replace": "Thay thế tập tin",
2118
2221
  "replace_description": "\"{{name}}\" bị xóa và tất cả những người đã mua nó sẽ tải xuống tệp mới từ các liên kết hiện có của họ. Điều này có hiệu lực ngay lập tức.",
2119
2222
  "replace_title": "Thay thế tập tin này?"
2223
+ },
2224
+ "sellers": {
2225
+ "images": {
2226
+ "cover_photo_label": "Ảnh bìa",
2227
+ "cover_photo_help": "Một biểu ngữ rộng trên đầu hồ sơ người bán.",
2228
+ "logo_label": "Biểu tượng",
2229
+ "logo_help": "Hình vuông hoạt động tốt nhất. Hiển thị bên cạnh người bán ở mọi nơi họ xuất hiện.",
2230
+ "square_logo_label": "Logo hình vuông",
2231
+ "square_logo_help": "Được sử dụng khi cần có hình vuông chặt chẽ, chẳng hạn như hình đại diện."
2232
+ },
2233
+ "not_provided": "Không được cung cấp"
2120
2234
  }
2121
2235
  }
2122
2236
  }
@@ -37,7 +37,6 @@
37
37
  },
38
38
  "account": {
39
39
  "community": "社区",
40
- "contact_support": "联系支持",
41
40
  "documentation": "文档",
42
41
  "edit_profile": "编辑个人资料",
43
42
  "language": {
@@ -45,8 +44,8 @@
45
44
  "update_failed": "无法保存您的语言偏好。请重试。"
46
45
  },
47
46
  "log_out": "退出登录",
48
- "preferences": "偏好设置",
49
- "view_store": "查看店铺"
47
+ "report_issue": "报告问题",
48
+ "send_feedback": "发送反馈"
50
49
  },
51
50
  "actions": {
52
51
  "actions_menu": "操作",
@@ -102,7 +101,11 @@
102
101
  "default_shipping": "默认收货",
103
102
  "inherited_from": "继承自 {{name}}",
104
103
  "set_default_billing": "设为默认账单地址",
105
- "set_default_shipping": "设为默认收货地址"
104
+ "set_default_shipping": "设为默认收货地址",
105
+ "columns": {
106
+ "address": "地址",
107
+ "defaults": "默认用于"
108
+ }
106
109
  },
107
110
  "auth": {
108
111
  "back_to_login": "返回登录",
@@ -190,7 +193,8 @@
190
193
  "unsaved_changes": "您有未保存的更改。",
191
194
  "yes": "是",
192
195
  "done": "完成",
193
- "error": "出了点问题。"
196
+ "error": "出了点问题。",
197
+ "unsaved_label": "未保存的更改"
194
198
  },
195
199
  "components": {
196
200
  "address_block": {
@@ -321,7 +325,8 @@
321
325
  "drop_label": "将文件拖放到此处,或点击浏览",
322
326
  "invalid_type": "不接受此文件类型(应为:{{accept}})",
323
327
  "upload_failed": "上传失败:{{message}}",
324
- "uploading": "正在上传…"
328
+ "uploading": "正在上传…",
329
+ "replace": "替换文件"
325
330
  },
326
331
  "import_button": {
327
332
  "delimiter_label": "列分隔符",
@@ -342,7 +347,8 @@
342
347
  "json_preview_drawer": {
343
348
  "collapse_depth": "折叠层级",
344
349
  "copied": "已复制",
345
- "copy_all": "全部复制",
350
+ "copy_curl": "复制为 curl",
351
+ "copy_json": "复制 JSON",
346
352
  "depth": "层级 {{level}}",
347
353
  "failed_to_load": "加载失败:{{message}}",
348
354
  "open_raw": "打开原始响应",
@@ -437,11 +443,8 @@
437
443
  "this_month": "本月",
438
444
  "today": "今天"
439
445
  },
440
- "date_range_end": "结束",
441
- "date_range_start": "开始",
442
446
  "descending": "降序",
443
447
  "filter_by": "筛选依据…",
444
- "filter_date_placeholder": "选择日期",
445
448
  "filter_select_placeholder": "选择…",
446
449
  "filter_text_placeholder": "筛选…",
447
450
  "filter_to_placeholder": "筛选至…",
@@ -475,7 +478,10 @@
475
478
  "select_all": "全选",
476
479
  "sort_by": "排序方式",
477
480
  "sort_tooltip": "排序",
478
- "visible_columns": "可见列"
481
+ "visible_columns": "可见列",
482
+ "row_density": "行密度",
483
+ "density_comfortable": "宽松",
484
+ "density_compact": "紧凑"
479
485
  },
480
486
  "tag_combobox": {
481
487
  "create_option": "创建“{{tag}}”",
@@ -488,11 +494,58 @@
488
494
  "light": "浅色",
489
495
  "system": "系统"
490
496
  },
497
+ "timezone_combobox": {
498
+ "empty": "未找到时区",
499
+ "placeholder": "选择时区",
500
+ "search_placeholder": "搜索时区…"
501
+ },
491
502
  "wizard": {
492
503
  "discard_cancel": "继续编辑",
493
504
  "discard_confirm": "放弃",
494
505
  "discard_message": "已填写的内容将全部丢失,且无法恢复。",
495
506
  "discard_title": "放弃此草稿?"
507
+ },
508
+ "product_stock": {
509
+ "out_of_stock": "缺货",
510
+ "on_backorder": "可延期交货",
511
+ "in_stock": "库存 {{count}} 件",
512
+ "in_stock_short": "有库存",
513
+ "variants_one": "{{count}} 个变体",
514
+ "variants_other": "{{count}} 个变体"
515
+ },
516
+ "developer_inspector": {
517
+ "title": "开发者工具",
518
+ "description": "来自此标签页的 Admin API 请求,仅保存在内存中。令牌和密码已隐藏。",
519
+ "system_info": "系统信息",
520
+ "clear": "清除",
521
+ "tabs": {
522
+ "requests": "请求",
523
+ "errors": "错误"
524
+ },
525
+ "empty_requests": "暂无请求。使用后台后,请求会显示在这里。",
526
+ "empty_errors": "没有失败的请求。",
527
+ "select_request": "选择一个请求以查看详情。",
528
+ "network_error": "网络错误",
529
+ "status": "状态",
530
+ "duration": "耗时",
531
+ "duration_ms": "{{value}} 毫秒",
532
+ "request_id": "请求 ID",
533
+ "error_code": "错误代码",
534
+ "query": "查询参数",
535
+ "request_body": "请求体",
536
+ "response_body": "响应体",
537
+ "no_body": "无内容",
538
+ "copy_curl": "复制为 curl",
539
+ "copy_sdk": "复制为 SDK 调用",
540
+ "copy_response": "复制响应",
541
+ "copy_request_id": "复制请求 ID",
542
+ "copied": "已复制",
543
+ "menu_open": "开发者工具"
544
+ },
545
+ "server_error": {
546
+ "title": "服务器出现错误",
547
+ "request_id": "请求 {{id}}",
548
+ "report": "报告"
496
549
  }
497
550
  },
498
551
  "currency_amounts": {
@@ -963,6 +1016,24 @@
963
1016
  "digital_asset_authorized_days": {
964
1017
  "label": "可用天数"
965
1018
  }
1019
+ },
1020
+ "seller": {
1021
+ "about": {
1022
+ "label": "简介",
1023
+ "help": "显示在卖家的店铺资料页。"
1024
+ },
1025
+ "holiday_mode_until": {
1026
+ "label": "休假至",
1027
+ "placeholder": "选择日期",
1028
+ "help": "在此之前商品仍然可见,但无法购买。"
1029
+ },
1030
+ "contact_email": {
1031
+ "help": "邀请和市场通知会发送到这里。"
1032
+ },
1033
+ "billing_email": {
1034
+ "label": "账单邮箱",
1035
+ "help": "佣金发票和结算通知的接收邮箱(如果不同)。"
1036
+ }
966
1037
  }
967
1038
  },
968
1039
  "image_upload": {
@@ -1067,15 +1138,35 @@
1067
1138
  "signed_in_as_invitee": "。你当前以 {{email}} 登录。"
1068
1139
  },
1069
1140
  "media_picker": {
1141
+ "any": "全部",
1070
1142
  "confirm": "添加所选",
1071
1143
  "description": "从媒体库中选择文件,或上传新文件。",
1144
+ "drop_hint_images": "或将图片拖放到此处",
1145
+ "drop_hint_media": "或将图片和视频拖放到此处",
1072
1146
  "empty": "媒体库为空。请上传文件以开始。",
1147
+ "filter_type": "类型",
1148
+ "filter_usage": "使用情况",
1073
1149
  "no_results": "没有文件符合您的搜索。",
1074
1150
  "search_placeholder": "按名称搜索…",
1075
1151
  "selected_count_one": "已选择 {{count}} 个",
1076
1152
  "selected_count_other": "已选择 {{count}} 个",
1153
+ "sort_date_added": "添加日期",
1154
+ "sort_file_name": "文件名",
1155
+ "sort_file_size": "文件大小",
1077
1156
  "title": "媒体库",
1078
- "upload": "上传"
1157
+ "type_image": "图片",
1158
+ "type_video": "视频",
1159
+ "upload": "上传",
1160
+ "usage_unused": "未使用",
1161
+ "usage_used": "使用中",
1162
+ "view": "视图",
1163
+ "view_grid": "网格视图",
1164
+ "view_list": "列表视图"
1165
+ },
1166
+ "media_editor": {
1167
+ "information": "信息",
1168
+ "details": "详情",
1169
+ "added": "添加于 {{date}}"
1079
1170
  },
1080
1171
  "messages": {
1081
1172
  "address_removed": "地址已移除",
@@ -1568,12 +1659,18 @@
1568
1659
  "add_video_title": "添加视频链接",
1569
1660
  "assigned_variants_help": "选择此图片所代表的变体。留空则应用于所有变体。",
1570
1661
  "assigned_variants_label": "关联的变体",
1571
- "delete_confirm": "删除此媒体?此操作无法撤销。",
1662
+ "delete_confirm": "移除此媒体?保存商品时将被删除。",
1663
+ "delete_selected_confirm_one": "移除所选媒体?保存商品时将被删除。",
1664
+ "delete_selected_confirm_other": "移除所选的 {{count}} 个媒体?保存商品时将被删除。",
1572
1665
  "drop_hint": "将媒体拖放到此处,或点击浏览",
1573
1666
  "edit_title": "编辑媒体",
1574
1667
  "file_types_hint": "图片(PNG、JPG、WebP)和视频(MP4、WebM、MOV)",
1575
1668
  "focal_point_help": "点击图片,设置裁剪时需要保留的画面位置。",
1576
1669
  "focal_point_reset": "重置",
1670
+ "select_all": "选择所有媒体",
1671
+ "select_item": "选择 {{name}}",
1672
+ "selected_count_one": "已选择 {{count}} 个",
1673
+ "selected_count_other": "已选择 {{count}} 个",
1577
1674
  "unsupported_file": "有 {{count}} 个文件未添加 — 仅支持图片和视频。",
1578
1675
  "upload_failed": "上传 {{name}} 失败:{{message}}",
1579
1676
  "upload_status_failed": "失败",
@@ -1683,6 +1780,10 @@
1683
1780
  "failed_to_create_option_type": "创建选项类型失败",
1684
1781
  "failed_to_create_value": "创建值失败"
1685
1782
  },
1783
+ "images_aria": "{{name}} 的图片",
1784
+ "images_description": "勾选展示此变体的商品图片。图片按媒体卡片中的顺序排列,第一张勾选的图片将作为缩略图——在媒体卡片中拖动图片即可更改。",
1785
+ "images_title": "{{name}} 的图片",
1786
+ "images_unsaved": "保存商品后才能为此变体添加图片",
1686
1787
  "keep": "全部保留",
1687
1788
  "option_type_label": "选项类型",
1688
1789
  "option_type_placeholder": "请选择选项类型",
@@ -1704,6 +1805,7 @@
1704
1805
  "carton_placeholder": "未装箱",
1705
1806
  "pending_save": "此处的更改随商品一并保存。"
1706
1807
  },
1808
+ "thumbnail_badge": "缩略图",
1707
1809
  "title": "变体",
1708
1810
  "variant_label": "变体"
1709
1811
  }
@@ -1786,7 +1888,8 @@
1786
1888
  "value_count_other": "{{count}} 个值"
1787
1889
  },
1788
1890
  "media_library": {
1789
- "download": "下载"
1891
+ "download": "下载",
1892
+ "choose_from_library": "从媒体库选择"
1790
1893
  },
1791
1894
  "catalogs": {
1792
1895
  "terms": {
@@ -2114,6 +2217,17 @@
2114
2217
  "replace": "替换文件",
2115
2218
  "replace_description": "“{{name}}”将被移除,所有买家将通过现有链接下载新文件。立即生效。",
2116
2219
  "replace_title": "替换此文件?"
2220
+ },
2221
+ "sellers": {
2222
+ "images": {
2223
+ "cover_photo_label": "封面图",
2224
+ "cover_photo_help": "卖家资料页顶部的宽幅横幅。",
2225
+ "logo_label": "标志",
2226
+ "logo_help": "建议使用正方形。会在卖家出现的各处显示在其旁边。",
2227
+ "square_logo_label": "方形标志",
2228
+ "square_logo_help": "用于需要严格正方形的位置,例如头像。"
2229
+ },
2230
+ "not_provided": "未填写"
2117
2231
  }
2118
2232
  }
2119
2233
  }