properly provide culture to welcome plugin ordinalize

This commit is contained in:
RaidMax 2022-01-27 21:19:05 -06:00
parent 6cfcce23cc
commit 73036dc1c7

View File

@ -94,7 +94,7 @@ namespace IW4MAdmin.Plugins.Welcome
msg = msg.Replace("{{ClientLocation}}", await GetCountryName(joining.IPAddressString));
}
msg = msg.Replace("{{TimesConnected}}", joining.Connections.Ordinalize());
msg = msg.Replace("{{TimesConnected}}", joining.Connections.Ordinalize(Utilities.CurrentLocalization.Culture));
return msg;
}