fix(i18n): prepare for Lokalise
This commit is contained in:
@@ -25,7 +25,7 @@ export default async function IntroSection({
|
||||
const { streetAddress, city } = address
|
||||
const { distanceToCentre } = location
|
||||
const formattedDistanceText = intl.formatMessage(
|
||||
{ id: "{number} km to city centre" },
|
||||
{ id: "{number} km to city center" },
|
||||
{ number: getSingleDecimal(distanceToCentre / 1000) }
|
||||
)
|
||||
const lang = getLang()
|
||||
|
||||
@@ -54,7 +54,7 @@ export async function getSeatingText(roomSeating: number[]) {
|
||||
if (biggestSeating === smallestSeating) {
|
||||
seatingText = intl.formatMessage(
|
||||
{ id: "{value} persons" },
|
||||
{ number: biggestSeating }
|
||||
{ value: biggestSeating }
|
||||
)
|
||||
} else if (smallestSeating != null && biggestSeating) {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user