Remove FluentBundle.Arguments helper method.

This commit is contained in:
Paul Chote
2024-10-02 22:40:05 +01:00
committed by Gustas
parent b29b685058
commit d6285affec
71 changed files with 273 additions and 283 deletions

View File

@@ -22,7 +22,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
[ObjectCreator.UseCtor]
public KickClientLogic(Widget widget, string clientName, Action<bool> okPressed, Action cancelPressed)
{
var kickMessage = FluentProvider.GetString(KickClient, FluentBundle.Arguments("player", clientName));
var kickMessage = FluentProvider.GetString(KickClient, "player", clientName);
widget.Get<LabelWidget>("TITLE").GetText = () => kickMessage;
var tempBan = false;