@ikas/component-cli 0.116.0 → 0.117.0

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 (47) hide show
  1. package/dist/commands/build.d.ts.map +1 -1
  2. package/dist/commands/build.js +12 -12
  3. package/dist/commands/build.js.map +1 -1
  4. package/dist/utils/compile.d.ts.map +1 -1
  5. package/dist/utils/compile.js +11 -9
  6. package/dist/utils/compile.js.map +1 -1
  7. package/package.json +1 -1
  8. package/templates/create-full/ikas.config.json +983 -983
  9. package/templates/create-full/src/components/AccountAddresses/components/AddressModal/index.tsx +6 -9
  10. package/templates/create-full/src/components/AccountAddresses/components/AddressModal/styles.css +1 -0
  11. package/templates/create-full/src/components/AccountAddresses/index.tsx +12 -12
  12. package/templates/create-full/src/components/AccountFavorites/index.tsx +3 -3
  13. package/templates/create-full/src/components/AccountInfo/index.tsx +5 -5
  14. package/templates/create-full/src/components/AccountInfoContent/index.tsx +5 -5
  15. package/templates/create-full/src/components/AccountOrderDetail/index.tsx +29 -29
  16. package/templates/create-full/src/components/AccountOrders/index.tsx +8 -8
  17. package/templates/create-full/src/components/BlogHome/index.tsx +3 -3
  18. package/templates/create-full/src/components/BlogPost/index.tsx +3 -3
  19. package/templates/create-full/src/components/CartPage/index.tsx +13 -13
  20. package/templates/create-full/src/components/CategoryList/components/CategoryListControls/index.tsx +1 -1
  21. package/templates/create-full/src/components/CategoryList/index.tsx +13 -13
  22. package/templates/create-full/src/components/CustomerEmailVerification/index.tsx +14 -14
  23. package/templates/create-full/src/components/Footer/index.tsx +3 -3
  24. package/templates/create-full/src/components/ForgotPassword/components/ForgotPasswordForm/index.tsx +10 -10
  25. package/templates/create-full/src/components/Login/components/LoginForm/index.tsx +13 -13
  26. package/templates/create-full/src/components/Navbar/components/MobileMenu/index.tsx +1 -1
  27. package/templates/create-full/src/components/Navbar/index.tsx +19 -19
  28. package/templates/create-full/src/components/ProductDetail/index.tsx +1 -1
  29. package/templates/create-full/src/components/ProductDetailAddToCart/index.tsx +7 -7
  30. package/templates/create-full/src/components/ProductDetailBundleFurniture/index.tsx +8 -8
  31. package/templates/create-full/src/components/ProductDetailBundleProduct/index.tsx +3 -3
  32. package/templates/create-full/src/components/ProductDetailDescription/index.tsx +1 -1
  33. package/templates/create-full/src/components/ProductDetailOffer/components/OfferCard/index.tsx +2 -2
  34. package/templates/create-full/src/components/ProductDetailOffer/index.tsx +9 -9
  35. package/templates/create-full/src/components/ProductDetailOptionSet/index.tsx +7 -7
  36. package/templates/create-full/src/components/ProductDetailSku/index.tsx +1 -1
  37. package/templates/create-full/src/components/ProductDetailVariant/types.ts +1 -1
  38. package/templates/create-full/src/components/ProductSlider/index.tsx +4 -4
  39. package/templates/create-full/src/components/RecoverPassword/components/RecoverPasswordForm/index.tsx +10 -10
  40. package/templates/create-full/src/components/Register/components/RegisterForm/index.tsx +15 -15
  41. package/templates/create-full/src/global-types.ts +0 -2
  42. package/templates/create-full/src/global.css +4 -0
  43. package/templates/create-full/src/hooks/useScrollLock.ts +0 -4
  44. package/templates/create-full/src/sub-components/CartItem/components/BundleProducts/index.tsx +1 -1
  45. package/templates/create-full/src/sub-components/Modal/index.tsx +4 -2
  46. package/templates/create-full/src/sub-components/ProductCard/index.tsx +4 -4
  47. package/templates/create-full/claude-md +0 -737
