diff --git a/apps/web/components/booking/pages/BookingPage.tsx b/apps/web/components/booking/pages/BookingPage.tsx index 041e4c46..f55013ba 100644 --- a/apps/web/components/booking/pages/BookingPage.tsx +++ b/apps/web/components/booking/pages/BookingPage.tsx @@ -1,10 +1,4 @@ -import { - CalendarIcon, - ClockIcon, - CreditCardIcon, - ExclamationIcon, - LocationMarkerIcon, -} from "@heroicons/react/solid"; +import { CalendarIcon, ClockIcon, CreditCardIcon, ExclamationIcon } from "@heroicons/react/solid"; import { EventTypeCustomInputType } from "@prisma/client"; import { useContracts } from "contexts/contractsContext"; import dayjs from "dayjs"; @@ -330,26 +324,13 @@ const BookingPage = (props: BookingPageProps) => {
)} - {selectedLocation === LocationType.InPerson && ( -
-
-
- Requires ownership of a token belonging to the following address:{" "} - {eventType.metadata.smartContractAddress} + {t("requires_ownership_of_a_token") + " " + eventType.metadata.smartContractAddress}
)}{props.eventType.description}
@@ -368,7 +349,7 @@ const BookingPage = (props: BookingPageProps) => { id="name" required className="focus:border-brand block w-full rounded-sm border-gray-300 shadow-sm focus:ring-black dark:border-gray-900 dark:bg-black dark:text-white sm:text-sm" - placeholder="John Doe" + placeholder={t("example_name")} /> diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index dcce75d9..a603c0eb 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -652,5 +652,7 @@ "prisma_studio_tip": "Create an account via Prisma Studio", "prisma_studio_tip_description": "Learn how to set up your first user", "contact_sales": "Contact Sales", - "error_404": "Error 404" + "error_404": "Error 404", + "requires_ownership_of_a_token": "Requires ownership of a token belonging to the following address:", + "example_name": "John Doe" } \ No newline at end of file