Merge pull request #151 from Zagrios/bugfix/bug-header-of-maps-tab-not-translated/150

bugfix/fix-shared-maps-page-title-not-translated/150
This commit is contained in:
MathieuG-P
2023-03-01 01:07:25 +01:00
committed by GitHub
4 changed files with 15 additions and 1 deletions
+4
View File
@@ -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",
+3
View File
@@ -18,6 +18,9 @@
"settings": "Ajustes"
},
"pages": {
"shared-maps":{
"title": "Mapas comunes"
},
"version-viewer": {
"launch-mods": {
"oculus": "Oculus Mod",
+3
View File
@@ -18,6 +18,9 @@
"settings": "Paramètres"
},
"pages": {
"shared-maps":{
"title": "Maps partagées"
},
"version-viewer": {
"launch-mods": {
"oculus": "Mode Oculus",
+5 -1
View File
@@ -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 (
<div className="w-full h-full flex items-center flex-col pt-2">
<Slideshow className="absolute w-full h-full top-0"/>
<h1 className="text-gray-100 text-2xl z-[1]">Maps partagées</h1>
<h1 className="text-gray-100 text-2xl z-[1]">{t("pages.shared-maps.title")}</h1>
<div className="w-full min-h-0 grow p-10 flex flex-col items-center justify-start text-white relative">
<MapsPlaylistsPanel/>
</div>