diff --git a/web/components/profile-grid.tsx b/web/components/profile-grid.tsx index a61f97fe..c0876df2 100644 --- a/web/components/profile-grid.tsx +++ b/web/components/profile-grid.tsx @@ -11,6 +11,7 @@ import Link from "next/link"; import {Row} from "web/components/layout/row"; import {CompatibleBadge} from "web/components/widgets/compatible-badge"; import {useUser} from "web/hooks/use-user"; +import {useT} from "web/lib/locale"; export const ProfileGrid = (props: { profiles: Profile[] @@ -32,6 +33,7 @@ export const ProfileGrid = (props: { } = props const user = useUser() + const t = useT() const other_profiles = profiles.filter((profile) => profile.user_id !== user?.id); @@ -65,8 +67,8 @@ export const ProfileGrid = (props: { {!isLoadingMore && !isReloading && other_profiles.length === 0 && (
No profiles found.
-Feel free to click on Get Notified and we'll notify you when new users match your search!
+{t('profile_grid.no_profiles', 'No profiles found.')}
+{t('profile_grid.notification_cta', 'Feel free to click on Get Notified and we\'ll notify you when new users match your search!')}