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:
@@ -58,6 +58,7 @@ export default function MobileToggleButton({
|
||||
|
||||
const totalNightsMsg = intl.formatMessage(
|
||||
{
|
||||
id: "booking.numberOfNights",
|
||||
defaultMessage: "{totalNights, plural, one {# night} other {# nights}}",
|
||||
},
|
||||
{ totalNights }
|
||||
@@ -65,21 +66,23 @@ export default function MobileToggleButton({
|
||||
|
||||
const totalAdultsMsg = intl.formatMessage(
|
||||
{
|
||||
defaultMessage: "{totalAdults, plural, one {# adult} other {# adults}}",
|
||||
id: "booking.numberOfAdults",
|
||||
defaultMessage: "{adults, plural, one {# adult} other {# adults}}",
|
||||
},
|
||||
{ totalAdults }
|
||||
{ adults: totalAdults }
|
||||
)
|
||||
|
||||
const totalChildrenMsg = intl.formatMessage(
|
||||
{
|
||||
defaultMessage:
|
||||
"{totalChildren, plural, one {# child} other {# children}}",
|
||||
id: "booking.numberOfChildren",
|
||||
defaultMessage: "{children, plural, one {# child} other {# children}}",
|
||||
},
|
||||
{ totalChildren }
|
||||
{ children: totalChildren }
|
||||
)
|
||||
|
||||
const totalRoomsMsg = intl.formatMessage(
|
||||
{
|
||||
id: "booking.numberOfRooms",
|
||||
defaultMessage: "{totalRooms, plural, one {# room} other {# rooms}}",
|
||||
},
|
||||
{ totalRooms }
|
||||
@@ -102,6 +105,7 @@ export default function MobileToggleButton({
|
||||
<Typography variant={"Body/Supporting text (caption)/smBold"}>
|
||||
<span className={styles.blockLabel}>
|
||||
{intl.formatMessage({
|
||||
id: "bookingWidget.label.whereTo",
|
||||
defaultMessage: "Where to?",
|
||||
})}
|
||||
</span>
|
||||
@@ -111,6 +115,7 @@ export default function MobileToggleButton({
|
||||
{searchTerm
|
||||
? searchTerm
|
||||
: intl.formatMessage({
|
||||
id: "bookingWidget.label.destination",
|
||||
defaultMessage: "Destination",
|
||||
})}
|
||||
</span>
|
||||
@@ -126,6 +131,7 @@ export default function MobileToggleButton({
|
||||
<span className={styles.placeholder}>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "booking.selectedDateRange",
|
||||
defaultMessage: "{selectedFromDate} – {selectedToDate}",
|
||||
},
|
||||
{
|
||||
@@ -152,6 +158,7 @@ export default function MobileToggleButton({
|
||||
<span className={styles.locationAndDate}>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "bookingWidget.mobile.selectedSummary",
|
||||
defaultMessage:
|
||||
"{selectedFromDate} – {selectedToDate} ({totalNights}) {details}",
|
||||
},
|
||||
@@ -183,6 +190,7 @@ export function MobileToggleButtonSkeleton() {
|
||||
<Typography variant={"Body/Supporting text (caption)/smBold"}>
|
||||
<span className={styles.blockLabel}>
|
||||
{intl.formatMessage({
|
||||
id: "bookingWidget.label.whereTo",
|
||||
defaultMessage: "Where to?",
|
||||
})}
|
||||
</span>
|
||||
@@ -195,6 +203,7 @@ export function MobileToggleButtonSkeleton() {
|
||||
<span className={styles.blockLabel}>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "booking.numberOfNights",
|
||||
defaultMessage:
|
||||
"{totalNights, plural, one {# night} other {# nights}}",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user