diff --git a/assets/jsons/translations/en.json b/assets/jsons/translations/en.json index 712517ca..f7797fc9 100644 --- a/assets/jsons/translations/en.json +++ b/assets/jsons/translations/en.json @@ -18,6 +18,9 @@ "settings": "Settings" }, "pages": { + "shared-maps":{ + "title": "Shared maps" + }, "version-viewer": { "launch-mods": { "oculus": "Oculus Mod", @@ -28,6 +31,7 @@ "debug-description": "Enables the output log window for IPA. This will show the debug console that mods use." }, "maps": { + "title": "Shared maps", "search-bar": { "search-placeholder": "Search a map", "filters-btn": "Filters", diff --git a/assets/jsons/translations/es.json b/assets/jsons/translations/es.json index f4949e43..d73d295f 100644 --- a/assets/jsons/translations/es.json +++ b/assets/jsons/translations/es.json @@ -18,6 +18,9 @@ "settings": "Ajustes" }, "pages": { + "shared-maps":{ + "title": "Mapas comunes" + }, "version-viewer": { "launch-mods": { "oculus": "Oculus Mod", diff --git a/assets/jsons/translations/fr.json b/assets/jsons/translations/fr.json index a49483d6..3a74144f 100644 --- a/assets/jsons/translations/fr.json +++ b/assets/jsons/translations/fr.json @@ -18,6 +18,9 @@ "settings": "Paramètres" }, "pages": { + "shared-maps":{ + "title": "Maps partagées" + }, "version-viewer": { "launch-mods": { "oculus": "Mode Oculus", diff --git a/src/renderer/pages/maps-page.component.tsx b/src/renderer/pages/maps-page.component.tsx index ac26419f..4bc99672 100644 --- a/src/renderer/pages/maps-page.component.tsx +++ b/src/renderer/pages/maps-page.component.tsx @@ -1,11 +1,15 @@ import { MapsPlaylistsPanel } from "renderer/components/maps-mangement-components/maps-playlists-panel.component"; import { Slideshow } from "renderer/components/slideshow/slideshow.component"; +import { useTranslation } from "renderer/hooks/use-translation.hook"; export function MapsPage() { + + const t = useTranslation(); + return (
-

Maps partagées

+

{t("pages.shared-maps.title")}