fix: add translations for tripadvisor and read more about hotel text

This commit is contained in:
Chuma McPhoy
2024-07-08 09:08:55 +02:00
parent cfc4aca561
commit 802c993797
7 changed files with 17 additions and 2 deletions

View File

@@ -33,7 +33,10 @@ export default async function IntroSection({
{ number: distanceToCentre }
)
const formattedLocationText = `${streetAddress}, ${city} (${formattedDistanceText})`
const formattedTripAdvisorText = `${tripAdvisor.rating} (${tripAdvisor.numberOfReviews} reviews on tripadvisor)`
const formattedTripAdvisorText = formatMessage(
{ id: "Tripadvisor reviews" },
{ rating: tripAdvisor.rating, count: tripAdvisor.numberOfReviews }
)
return (
<section className={styles.introSection}>
@@ -66,7 +69,7 @@ export default async function IntroSection({
href="#"
>
{/*TODO: Ask content team where this should link to. */}
Read more about the hotel
{formatMessage({ id: "Read more about the hotel" })}
<ArrowRight color="peach80" />
</Link>
</div>

View File

@@ -73,6 +73,7 @@
"Previous victories": "Tidligere sejre",
"points until next level": "point indtil næste niveau",
"Read more": "Læs mere",
"Read more about the hotel": "Læs mere om hotellet",
"Retype new password": "Gentag den nye adgangskode",
"Save": "Gemme",
"Select a country": "Vælg et land",
@@ -87,6 +88,7 @@
"Total Points": "Samlet antal point",
"Transaction date": "Overførselsdato",
"Transactions": "Transaktioner",
"Tripadvisor reviews": "{rating} ({count} anmeldelser på Tripadvisor)",
"to": "til",
"User information": "Brugeroplysninger",
"uppercase letter": "stort bogstav",

View File

@@ -73,6 +73,7 @@
"Previous victories": "Bisherige Siege",
"points until next level": "punkte bis zum nächsten Level",
"Read more": "Mehr lesen",
"Read more about the hotel": "Lesen Sie mehr über das Hotel",
"Retype new password": "Neues Passwort erneut eingeben",
"Save": "Speichern",
"Select a country": "Wähle ein Land",
@@ -87,6 +88,7 @@
"Total Points": "Gesamtpunktzahl",
"Transaction date": "Transaktionsdatum",
"Transactions": "Transaktionen",
"Tripadvisor reviews": "{rating} ({count} Bewertungen auf Tripadvisor)",
"to": "zu",
"User information": "Nutzerinformation",
"uppercase letter": "großbuchstabe",

View File

@@ -74,6 +74,7 @@
"Previous victories": "Previous victories",
"points until next level": "points until next level",
"Read more": "Read more",
"Read more about the hotel": "Read more about the hotel",
"Retype new password": "Retype new password",
"Save": "Save",
"Select a country": "Select a country",
@@ -88,6 +89,7 @@
"Total Points": "Total Points",
"Transaction date": "Transaction date",
"Transactions": "Transactions",
"Tripadvisor reviews": "{rating} ({count} reviews on Tripadvisor)",
"to": "to",
"User information": "User information",
"uppercase letter": "uppercase letter",

View File

@@ -73,6 +73,7 @@
"Previous victories": "Edelliset voitot",
"points until next level": "pisteitä seuraavalle tasolle",
"Read more": "Lue lisää",
"Read more about the hotel": "Lue lisää hotellista",
"Retype new password": "Kirjoita uusi salasana uudelleen",
"Save": "Tallentaa",
"Select a country": "Valitse maa",
@@ -87,6 +88,7 @@
"Total Points": "Kokonaispisteet",
"Transaction date": "Tapahtuman päivämäärä",
"Transactions": "Tapahtumat",
"Tripadvisor reviews": "{rating} ({count} arvostelua TripAdvisorissa)",
"to": "to",
"User information": "Käyttäjän tiedot",
"uppercase letter": "iso kirjain",

View File

@@ -73,6 +73,7 @@
"Previous victories": "Tidligere seire",
"points until next level": "poeng til neste nivå",
"Read more": "Les mer",
"Read more about the hotel": "Les mer om hotellet",
"Retype new password": "Skriv inn nytt passord på nytt",
"Save": "Lagre",
"Select a country": "Velg et land",
@@ -87,6 +88,7 @@
"Total Points": "Totale poeng",
"Transaction date": "Transaksjonsdato",
"Transactions": "Transaksjoner",
"Tripadvisor reviews": "{rating} ({count} anmeldelser på Tripadvisor)",
"to": "til",
"User information": "Brukerinformasjon",
"uppercase letter": "stor bokstav",

View File

@@ -73,6 +73,7 @@
"Previous victories": "Tidigare segrar",
"points until next level": "poäng till nästa nivå",
"Read more": "Läs mer",
"Read more about the hotel": "Läs mer om hotellet",
"Retype new password": "Upprepa nytt lösenord",
"Save": "Spara",
"Select a country": "Välj ett land",
@@ -87,6 +88,7 @@
"Total Points": "Total poäng",
"Transaction date": "Transaktionsdatum",
"Transactions": "Transaktioner",
"Tripadvisor reviews": "{rating} ({count} recensioner på Tripadvisor)",
"to": "till",
"User information": "Användar information",
"uppercase letter": "stor bokstav",