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

12345678910111213141516171819202122232425262728293031323334353637
  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. cartSoon: 'Buying is not switched on yet.',
  14. backToShop: 'Back to shop',
  15. noProducts: 'No products yet. Please check back soon.',
  16. productCount: (count: number) =>
  17. count === 1 ? '1 product' : `${count} products`,
  18. },
  19. ms: {
  20. shop: 'Kedai',
  21. allProducts: 'Semua produk',
  22. viewAll: 'Lihat semua',
  23. soldOut: 'Habis dijual',
  24. inStock: 'Ada stok',
  25. addToCart: 'Tambah ke troli',
  26. cartSoon: 'Pembelian belum dibuka lagi.',
  27. backToShop: 'Kembali ke kedai',
  28. noProducts: 'Belum ada produk. Sila datang semula nanti.',
  29. productCount: (count: number) => `${count} produk`,
  30. },
  31. };
  32. export type StorefrontWords = (typeof words)['en'];
  33. export function storefrontText(language: string): StorefrontWords {
  34. return language === 'ms' ? words.ms : words.en;
  35. }