Skip to content

Commit

Permalink
Localize region name in "Where am I?" and tdbg strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Interkarma committed Nov 24, 2022
1 parent 53447a1 commit 56bf64c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/Scripts/Game/TalkManager.cs
Expand Up @@ -1522,7 +1522,7 @@ public string GetAnswerWhereAmI()
}
else
{
return string.Format(TextManager.Instance.GetLocalizedText("AnswerTextWhereAmI"), GameManager.Instance.PlayerGPS.CurrentLocation.Name, GameManager.Instance.PlayerGPS.CurrentRegionName);
return string.Format(TextManager.Instance.GetLocalizedText("AnswerTextWhereAmI"), GameManager.Instance.PlayerGPS.CurrentLocation.Name, GameManager.Instance.PlayerGPS.CurrentLocalizedRegionName);
}
return TextManager.Instance.GetLocalizedText("resolvingError");
}
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Terrain/StreamingWorld.cs
Expand Up @@ -1698,7 +1698,7 @@ private string GetDebugString()
MapPixelY,
LocalPlayerGPS.WorldX,
LocalPlayerGPS.WorldZ,
LocalPlayerGPS.CurrentRegionName,
LocalPlayerGPS.CurrentLocalizedRegionName,
LocalPlayerGPS.ClimateSettings.ClimateType.ToString());
if (LocalPlayerGPS.CurrentLocation.Loaded)
{
Expand Down

0 comments on commit 56bf64c

Please sign in to comment.