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

@@ -22,10 +22,10 @@ namespace OpenRA.Mods.Common.Widgets.Logic
// Increment the version number when adding new stats
const int IntroductionVersion = 1;
[TranslationReference]
[FluentReference]
const string Classic = "options-control-scheme.classic";
[TranslationReference]
[FluentReference]
const string Modern = "options-control-scheme.modern";
readonly string classic;
@@ -43,8 +43,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
var ds = Game.Settings.Graphics;
var gs = Game.Settings.Game;
classic = TranslationProvider.GetString(Classic);
modern = TranslationProvider.GetString(Modern);
classic = FluentProvider.GetString(Classic);
modern = FluentProvider.GetString(Modern);
var escPressed = false;
var nameTextfield = widget.Get<TextFieldWidget>("PLAYERNAME");