Rename Fluent-related code to be more precise.

This commit is contained in:
Paul Chote
2024-10-01 19:34:12 +01:00
committed by Gustas
parent 771b9ddfda
commit b29b685058
176 changed files with 1349 additions and 1369 deletions

View File

@@ -16,13 +16,13 @@ namespace OpenRA.Mods.Common.Widgets.Logic
{
sealed class KickClientLogic : ChromeLogic
{
[TranslationReference("player")]
[FluentReference("player")]
const string KickClient = "dialog-kick-client.prompt";
[ObjectCreator.UseCtor]
public KickClientLogic(Widget widget, string clientName, Action<bool> okPressed, Action cancelPressed)
{
var kickMessage = TranslationProvider.GetString(KickClient, Translation.Arguments("player", clientName));
var kickMessage = FluentProvider.GetString(KickClient, FluentBundle.Arguments("player", clientName));
widget.Get<LabelWidget>("TITLE").GetText = () => kickMessage;
var tempBan = false;