feat(admin-ui): Add missing attributes translations (#5155)
* feat(admin-ui): Add missing attributes translations * Add attributes title * Create weak-carpets-carry.md
This commit is contained in:
committed by
GitHub
parent
15a1c55def
commit
8b189d2b90
@@ -24,16 +24,32 @@ const ProductAttributesSection = ({ product }: Props) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Section title="Attributes" actions={actions} forceDropdown>
|
||||
<Section
|
||||
title={t("product-attributes-section-title", "Attributes")}
|
||||
actions={actions}
|
||||
forceDropdown
|
||||
>
|
||||
<div className="gap-y-xsmall mb-large mt-base flex flex-col">
|
||||
<h2 className="inter-base-semibold">
|
||||
{t("product-attributes-section-dimensions", "Dimensions")}
|
||||
</h2>
|
||||
<div className="gap-y-xsmall flex flex-col">
|
||||
<Attribute attribute="Height" value={product.height} />
|
||||
<Attribute attribute="Width" value={product.width} />
|
||||
<Attribute attribute="Length" value={product.length} />
|
||||
<Attribute attribute="Weight" value={product.weight} />
|
||||
<Attribute
|
||||
attribute={t("product-attributes-section-height", "Height")}
|
||||
value={product.height}
|
||||
/>
|
||||
<Attribute
|
||||
attribute={t("product-attributes-section-width", "Width")}
|
||||
value={product.width}
|
||||
/>
|
||||
<Attribute
|
||||
attribute={t("product-attributes-section-height", "Length")}
|
||||
value={product.length}
|
||||
/>
|
||||
<Attribute
|
||||
attribute={t("product-attributes-section-weight", "Weight")}
|
||||
value={product.weight}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="gap-y-xsmall flex flex-col">
|
||||
|
||||
Reference in New Issue
Block a user