Skip to content

Commit 199548c

Browse files
committed
remove @@ placeholder
1 parent a2dd8e1 commit 199548c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/components/ProductCard/ProductCard.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const ProductCard = component$<ProductCardProps>(
8484
class='inline-flex items-center justify-center font-medium text-base focus-visible:outline focus-visible:outline-offset rounded-md disabled:text-disabled-500 disabled:bg-disabled-300 disabled:shadow-none disabled:ring-0 disabled:cursor-not-allowed leading-5 text-sm py-1.5 px-3 gap-1.5 text-white shadow hover:shadow-md active:shadow bg-primary-700 hover:bg-primary-800 active:bg-primary-900 disabled:bg-disabled-300'
8585
onClick$={() => actions.updateCartProduct(product.id, 1)}
8686
>
87-
{t('addToCartShort@@Add')}
87+
{t('addToCartShort')}
8888
<div q:slot='prefix'>
8989
<SfIconShoppingCart size='sm' class='w-5 h-5' />
9090
</div>

src/routes/cart/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default component$(() => {
2626
<div class='px-4 md:px-0 mb-20'>
2727
<div class='flex justify-between mt-8 mb-10'>
2828
<h1 class='font-bold typography-headline-3 md:typography-headline-2'>
29-
{t('myCart@@My Cart')}
29+
{t('myCart')}
3030
</h1>
3131
<Link
3232
class='inline-flex items-center justify-center font-medium text-base focus-visible:outline focus-visible:outline-offset rounded-md disabled:text-disabled-500 disabled:bg-disabled-300 disabled:shadow-none disabled:ring-0 disabled:cursor-not-allowed leading-5 text-sm py-1.5 px-3 gap-1.5 text-primary-700 hover:bg-primary-100 hover:text-primary-800 active:bg-primary-200 active:text-primary-900 disabled:bg-transparent flex md:hidden whitespace-nowrap'

src/routes/category/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ export default component$(() => {
446446
actions.updateCartProduct(product.id, 1)
447447
}
448448
>
449-
{t('addToCartShort@@Add')}
449+
{t('addToCartShort')}
450450
<div q:slot='prefix'>
451451
<SfIconShoppingCart size='sm' class='w-5 h-5' />
452452
</div>

src/routes/product/[slug]/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export default component$(() => {
218218
actions.updateCartProduct(product.value.id, 1)
219219
}
220220
>
221-
{t('addToCart@@Add to cart')}
221+
{t('addToCart')}
222222
<div q:slot='prefix'>
223223
<SfIconShoppingCart size='sm' class='w-5 h-5' />
224224
</div>

0 commit comments

Comments
 (0)