Skip to content

Commit 26cc57c

Browse files
authored
Merge pull request #34 from Manuel10i/conv/destination-intro-quiet-window
2 parents 321e8cb + e424d6b commit 26cc57c

5 files changed

Lines changed: 22 additions & 10 deletions

File tree

src/app/(marketing)/destination/[slug]/page.tsx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,20 @@ export default async function DestinationPage({
271271
<p className="mt-5 max-w-2xl text-lg leading-relaxed text-ink-muted">
272272
{yearRound
273273
? t("introYearRound", { name: displayName, category, country })
274-
: t("intro", {
275-
name: displayName,
276-
category,
277-
country,
278-
months: joinList(locale, busiest),
279-
})}
274+
: hasQuiet
275+
? t("intro", {
276+
name: displayName,
277+
category,
278+
country,
279+
months: joinList(locale, busiest),
280+
quiet: joinList(locale, quietest),
281+
})
282+
: t("introNoQuiet", {
283+
name: displayName,
284+
category,
285+
country,
286+
months: joinList(locale, busiest),
287+
})}
280288
</p>
281289
<div className="mt-6">
282290
<DestinationActions

src/messages/de.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,8 @@
453453
"metaDescription": "Ist {name} voll? Am vollsten wird es in {months}. Sieh dir den Andrang in {name} Monat für Monat an und finde die ruhigste Reisezeit.",
454454
"metaDescriptionYearRound": "Ist {name} voll? Andrang herrscht das ganze Jahr. Sieh dir den Andrang in {name} Monat für Monat an und finde vorab die ruhigsten Zeiten.",
455455
"h1": "Beste Reisezeit für {name} (und wann es voll ist)",
456-
"intro": "{name} ist ein Reiseziel der Kategorie {category} in {country}. Die Hauptsaison ist {months}. So voll wird es übers Jahr, damit du den richtigen Zeitpunkt wählen kannst.",
456+
"intro": "{name} ist ein Reiseziel der Kategorie {category} in {country}. Die Hauptsaison ist {months}, am ruhigsten ist es im {quiet}. So voll wird es übers Jahr, damit du den richtigen Zeitpunkt wählen kannst.",
457+
"introNoQuiet": "{name} ist ein Reiseziel der Kategorie {category} in {country}. Die Hauptsaison ist {months}. So voll wird es übers Jahr, damit du den richtigen Zeitpunkt wählen kannst.",
457458
"introYearRound": "{name} ist ein Reiseziel der Kategorie {category} in {country} und ganzjährig gut besucht. So verschieben sich die Menschenmengen über die Monate.",
458459
"calendarHeading": "Andrang nach Monat",
459460
"monthByMonthHeading": "{name} Monat für Monat",

src/messages/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,8 @@
453453
"metaDescription": "Is {name} busy? Peak crowds hit in {months}. See {name}’s month-by-month crowd calendar and find the quietest time to visit.",
454454
"metaDescriptionYearRound": "Is {name} busy? It draws crowds all year. See {name}’s month-by-month crowd calendar and find its calmest stretches before you go.",
455455
"h1": "Best time to visit {name} (and when it is crowded)",
456-
"intro": "{name} is a {category} destination in {country}. Its peak season is {months}. Here is how busy it gets across the year, so you can pick the right time to go.",
456+
"intro": "{name} is a {category} destination in {country}. Its peak season is {months}, and it is least crowded in {quiet}. Here is how busy it gets across the year, so you can pick the right time to go.",
457+
"introNoQuiet": "{name} is a {category} destination in {country}. Its peak season is {months}. Here is how busy it gets across the year, so you can pick the right time to go.",
457458
"introYearRound": "{name} is a {category} destination in {country} that stays busy year-round. Here is how the crowds shift across the months.",
458459
"calendarHeading": "Crowd levels by month",
459460
"monthByMonthHeading": "{name} month by month",

src/messages/es.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,8 @@
453453
"metaDescription": "¿Está lleno {name}? Las aglomeraciones llegan en {months}. Consulta mes a mes la afluencia de {name} y encuentra la época más tranquila para visitarlo.",
454454
"metaDescriptionYearRound": "¿Está lleno {name}? Hay afluencia todo el año. Consulta mes a mes la afluencia de {name} y encuentra sus momentos más tranquilos antes de ir.",
455455
"h1": "Mejor época para visitar {name} (y cuándo hay aglomeraciones)",
456-
"intro": "{name} es un destino de {category} en {country}. Su temporada alta es {months}. Así de concurrido está durante el año, para que elijas el mejor momento para ir.",
456+
"intro": "{name} es un destino de {category} en {country}. Su temporada alta es {months} y está menos concurrido en {quiet}. Así de concurrido está durante el año, para que elijas el mejor momento para ir.",
457+
"introNoQuiet": "{name} es un destino de {category} en {country}. Su temporada alta es {months}. Así de concurrido está durante el año, para que elijas el mejor momento para ir.",
457458
"introYearRound": "{name} es un destino de {category} en {country} que está concurrido todo el año. Así cambian las aglomeraciones a lo largo de los meses.",
458459
"calendarHeading": "Nivel de aglomeración por mes",
459460
"monthByMonthHeading": "{name} mes a mes",

src/messages/fr.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,8 @@
453453
"metaDescription": "Y a-t-il foule à {name} ? L’affluence culmine en {months}. Consultez l’affluence de {name} mois par mois et trouvez la période la plus calme pour visiter.",
454454
"metaDescriptionYearRound": "Y a-t-il foule à {name} ? L’affluence dure toute l’année. Consultez l’affluence de {name} mois par mois et trouvez ses moments les plus calmes avant de partir.",
455455
"h1": "Meilleure période pour visiter {name} (et quand il y a foule)",
456-
"intro": "{name} est une destination de type {category} en {country}. Sa haute saison est {months}. Voici sa fréquentation au fil des mois, pour choisir le bon moment pour partir.",
456+
"intro": "{name} est une destination de type {category} en {country}. Sa haute saison est {months}, et l’affluence est la plus faible en {quiet}. Voici sa fréquentation au fil des mois, pour choisir le bon moment pour partir.",
457+
"introNoQuiet": "{name} est une destination de type {category} en {country}. Sa haute saison est {months}. Voici sa fréquentation au fil des mois, pour choisir le bon moment pour partir.",
457458
"introYearRound": "{name} est une destination de type {category} en {country}, fréquentée en permanence. Voici comment la foule évolue au fil des mois.",
458459
"calendarHeading": "Niveau de fréquentation par mois",
459460
"monthByMonthHeading": "{name} mois par mois",

0 commit comments

Comments
 (0)