Merged in fix/labels-english (pull request #1249)
fix(i18n): validated English messages Approved-by: Bianca Widstam Approved-by: Christian Andolf
This commit is contained in:
@@ -177,7 +177,7 @@ export default function Search({ locations, handlePressEnter }: SearchProps) {
|
||||
}, [location])
|
||||
|
||||
function getLocationLabel(): string {
|
||||
const fallbackLabel = intl.formatMessage({ id: "Where to" })
|
||||
const fallbackLabel = intl.formatMessage({ id: "Where to?" })
|
||||
if (location?.type === "hotels") {
|
||||
return location?.relationships?.city?.name || fallbackLabel
|
||||
}
|
||||
@@ -230,7 +230,7 @@ export default function Search({ locations, handlePressEnter }: SearchProps) {
|
||||
openMenu()
|
||||
},
|
||||
placeholder: intl.formatMessage({
|
||||
id: "Destinations & hotels",
|
||||
id: "Hotels & Destinations",
|
||||
}),
|
||||
...register(name, {
|
||||
onChange: handleOnChange,
|
||||
@@ -267,7 +267,7 @@ export function SearchSkeleton() {
|
||||
<div className={styles.container}>
|
||||
<div className={styles.label}>
|
||||
<Caption type="bold" color="red" asChild>
|
||||
<span>{intl.formatMessage({ id: "Where to" })}</span>
|
||||
<span>{intl.formatMessage({ id: "Where to?" })}</span>
|
||||
</Caption>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user