Sid Meier's Civilization VI

Sid Meier's Civilization VI

Better Visual Notifications +
Serp  [udvikler] 9. mar. 2019 kl. 5:57
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.
< >
Viser 1-2 af 2 kommentarer
Perry 9. mar. 2019 kl. 10:49 
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  [udvikler] 7. apr. 2019 kl. 10:35 
the leadername problem should be fixed now.
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50