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:
@@ -83,17 +83,20 @@ export default function CampaignHotelListingClient({
|
||||
}
|
||||
|
||||
let buttonText = intl.formatMessage({
|
||||
id: "common.showMore",
|
||||
defaultMessage: "Show more",
|
||||
})
|
||||
let iconDirection: MaterialIconProps["icon"] = "keyboard_arrow_down"
|
||||
|
||||
if (visibleCount === activeHotels.length) {
|
||||
buttonText = intl.formatMessage({
|
||||
id: "common.showLess",
|
||||
defaultMessage: "Show less",
|
||||
})
|
||||
iconDirection = "keyboard_arrow_up"
|
||||
} else if (canShowAll) {
|
||||
buttonText = intl.formatMessage({
|
||||
id: "common.showAll",
|
||||
defaultMessage: "Show all",
|
||||
})
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@ export default function HotelListingItem({
|
||||
sizes="(min-width: 768px) 450px, 100vw"
|
||||
title={intl.formatMessage(
|
||||
{
|
||||
id: "common.imageGalleryWithTitle",
|
||||
defaultMessage: "{title} - Image gallery",
|
||||
},
|
||||
{ title: hotel.name }
|
||||
@@ -77,6 +78,7 @@ export default function HotelListingItem({
|
||||
<span>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "common.kmToCityCenter",
|
||||
defaultMessage: "{number} km to city center",
|
||||
},
|
||||
{
|
||||
@@ -121,6 +123,7 @@ export default function HotelListingItem({
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
>
|
||||
{intl.formatMessage({
|
||||
id: "destination.seeHotelDetails",
|
||||
defaultMessage: "See hotel details",
|
||||
})}
|
||||
</ButtonLink>
|
||||
|
||||
@@ -46,13 +46,15 @@ export default async function CampaignHotelListing({
|
||||
const sortItems: HotelSortItem[] = [
|
||||
{
|
||||
label: intl.formatMessage({
|
||||
id: "common.name",
|
||||
defaultMessage: "Name",
|
||||
}),
|
||||
value: HotelSortOption.Name,
|
||||
},
|
||||
{
|
||||
label: intl.formatMessage({
|
||||
defaultMessage: "Tripadvisor rating",
|
||||
id: "common.tripAdvisorRating",
|
||||
defaultMessage: "TripAdvisor rating",
|
||||
}),
|
||||
value: HotelSortOption.TripAdvisorRating,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user