Sid Meier's Civilization VI

Sid Meier's Civilization VI

Better Visual Notifications +
Serp  [developer] 9 Mar, 2019 @ 5:57am
Bugs/Missing strings
Please report here all bugs and missing strings you encounter with as much information you have.

Currently I can not fix Gathering Storm related problems, but as soon as I own it (when it is on sale) I can work on the list to fix those.
< >
Showing 1-2 of 2 comments
Perry 9 Mar, 2019 @ 10:49am 
You should replace:

"GetLeaderTypeName" by "GetLeaderName"

"GetLeaderTypeName" returns "LEADER_ELEANOR_FRANCE"
"GetLeaderName" returns "LOC_LEADER_ELEANOR_FRANCE"

that is exactly what you want when you are localizing the name.


For example:

Replace

local leaderOne:string = PlayerConfigurations[PlayerID]:GetLeaderTypeName();
local civLeaderOne = Locale.Lookup("LOC_" .. leaderOne .. "_NAME");

By

local civLeaderOne:string = Locale.Lookup(PlayerConfigurations[PlayerID]:GetLeaderName());

Serp  [developer] 7 Apr, 2019 @ 10:35am 
the leadername problem should be fixed now.
< >
Showing 1-2 of 2 comments
Per page: 1530 50