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:
@@ -32,11 +32,13 @@ export default function Breakfast({
|
||||
const intl = useIntl()
|
||||
|
||||
const breakfastBuffet = intl.formatMessage({
|
||||
id: "common.breakfastBuffet",
|
||||
defaultMessage: "Breakfast buffet",
|
||||
})
|
||||
|
||||
const adultsMsg = intl.formatMessage(
|
||||
{
|
||||
id: "priceDetails.breakfastAdultsDetails",
|
||||
defaultMessage:
|
||||
"Breakfast ({totalAdults, plural, one {# adult} other {# adults}}) x {totalBreakfasts}",
|
||||
},
|
||||
@@ -47,6 +49,7 @@ export default function Breakfast({
|
||||
if (childrenInRoom?.length) {
|
||||
kidsMsg = intl.formatMessage(
|
||||
{
|
||||
id: "priceDetails.breakfastChildrenDetails",
|
||||
defaultMessage:
|
||||
"Breakfast ({totalChildren, plural, one {# child} other {# children}}) x {totalBreakfasts}",
|
||||
},
|
||||
@@ -58,7 +61,10 @@ export default function Breakfast({
|
||||
}
|
||||
|
||||
if (breakfastIncluded) {
|
||||
const included = intl.formatMessage({ defaultMessage: "Included" })
|
||||
const included = intl.formatMessage({
|
||||
id: "common.included",
|
||||
defaultMessage: "Included",
|
||||
})
|
||||
return (
|
||||
<Tbody>
|
||||
<RegularRow label={adultsMsg} value={included} />
|
||||
@@ -115,6 +121,7 @@ export default function Breakfast({
|
||||
|
||||
const freeChildrenMsg = intl.formatMessage(
|
||||
{
|
||||
id: "priceDetails.breakfastChildrenDetails",
|
||||
defaultMessage:
|
||||
"Breakfast ({totalChildren, plural, one {# child} other {# children}}) x {totalBreakfasts}",
|
||||
},
|
||||
@@ -129,6 +136,7 @@ export default function Breakfast({
|
||||
<RegularRow
|
||||
label={intl.formatMessage(
|
||||
{
|
||||
id: "priceDetails.breakfastAdultsDetails",
|
||||
defaultMessage:
|
||||
"Breakfast ({totalAdults, plural, one {# adult} other {# adults}}) x {totalBreakfasts}",
|
||||
},
|
||||
@@ -140,6 +148,7 @@ export default function Breakfast({
|
||||
<RegularRow
|
||||
label={intl.formatMessage(
|
||||
{
|
||||
id: "priceDetails.breakfastChildrenDetails",
|
||||
defaultMessage:
|
||||
"Breakfast ({totalChildren, plural, one {# child} other {# children}}) x {totalBreakfasts}",
|
||||
},
|
||||
@@ -161,6 +170,7 @@ export default function Breakfast({
|
||||
<RegularRow
|
||||
label={intl.formatMessage(
|
||||
{
|
||||
id: "priceDetails.breakfastChildrenDetails",
|
||||
defaultMessage:
|
||||
"Breakfast ({totalChildren, plural, one {# child} other {# children}}) x {totalBreakfasts}",
|
||||
},
|
||||
@@ -179,6 +189,7 @@ export default function Breakfast({
|
||||
|
||||
if (breakfast === false) {
|
||||
const noBreakfast = intl.formatMessage({
|
||||
id: "common.noBreakfast",
|
||||
defaultMessage: "No breakfast",
|
||||
})
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user