@@ -101,10 +101,11 @@ const AddressModal = observer(function AddressModal({
101
101
  id: string,
102
102
  type?: string,
103
103
  ) => {
104
- if (!field?.label) return null;
104
+ if (!field) return null;
105
+
105
106
  return (
106
107
  <FormItem
107
- label={field.label}
108
+ label={field.label ?? ""}
108
109
  htmlFor={id}
109
110
  status={getFieldStatus(field)}
110
111
  helper={getFieldHelper(field)}
@@ -128,7 +129,7 @@ const AddressModal = observer(function AddressModal({
128
129
  setter: FormFieldSetter,
129
130
  id: string,
130
131
  ) => {
131
- if (!field?.label) return null;
132
+ if (!field) return null;
132
133
 
133
134
  if (field.isFreeText || !options?.length) {
134
135
  return renderInput(field, setter, id);
@@ -136,7 +137,7 @@ const AddressModal = observer(function AddressModal({
136
137
 
137
138
  return (
138
139
  <FormItem
139
- label={field.label}
140
+ label={field.label ?? ""}
140
141
  htmlFor={id}
141
142
  status={getFieldStatus(field)}
142
143
  helper={getFieldHelper(field)}
@@ -286,11 +287,7 @@ const AddressModal = observer(function AddressModal({
286
287
  className="kombos-address-modal__form"
287
288
  onSubmit={handleSubmit}
288
289
  >
289
- {renderInput(
290
- addressForm.title,
291
- setAddressFormTitle,
292
- "addr-title",
293
- )}
290
+ {renderInput(addressForm.title, setAddressFormTitle, "addr-title")}
294
291
  {renderRowLayout(addressForm.addressFormat ?? [], renderFormField)}
295
292
  </form>
296
293
  )}
@@ -18,5 +18,6 @@
18
18
 
19
19
  .kombos-address-modal__row > * {
20
20
  flex: 1;
21
+ min-width: 0;
21
22
  }
22
23
  }
@@ -11,18 +11,18 @@ import ConfirmModal from "../../sub-components/ConfirmModal";
11
11
  import { Props } from "./types";
12
12
 
13
13
  export function AccountAddresses({
14
- title = "Adreslerim",
15
- addButtonText = "Adres Ekle",
16
- emptyMessage = "Henüz adres eklenmedi.",
17
- editButtonText = "Düzenle",
18
- deleteButtonText = "Sil",
19
- saveButtonText = "Kaydet",
20
- savingButtonText = "Kaydediliyor...",
21
- cancelButtonText = "Iptal",
22
- modalTitleAdd = "Adres Ekle",
23
- modalTitleEdit = "Adresi Düzenle",
24
- deleteConfirmMessage = "Bu adresi silmek istediginize emin misiniz?",
25
- deleteConfirmTitle = "Adresi Sil",
14
+ title = "My Addresses",
15
+ addButtonText = "Add Address",
16
+ emptyMessage = "No addresses added yet.",
17
+ editButtonText = "Edit",
18
+ deleteButtonText = "Delete",
19
+ saveButtonText = "Save",
20
+ savingButtonText = "Saving...",
21
+ cancelButtonText = "Cancel",
22
+ modalTitleAdd = "Add Address",
23
+ modalTitleEdit = "Edit Address",
24
+ deleteConfirmMessage = "Are you sure you want to delete this address?",
25
+ deleteConfirmTitle = "Delete Address",
26
26
  }: Props) {
27
27
  const [modalOpen, setModalOpen] = useState(false);
28
28
  const [editingAddress, setEditingAddress] = useState<
@@ -12,9 +12,9 @@ import { Props } from "./types";
12
12
 
13
13
  export function AccountFavorites(props: Props) {
14
14
  const {
15
- favoritesLabel = "Favorilerim",
16
- emptyFavoritesText = "Henuz favori urun eklemediniz.",
17
- addToCartText = "Sepete Ekle",
15
+ favoritesLabel = "My Favorites",
16
+ emptyFavoritesText = "You haven't added any favorites yet.",
17
+ addToCartText = "Add to Cart",
18
18
  components,
19
19
  } = props;
20
20
  const [favorites, setFavorites] = useState<IkasProduct[]>([]);
@@ -41,11 +41,11 @@ export function AccountInfo(props: Props) {
41
41
  }, []);
42
42
 
43
43
  const {
44
- accountInfoLabel = "Hesap Bilgilerim",
45
- ordersLabel = "Siparislerim",
46
- addressesLabel = "Adreslerim",
47
- favoritesLabel = "Favorilerim",
48
- logoutLabel = "Cikis Yap",
44
+ accountInfoLabel = "My Account",
45
+ ordersLabel = "My Orders",
46
+ addressesLabel = "My Addresses",
47
+ favoritesLabel = "My Favorites",
48
+ logoutLabel = "Sign Out",
49
49
  components,
50
50
  } = props;
51
51
  const activeTab = getActiveTabFromPath();
@@ -15,11 +15,11 @@ import SkeletonField from "../../sub-components/SkeletonField";
15
15
  import { Props } from "./types";
16
16
 
17
17
  export function AccountInfoContent({
18
- title = "Hesap Bilgilerim",
19
- successMessage = "Bilgileriniz guncellendi.",
20
- submitButtonText = "Kaydet",
21
- submittingButtonText = "Kaydediliyor...",
22
- emailLabel = "E-posta",
18
+ title = "My Account",
19
+ successMessage = "Your information has been updated.",
20
+ submitButtonText = "Save",
21
+ submittingButtonText = "Saving...",
22
+ emailLabel = "Email",
23
23
  }: Props) {
24
24
  const accountForm = getAccountInfoForm(customerStore);
25
25
  const [isLoading, setIsLoading] = useState(true);
@@ -25,35 +25,35 @@ import ReturnView from "./components/ReturnView";
25
25
  import { Props } from "./types";
26
26
 
27
27
  export function AccountOrderDetail({
28
- breadcrumbOrdersLabel = "Siparişlerim",
29
- breadcrumbOrderLabel = "Nolu Sipariş",
30
- orderNoLabel = "Sipariş No:",
31
- orderStatusLabel = "Sipariş Durumu:",
32
- orderDateLabel = "Sipariş Tarihi:",
33
- returnButtonText = "İade Et",
34
- returningButtonText = "İade talebi gönderiliyor...",
35
- returnRequestTitle = "İade Talebi",
36
- returnSubmitText = "İade Et",
37
- deliveryAddressLabel = "Teslimat Adresi",
38
- billingAddressLabel = "Fatura Adresi",
39
- paymentInfoLabel = "Ödeme Bilgileri",
40
- summaryLabel = "Özet",
41
- subtotalLabel = "Ara Toplam",
42
- shippingLabel = "Kargo",
43
- totalLabel = "Toplam",
44
- taxIncludedText = "*vergiler dahil",
45
- installmentText = "Taksit",
46
- singlePaymentText = "Tek Çekim",
47
- cargoCompanyLabel = "Kargo Şirketi:",
48
- trackingNumberLabel = "Takip Numarası:",
49
- quantityLabel = "adet",
50
- errorText = "Sipariş bulunamadı.",
51
- backToOrdersText = "Siparişlerime Dön",
52
- returnSuccessText = "İade talebiniz başarıyla oluşturuldu.",
53
- returnErrorText = "İade talebi oluşturulurken bir hata oluştu.",
54
- copiedText = "Kopyalandı!",
55
- downloadSectionTitle = "İndirilebilir Dosyalar",
56
- downloadButtonText = "İndir",
28
+ breadcrumbOrdersLabel = "My Orders",
29
+ breadcrumbOrderLabel = "Order",
30
+ orderNoLabel = "Order No:",
31
+ orderStatusLabel = "Order Status:",
32
+ orderDateLabel = "Order Date:",
33
+ returnButtonText = "Return",
34
+ returningButtonText = "Submitting return request...",
35
+ returnRequestTitle = "Return Request",
36
+ returnSubmitText = "Return",
37
+ deliveryAddressLabel = "Delivery Address",
38
+ billingAddressLabel = "Billing Address",
39
+ paymentInfoLabel = "Payment Information",
40
+ summaryLabel = "Summary",
41
+ subtotalLabel = "Subtotal",
42
+ shippingLabel = "Shipping",
43
+ totalLabel = "Total",
44
+ taxIncludedText = "*taxes included",
45
+ installmentText = "Installment",
46
+ singlePaymentText = "Single Payment",
47
+ cargoCompanyLabel = "Shipping Company:",
48
+ trackingNumberLabel = "Tracking Number:",
49
+ quantityLabel = "items",
50
+ errorText = "Order not found.",
51
+ backToOrdersText = "Back to Orders",
52
+ returnSuccessText = "Your return request has been successfully created.",
53
+ returnErrorText = "An error occurred while creating the return request.",
54
+ copiedText = "Copied!",
55
+ downloadSectionTitle = "Downloadable Files",
56
+ downloadButtonText = "Download",
57
57
  }: Props) {
58
58
  const [order, setOrder] = useState<IkasOrder | null>(null);
59
59
  const [loading, setLoading] = useState(true);
@@ -11,14 +11,14 @@ import OrderCard from "./components/OrderCard";
11
11
  import { Props } from "./types";
12
12
 
13
13
  export function AccountOrders({
14
- ordersLabel = "Siparişlerim",
15
- emptyText = "Henüz siparişiniz bulunmuyor.",
16
- detailButtonText = "Detaya Git",
17
- orderNoText = "Sipariş No:",
18
- itemsText = "Ürün",
19
- shopButtonText = "Alışverişe Başla",
20
- errorText = "Siparişler yüklenirken bir hata oluştu.",
21
- retryButtonText = "Tekrar Dene",
14
+ ordersLabel = "My Orders",
15
+ emptyText = "You don't have any orders yet.",
16
+ detailButtonText = "View Details",
17
+ orderNoText = "Order No:",
18
+ itemsText = "Product",
19
+ shopButtonText = "Start Shopping",
20
+ errorText = "An error occurred while loading orders.",
21
+ retryButtonText = "Try Again",
22
22
  }: Props) {
23
23
  const [orders, setOrders] = useState<IkasOrder[]>([]);
24
24
  const [loading, setLoading] = useState(true);
@@ -18,9 +18,9 @@ export function BlogHome({
18
18
  blogCategoryList,
19
19
  title = "Blog",
20
20
  description,
21
- allCategoriesText = "Tümünü Gör",
22
- readMoreText = "Devamını Oku",
23
- emptyMessage = "Henüz blog yazısı bulunmuyor.",
21
+ allCategoriesText = "View All",
22
+ readMoreText = "Read More",
23
+ emptyMessage = "No blog posts found yet.",
24
24
  aspectRatio,
25
25
  objectFit,
26
26
  }: Props) {
@@ -11,9 +11,9 @@ import { getFullName } from "../../utils/fullName";
11
11
 
12
12
  export function BlogPost({
13
13
  blogPost,
14
- homeText = "Ana Sayfa",
15
- blogText = "Blog Yazıları",
16
- tagsTitle = "Etiketler",
14
+ homeText = "Home",
15
+ blogText = "Blog Posts",
16
+ tagsTitle = "Tags",
17
17
  aspectRatio,
18
18
  objectFit,
19
19
  }: Props) {
@@ -12,19 +12,19 @@ import OrderSummary from "./components/OrderSummary";
12
12
  import EmptyState from "./components/EmptyState";
13
13
 
14
14
  export function CartPage({
15
- title = "Sepet",
16
- emptyCartText = "Sepetinizde Ürün Bulunmamaktadır",
17
- subtotalLabel = "Ara Toplam",
18
- totalLabel = "Toplam",
19
- checkoutButtonText = "Siparişi Tamamla",
20
- itemsText = "ürün",
21
- couponToggleText = "Hediye Kodunu Kullan!",
22
- couponPlaceholder = "Kupon kodu girin",
23
- couponApplyText = "Uygula",
24
- couponRemoveText = "Kaldır",
25
- couponApplyingText = "Uygulanıyor...",
26
- orderSummaryTitle = "Sipariş Özeti",
27
- continueShoppingText = "Alışverişe Başla",
15
+ title = "Cart",
16
+ emptyCartText = "Your cart is empty",
17
+ subtotalLabel = "Subtotal",
18
+ totalLabel = "Total",
19
+ checkoutButtonText = "Complete Order",
20
+ itemsText = "product",
21
+ couponToggleText = "Use Gift Code!",
22
+ couponPlaceholder = "Enter coupon code",
23
+ couponApplyText = "Apply",
24
+ couponRemoveText = "Remove",
25
+ couponApplyingText = "Applying...",
26
+ orderSummaryTitle = "Order Summary",
27
+ continueShoppingText = "Start Shopping",
28
28
  }: Props) {
29
29
  const cart = cartStore.cart;
30
30
  const isLoading = cartStore.isCartLoading;
@@ -78,7 +78,7 @@ const CategoryListControls = observer(function CategoryListControls({
78
78
  size="xs"
79
79
  className="kombos-category-list-controls__col-btn"
80
80
  onClick={onToggleColumns}
81
- aria-label={`${columns === 4 ? 3 : 4} sütun`}
81
+ aria-label={`${columns === 4 ? 3 : 4} columns`}
82
82
  icon={columns === 3 ? <Column3SVG /> : <Column4SVG />}
83
83
  >
84
84
  {columnText}
@@ -39,25 +39,25 @@ import { usePageTracking } from "../../hooks/usePageTracking";
39
39
  export function CategoryList(props: Props) {
40
40
  const {
41
41
  productList,
42
- emptyMessage = "Ürün bulunamadı.",
43
- searchPlaceholder = "Ara",
44
- clearFiltersText = "Filtreleri Temizle",
45
- addToCartText = "Sepete Ekle",
46
- addedToCartText = "Eklendi",
47
- outOfStockText = "Tükendi",
48
- showProductsText = "ÜRÜNÜ GÖR",
49
- filtersText = "Filtreler",
50
- columnText = "Sütun",
42
+ emptyMessage = "No products found.",
43
+ searchPlaceholder = "Search",
44
+ clearFiltersText = "Clear Filters",
45
+ addToCartText = "Add to Cart",
46
+ addedToCartText = "Added",
47
+ outOfStockText = "Sold Out",
48
+ showProductsText = "VIEW PRODUCT",
49
+ filtersText = "Filters",
50
+ columnText = "Column",
51
51
  badgeText,
52
- homepageText = "Anasayfa",
52
+ homepageText = "Home",
53
53
  showFilters = false,
54
54
  showSearch = false,
55
55
  aspectRatio,
56
56
  objectFit,
57
57
  isInfinity = false,
58
- loadPrevPageText = "Önceki sayfayı yükle",
58
+ loadPrevPageText = "Load previous page",
59
59
  pageTitle: pageTitleProp,
60
- productCountText = "ürün",
60
+ productCountText = "product",
61
61
  hideAddToCartButton,
62
62
  hideBreadcrumb = false,
63
63
  isBrandPage = false,
@@ -259,7 +259,7 @@ export function CategoryList(props: Props) {
259
259
 
260
260
  return (
261
261
  <div
262
- key={`${product.id}-${index}`}
262
+ key={product.id}
263
263
  className="kombos-category-list__card"
264
264
  >
265
265
  <ProductCard
@@ -18,20 +18,20 @@ type Status = "loading" | "success" | "error";
18
18
  type ResendStatus = "idle" | "sending" | "success" | "error";
19
19
 
20
20
  export function CustomerEmailVerification({
21
- title = "E-posta Doğrulama",
22
- successTitle = "E-posta Doğrulandı",
23
- successMessage = "E-posta adresiniz başarıyla doğrulandı. Artık giriş yapabilirsiniz.",
24
- errorTitle = "Doğrulama Başarısız",
25
- errorMessage = "E-posta doğrulama bağlantısı geçersiz veya süresi dolmuş.",
26
- loadingMessage = "E-posta adresiniz doğrulanıyor, lütfen bekleyin...",
27
- loginButtonText = "Giriş Yap",
28
- resendTitle = "Doğrulama E-postasını Tekrar Gönder",
29
- emailLabel = "E-posta",
30
- emailPlaceholder = "ornek@email.com",
31
- resendButtonText = "Tekrar Gönder",
32
- resendingButtonText = "Gönderiliyor...",
33
- resendSuccessMessage = "Doğrulama e-postası başarıyla gönderildi.",
34
- resendErrorMessage = "E-posta gönderilemedi. Lütfen tekrar deneyin.",
21
+ title = "Account Activation",
22
+ successTitle = "Your Account Has Been Activated!",
23
+ successMessage = "Your account has been successfully activated. You can sign in and start shopping.",
24
+ errorTitle = "Activation Failed",
25
+ errorMessage = "Your activation link may be invalid or expired.",
26
+ loadingMessage = "Activating your account...",
27
+ loginButtonText = "Sign In",
28
+ resendTitle = "Resend Activation Email",
29
+ emailLabel = "Email",
30
+ emailPlaceholder = "example@email.com",
31
+ resendButtonText = "Resend",
32
+ resendingButtonText = "Sending...",
33
+ resendSuccessMessage = "Activation email has been resent. Please check your inbox.",
34
+ resendErrorMessage = "Failed to send email. Please try again.",
35
35
  }: Props) {
36
36
  const [status, setStatus] = useState<Status>("loading");
37
37
  const [email, setEmail] = useState("");
@@ -11,10 +11,10 @@ export function Footer(props: Props) {
11
11
  const {
12
12
  logo,
13
13
  description,
14
- copyrightText = "© 2026 ikas Mağazası. Tüm Hakları Saklıdır",
14
+ copyrightText = "© 2026 ikas Store. All Rights Reserved",
15
15
  linkColor,
16
16
  linkHoverColor,
17
- contactTitle = "İletişim Bilgileri",
17
+ contactTitle = "Contact Information",
18
18
  contactEmail,
19
19
  contactPhone,
20
20
  footerLinks,
@@ -142,7 +142,7 @@ export function Footer(props: Props) {
142
142
  <div className="kombos-footer__badge">
143
143
  <IkasLogoSVG className="kombos-footer__badge-logo" />
144
144
  <span className="kombos-footer__badge-text text-xs-medium">
145
- E-Ticaret Altyapısı ile Hazırlanmıştır.
145
+ Powered by ikas E-Commerce.
146
146
  </span>
147
147
  </div>
148
148
  </div>
@@ -17,16 +17,16 @@ interface ForgotPasswordFormProps extends Props {
17
17
 
18
18
  const ForgotPasswordForm = observer(function ForgotPasswordForm({
19
19
  forgotForm,
20
- title = "Parolamı Unuttum",
21
- subtitle = "Şifrenizi sıfırlamanız için size bir e-posta göndereceğiz",
22
- emailLabel = "E-posta",
23
- emailPlaceholder = "yildo@ikas.com",
24
- submitButtonText = "Gönder",
25
- submittingButtonText = "Gönderiliyor...",
26
- successTitle = "Parolamı Unuttum",
27
- successMessage = "Size bir e-posta gönderdik.",
28
- successButtonText = "Alışverişe Başla",
29
- backToLoginText = "Giriş Sayfasına Dön",
20
+ title = "Forgot Password",
21
+ subtitle = "We'll send you an email to reset your password",
22
+ emailLabel = "Email",
23
+ emailPlaceholder = "example@email.com",
24
+ submitButtonText = "Send",
25
+ submittingButtonText = "Sending...",
26
+ successTitle = "Forgot Password",
27
+ successMessage = "We've sent you an email.",
28
+ successButtonText = "Start Shopping",
29
+ backToLoginText = "Back to Login",
30
30
  }: ForgotPasswordFormProps) {
31
31
  const handleSubmit = async (e: Event) => {
32
32
  e.preventDefault();
@@ -22,21 +22,21 @@ interface LoginFormProps extends Props {
22
22
 
23
23
  const LoginForm = observer(function LoginForm({
24
24
  loginForm,
25
- title = "Giriş Yap",
26
- subtitle = "Hesabınıza giriş yaparak siparişlerinizi\ntakip edebilir ve alışverişe devam edebilirsiniz.",
27
- emailLabel = "E-posta",
28
- emailPlaceholder = "ornek@email.com",
29
- passwordLabel = "Şifre",
30
- passwordPlaceholder = "Şifrenizi girin",
31
- forgotPasswordText = "Parolamı unuttum",
32
- submitButtonText = "Giriş Yap",
33
- submittingButtonText = "Giriş yapılıyor...",
34
- createAccountText = "Yeni hesap oluştur",
25
+ title = "Sign In",
26
+ subtitle = "Sign in to your account to track your orders\nand continue shopping.",
27
+ emailLabel = "Email",
28
+ emailPlaceholder = "example@email.com",
29
+ passwordLabel = "Password",
30
+ passwordPlaceholder = "Enter your password",
31
+ forgotPasswordText = "Forgot my password",
32
+ submitButtonText = "Sign In",
33
+ submittingButtonText = "Signing in...",
34
+ createAccountText = "Create new account",
35
35
  showGoogleLogin = false,
36
36
  showFacebookLogin = false,
37
- googleButtonText = "Google ile giriş yap",
38
- facebookButtonText = "Facebook ile giriş yap",
39
- dividerText = "veya",
37
+ googleButtonText = "Sign in with Google",
38
+ facebookButtonText = "Sign in with Facebook",
39
+ dividerText = "or",
40
40
  }: LoginFormProps) {
41
41
  const showSocialLogin = showGoogleLogin || showFacebookLogin;
42
42
 
@@ -148,7 +148,7 @@ const MobileMenu = observer(function MobileMenu({
148
148
  subLinks: link.subLinks!,
149
149
  })
150
150
  }
151
- aria-label={`${link.label} alt kategorileri`}
151
+ aria-label={`${link.label} subcategories`}
152
152
  >
153
153
  <CaretRightSVG />
154
154
  </button>
@@ -26,28 +26,28 @@ export function Navbar(props: Props) {
26
26
  navigationLinks,
27
27
  logoSizeDesktop: rawLogoSizeDesktop,
28
28
  logoSizeMobile: rawLogoSizeMobile,
29
- cartTitle = "Alışveriş Sepetim",
30
- emptyCartText = "Sepetinizde Ürün Bulunmamaktadır",
31
- checkoutButtonText = "Ödemeye Geç",
32
- totalText = "Toplam",
29
+ cartTitle = "My Cart",
30
+ emptyCartText = "Your cart is empty",
31
+ checkoutButtonText = "Proceed to Checkout",
32
+ totalText = "Total",
33
33
  navigationLinkColor,
34
34
  coloredLinks,
35
35
  coloredLinkColor,
36
- registerButtonText = "Üye Ol",
37
- loginButtonText = "Giriş Yap",
38
- logoutButtonText = "Çıkış Yap",
39
- freeShippingText = "150 TL ve üzeri siparişlerde kargo bedava",
40
- emptyCartButtonText = "Alışverişe Başla",
41
- searchPlaceholder = "Ne Aramıştınız?",
42
- searchingText = "Aranıyor...",
43
- noResultsText = "Aradığınız ürün bulunamadı",
44
- resultCountText = "Sonuç",
45
- addToCartText = "Sepete Ekle",
46
- addedToCartText = "Sepete Eklendi",
47
- outOfStockText = "Tükendi",
48
- goToProductText = "Ürüne Git",
49
- viewAllText = "Tümünü Gör",
50
- viewCartButtonText = "Sepeti Görüntüle",
36
+ registerButtonText = "Sign Up",
37
+ loginButtonText = "Sign In",
38
+ logoutButtonText = "Sign Out",
39
+ freeShippingText = "Free shipping on orders over $150",
40
+ emptyCartButtonText = "Start Shopping",
41
+ searchPlaceholder = "What are you looking for?",
42
+ searchingText = "Searching...",
43
+ noResultsText = "No products found",
44
+ resultCountText = "Result",
45
+ addToCartText = "Add to Cart",
46
+ addedToCartText = "Added to Cart",
47
+ outOfStockText = "Sold Out",
48
+ goToProductText = "View Product",
49
+ viewAllText = "View All",
50
+ viewCartButtonText = "View Cart",
51
51
  searchProductList,
52
52
  hideAddToCartButton,
53
53
  imageAspectRatio,
@@ -19,7 +19,7 @@ export function ProductDetail(props: Props) {
19
19
  aspectRatio,
20
20
  objectFit,
21
21
  bottomComponents,
22
- homepageText = "Anasayfa",
22
+ homepageText = "Home",
23
23
  } = props;
24
24
  if (!product) return null;
25
25
 
@@ -21,13 +21,13 @@ import { showToast } from "../../utils/toast";
21
21
 
22
22
  export function ProductDetailAddToCart({
23
23
  product,
24
- addToCartButtonText = "Sepete Ekle",
25
- addingToCartText = "Ekleniyor...",
26
- outOfStockText = "Tükendi",
27
- errorMessage = "Ürün sepete eklenemedi",
28
- optionSetErrorMessage = "Lütfen gerekli seçenekleri doldurun",
29
- updateCartButtonText = "Güncelle",
30
- updatingCartText = "Güncelleniyor...",
24
+ addToCartButtonText = "Add to Cart",
25
+ addingToCartText = "Adding...",
26
+ outOfStockText = "Sold Out",
27
+ errorMessage = "Failed to add product to cart",
28
+ optionSetErrorMessage = "Please fill in the required options",
29
+ updateCartButtonText = "Update",
30
+ updatingCartText = "Updating...",
31
31
  hideQuantityInput = false,
32
32
  mobileMarginTop,
33
33
  mobileMarginBottom,
@@ -12,14 +12,14 @@ export function ProductDetailBundleFurniture({
12
12
  mobileMarginBottom,
13
13
  desktopMarginTop,
14
14
  desktopMarginBottom,
15
- productContentTitle = "Ürün İçeriği",
16
- partsLabel = "Parçalar",
17
- unitPriceLabel = "Birim Fiyat",
18
- quantityLabel = "Adet",
19
- featuresLabel = "Özellikler",
20
- totalPriceLabel = "Toplam Fiyat",
21
- outOfStockText = "Stokta yok",
22
- addProductItemText = "Ürün Ekle",
15
+ productContentTitle = "Product Contents",
16
+ partsLabel = "Parts",
17
+ unitPriceLabel = "Unit Price",
18
+ quantityLabel = "Quantity",
19
+ featuresLabel = "Specifications",
20
+ totalPriceLabel = "Total Price",
21
+ outOfStockText = "Out of Stock",
22
+ addProductItemText = "Add Product",
23
23
  aspectRatio,
24
24
  objectFit,
25
25
  }: Props) {
@@ -41,9 +41,9 @@ export function ProductDetailBundleProduct({
41
41
  desktopMarginBottom,
42
42
  isBundleFurniture,
43
43
  bundleProductWithoutLink,
44
- quantityLabel = "Adet",
45
- outOfStockText = "Stokta yok",
46
- productContentTitle = "Takım içeriği",
44
+ quantityLabel = "Quantity",
45
+ outOfStockText = "Out of Stock",
46
+ productContentTitle = "Set Contents",
47
47
  aspectRatio,
48
48
  objectFit,
49
49
  }: Props) {
@@ -9,7 +9,7 @@ import { Props } from "./types";
9
9
  export function ProductDetailDescription(props: Props) {
10
10
  const {
11
11
  product,
12
- title = "Ürün Özellikleri",
12
+ title = "Product Details",
13
13
  defaultOpen = false,
14
14
  mobileMarginTop,
15
15
  mobileMarginBottom,
@@ -30,8 +30,8 @@ interface Props {
30
30
 
31
31
  const OfferCard = observer(function OfferCard({
32
32
  offer,
33
- outOfStockText = "Tükendi",
34
- addedToCartBannerText = "Sepete eklenmiş",
33
+ outOfStockText = "Sold Out",
34
+ addedToCartBannerText = "Added to cart",
35
35
  imageAspectRatio,
36
36
  imageObjectFit,
37
37
  }: Props) {