Skip to content

Commit 3f13765

Browse files
committed
directely override vanilla sharedmap keyhint text rather than replace text field
1 parent 5d6badf commit 3f13765

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/Translations/English/BetterCartographyTable.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
"PinsToggle_PublicPins": "Public pins",
1111
"PinsToggle_GuildPins": "Guild pins",
12-
"PinsToggle_SharedExploration": "Shared exploration",
12+
"hud_sharedmap": "Shared exploration",
1313

1414
"MapTable_ToggleMode_GuildRequired": "You must join or create a guild first",
1515
"MapTable_ToggleMode_PopupHeader": "Cannot change sharing mode",

src/Translations/French/BetterCartographyTable.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
"PinsToggle_PublicPins": "Repères publics",
1111
"PinsToggle_GuildPins": "Repères de guilde",
12-
"PinsToggle_SharedExploration": "Exploration partagée",
12+
"hud_sharedmap": "Exploration partagée",
1313

1414
"MapTable_ToggleMode_GuildRequired": "Vous devez rejoindre ou créer une guilde d'abord",
1515
"MapTable_ToggleMode_PopupHeader": "Impossible de changer le mode de partage",

src/UI/MinimapUI.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ public static void HideTableUI()
7474
private static int s_togglesLastCheckActiveCount = -1;
7575
public static void UpdateToggles()
7676
{
77-
// replace Cartography Table toggle label with our own, since it's only a shared exploration toggle now
78-
instance.m_sharedMapHint.SetText("$PinsToggle_SharedExploration");
79-
8077
// update toggles positions based on active status
8178
var activeToggles = s_toggles.Where(gameObject => gameObject.activeInHierarchy);
8279
var activeCount = activeToggles.Count();

0 commit comments

Comments
 (0)