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:
@@ -19,10 +19,12 @@ export default function Breakfast() {
|
||||
)
|
||||
|
||||
let breakfastPrice = intl.formatMessage({
|
||||
id: "common.noBreakfast",
|
||||
defaultMessage: "No breakfast",
|
||||
})
|
||||
if (rateDefinition.breakfastIncluded) {
|
||||
breakfastPrice = intl.formatMessage({
|
||||
id: "common.included",
|
||||
defaultMessage: "Included",
|
||||
})
|
||||
} else if (breakfast) {
|
||||
@@ -34,6 +36,9 @@ export default function Breakfast() {
|
||||
)
|
||||
}
|
||||
|
||||
const title = intl.formatMessage({ defaultMessage: "Breakfast" })
|
||||
const title = intl.formatMessage({
|
||||
id: "common.breakfast",
|
||||
defaultMessage: "Breakfast",
|
||||
})
|
||||
return <Row icon="coffee" text={breakfastPrice} title={title} />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user