AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /**
  2. * The few words the storefront's built-in pages need, in each store language.
  3. * Section text comes from the store plan; this is only for pages we build ourselves.
  4. */
  5. const words = {
  6. en: {
  7. shop: 'Shop',
  8. allProducts: 'All products',
  9. viewAll: 'View all',
  10. soldOut: 'Sold out',
  11. inStock: 'In stock',
  12. addToCart: 'Add to cart',
  13. quantity: 'Quantity',
  14. added: 'Added to your cart.',
  15. viewCart: 'View cart',
  16. cart: 'Cart',
  17. yourCart: 'Your cart',
  18. cartEmpty: 'Your cart is empty.',
  19. continueShopping: 'Continue shopping',
  20. remove: 'Remove',
  21. each: 'each',
  22. decrease: 'Decrease quantity',
  23. increase: 'Increase quantity',
  24. subtotal: 'Subtotal',
  25. shippingNote: 'Shipping is worked out at checkout.',
  26. checkout: 'Checkout',
  27. contactDetails: 'Your details',
  28. deliveryAddress: 'Delivery address',
  29. fullName: 'Full name',
  30. email: 'Email',
  31. phone: 'Phone number',
  32. addressLine1: 'Address',
  33. addressLine2: 'Unit, floor, building (optional)',
  34. city: 'City',
  35. postcode: 'Postcode',
  36. state: 'State',
  37. chooseState: 'Choose a state',
  38. orderSummary: 'Order summary',
  39. total: 'Total',
  40. payNow: 'Continue to payment',
  41. paySecure: 'You will pay on a secure Stripe page.',
  42. backToCart: 'Back to cart',
  43. thankYou: 'Thank you for your order',
  44. orderPaid: (number: number, email: string) =>
  45. `Order #${number} is paid. We sent a confirmation to ${email}.`,
  46. orderPendingTitle: 'Payment not completed',
  47. orderPending: (number: number) =>
  48. `Order #${number} has not been paid yet. Your cart is still saved, so you can try again.`,
  49. deliverTo: 'Deliver to',
  50. quantityShort: 'Qty',
  51. cartAdjusted:
  52. 'Some items changed because stock ran low. Please check your cart.',
  53. onlyLeft: (count: number) => `Only ${count} left`,
  54. cartCount: (count: number) =>
  55. count === 1 ? 'Cart, 1 item' : `Cart, ${count} items`,
  56. backToShop: 'Back to shop',
  57. noProducts: 'No products yet. Please check back soon.',
  58. productCount: (count: number) =>
  59. count === 1 ? '1 product' : `${count} products`,
  60. },
  61. ms: {
  62. shop: 'Kedai',
  63. allProducts: 'Semua produk',
  64. viewAll: 'Lihat semua',
  65. soldOut: 'Habis dijual',
  66. inStock: 'Ada stok',
  67. addToCart: 'Tambah ke troli',
  68. quantity: 'Kuantiti',
  69. added: 'Ditambah ke troli anda.',
  70. viewCart: 'Lihat troli',
  71. cart: 'Troli',
  72. yourCart: 'Troli anda',
  73. cartEmpty: 'Troli anda kosong.',
  74. continueShopping: 'Teruskan membeli-belah',
  75. remove: 'Buang',
  76. each: 'seunit',
  77. decrease: 'Kurangkan kuantiti',
  78. increase: 'Tambah kuantiti',
  79. subtotal: 'Jumlah kecil',
  80. shippingNote: 'Kos penghantaran dikira semasa pembayaran.',
  81. checkout: 'Bayar',
  82. contactDetails: 'Butiran anda',
  83. deliveryAddress: 'Alamat penghantaran',
  84. fullName: 'Nama penuh',
  85. email: 'E-mel',
  86. phone: 'Nombor telefon',
  87. addressLine1: 'Alamat',
  88. addressLine2: 'Unit, tingkat, bangunan (pilihan)',
  89. city: 'Bandar',
  90. postcode: 'Poskod',
  91. state: 'Negeri',
  92. chooseState: 'Pilih negeri',
  93. orderSummary: 'Ringkasan pesanan',
  94. total: 'Jumlah',
  95. payNow: 'Teruskan ke pembayaran',
  96. paySecure: 'Anda akan membayar di halaman Stripe yang selamat.',
  97. backToCart: 'Kembali ke troli',
  98. thankYou: 'Terima kasih atas pesanan anda',
  99. orderPaid: (number: number, email: string) =>
  100. `Pesanan #${number} telah dibayar. Pengesahan dihantar ke ${email}.`,
  101. orderPendingTitle: 'Pembayaran belum selesai',
  102. orderPending: (number: number) =>
  103. `Pesanan #${number} belum dibayar. Troli anda masih disimpan, jadi anda boleh cuba lagi.`,
  104. deliverTo: 'Hantar ke',
  105. quantityShort: 'Kuantiti',
  106. cartAdjusted:
  107. 'Beberapa item berubah kerana stok berkurangan. Sila semak troli anda.',
  108. onlyLeft: (count: number) => `Tinggal ${count} sahaja`,
  109. cartCount: (count: number) => `Troli, ${count} item`,
  110. backToShop: 'Kembali ke kedai',
  111. noProducts: 'Belum ada produk. Sila datang semula nanti.',
  112. productCount: (count: number) => `${count} produk`,
  113. },
  114. };
  115. export type StorefrontWords = (typeof words)['en'];
  116. export function storefrontText(language: string): StorefrontWords {
  117. return language === 'ms' ? words.ms : words.en;
  118. }