Skip to content

Commit

Permalink
switch from country code to country name
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpalpha committed Oct 18, 2024
1 parent bb7761d commit afc566f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/transfer/commons/transfer_row.lua
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function TransferRow:_convertToTransferStructure(data)

return Table.merge(self.baseData, {
player = player.pageIsResolved and player.pageName or mw.ext.TeamLiquidIntegration.resolve_redirect(player.pageName),
nationality = Flags.CountryCode(player.flag, 'alpha3'),
nationality = Flags.CountryName(player.flag),
role1 = self.baseData.role1 or self.baseData.fromteam and subs[1] and 'Substitute' or nil,
role2 = self.baseData.role2 or self.baseData.toteam and subs[2] and 'Substitute' or nil,
reference = self.references[data.index] or self.references.all or {reference1 = ''},
Expand Down

0 comments on commit afc566f

Please sign in to comment.