From 3fdaeab6a7fa19b0c5424de487efc37c0994c86e Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 7 Jul 2025 13:09:13 +0200 Subject: More localization and map preferences --- Map/Presentation/Base Components/MapRender/MapAxes.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Map/Presentation/Base Components/MapRender/MapAxes.swift') diff --git a/Map/Presentation/Base Components/MapRender/MapAxes.swift b/Map/Presentation/Base Components/MapRender/MapAxes.swift index 3a94a13..d9fe189 100644 --- a/Map/Presentation/Base Components/MapRender/MapAxes.swift +++ b/Map/Presentation/Base Components/MapRender/MapAxes.swift @@ -36,12 +36,12 @@ struct MapAxes: View { }.stroke(Color.Theme.Map.axisColor, lineWidth: lineWidth * 2) // Y Labels - Text("Visible").font(.Theme.Map.axisLabel).foregroundColor(.Theme.Map.labelColor) + Text("map.axis.y.top").font(.Theme.Map.axisLabel).foregroundColor(.Theme.Map.labelColor) .rotationEffect( Angle(degrees: -90.0) ) .offset(CGSize(width: -35.0, height: 0.0)) - Text("Invisible").font(.Theme.Map.axisLabel).foregroundColor(.Theme.Map.labelColor) + Text("map.axis.y.bottom").font(.Theme.Map.axisLabel).foregroundColor(.Theme.Map.labelColor) .rotationEffect( Angle(degrees: -90.0) ) @@ -49,12 +49,12 @@ struct MapAxes: View { // X Labels - Text("Uncharted") + Text("map.axis.x.leading") .font(.Theme.Map.axisLabel) .foregroundColor(.Theme.Map.labelColor) .frame(width: mapSize.width / 4, height: stageHeight / 2.0, alignment: .topLeading) .offset(CGSize(width: 0.0, height: -stageHeight / 4.0)) - Text("Industrialised") + Text("map.axis.x.trailing") .font(.Theme.Map.axisLabel) .foregroundColor(.Theme.Map.labelColor) .frame(width: mapSize.width / 4, height: stageHeight / 2.0, alignment: .topLeading) -- cgit