Rename Fluent-related code to be more precise.
This commit is contained in:
@@ -16,13 +16,13 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{
|
||||
sealed class KickSpectatorsLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference("count")]
|
||||
[FluentReference("count")]
|
||||
const string KickSpectators = "dialog-kick-spectators.prompt";
|
||||
|
||||
[ObjectCreator.UseCtor]
|
||||
public KickSpectatorsLogic(Widget widget, int clientCount, Action okPressed, Action cancelPressed)
|
||||
{
|
||||
var kickMessage = TranslationProvider.GetString(KickSpectators, Translation.Arguments("count", clientCount));
|
||||
var kickMessage = FluentProvider.GetString(KickSpectators, FluentBundle.Arguments("count", clientCount));
|
||||
widget.Get<LabelWidget>("TEXT").GetText = () => kickMessage;
|
||||
|
||||
widget.Get<ButtonWidget>("OK_BUTTON").OnClick = () =>
|
||||
|
||||
Reference in New Issue
Block a user