Merged in feat/lokalise-rebuild (pull request #2993)
Feat/lokalise rebuild * chore(lokalise): update translation ids * chore(lokalise): easier to switch between projects * chore(lokalise): update translation ids * . * . * . * . * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * . * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * chore(lokalise): new translations * merge * switch to errors for missing id's * merge * sync translations Approved-by: Linus Flood
This commit is contained in:
@@ -22,9 +22,13 @@ export default async function Total({ booking, currency }: TotalProps) {
|
||||
totalPriceInMoney > 0 ? `${totalPriceInMoney} ${currency}` : ""
|
||||
const pointsString =
|
||||
totalPriceInPoints > 0
|
||||
? `${totalPriceInPoints} ${intl.formatMessage({
|
||||
defaultMessage: "Points",
|
||||
})}`
|
||||
? intl.formatMessage(
|
||||
{
|
||||
id: "common.numberOfPoints",
|
||||
defaultMessage: "{points, plural, one {# point} other {# points}}",
|
||||
},
|
||||
{ points: totalPriceInPoints }
|
||||
)
|
||||
: ""
|
||||
const plusString = moneyString && pointsString ? " + " : ""
|
||||
|
||||
@@ -36,11 +40,13 @@ export default async function Total({ booking, currency }: TotalProps) {
|
||||
<div>
|
||||
<span className={styles.title}>
|
||||
{intl.formatMessage({
|
||||
id: "receipt.preliminaryReceipt",
|
||||
defaultMessage: "Preliminary receipt",
|
||||
})}
|
||||
</span>
|
||||
<span className={styles.titleSubtext}>
|
||||
{intl.formatMessage({
|
||||
id: "myStay.receipt.finalVatBreakdownInfo",
|
||||
defaultMessage:
|
||||
"Final VAT breakdown will be provided at check-out.",
|
||||
})}
|
||||
@@ -53,6 +59,7 @@ export default async function Total({ booking, currency }: TotalProps) {
|
||||
<Typography>
|
||||
<dt>
|
||||
{intl.formatMessage({
|
||||
id: "receipt.totalIncludingVat",
|
||||
defaultMessage: "Total including VAT",
|
||||
})}
|
||||
</dt>
|
||||
@@ -67,6 +74,7 @@ export default async function Total({ booking, currency }: TotalProps) {
|
||||
<Typography>
|
||||
<dt className={styles.tertiary}>
|
||||
{intl.formatMessage({
|
||||
id: "receipt.totalExcludingVat",
|
||||
defaultMessage: "Total excluding VAT",
|
||||
})}
|
||||
</dt>
|
||||
@@ -85,6 +93,7 @@ export default async function Total({ booking, currency }: TotalProps) {
|
||||
<Typography>
|
||||
<dt className={styles.tertiary}>
|
||||
{intl.formatMessage({
|
||||
id: "common.vat",
|
||||
defaultMessage: "VAT",
|
||||
})}
|
||||
</dt>
|
||||
|
||||
Reference in New Issue
Block a user