fix(i18n): prepare for Lokalise
This commit is contained in:
@@ -30,15 +30,20 @@ export default function SelectionCard({
|
||||
|
||||
<div>
|
||||
<Caption color="burgundy" className={styles.price}>
|
||||
{formatPrice(intl, price, currency)}/
|
||||
{intl.formatMessage({ id: "night" })}
|
||||
{intl.formatMessage(
|
||||
{ id: "{price}/night" },
|
||||
{
|
||||
price: formatPrice(intl, price, currency),
|
||||
}
|
||||
)}
|
||||
</Caption>
|
||||
|
||||
{membersPrice && (
|
||||
<Caption color="burgundy" className={styles.membersPrice}>
|
||||
{intl.formatMessage({ id: "Members" })}{" "}
|
||||
{formatPrice(intl, membersPrice, currency)}/
|
||||
{intl.formatMessage({ id: "night" })}
|
||||
{intl.formatMessage(
|
||||
{ id: "Members {price}/night" },
|
||||
{ price: formatPrice(intl, membersPrice, currency) }
|
||||
)}
|
||||
</Caption>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user