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

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
{
public class ModContentLogic : ChromeLogic
{
[TranslationReference]
[FluentReference]
const string ManualInstall = "button-manual-install";
readonly ModContent content;
@@ -144,7 +144,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
requiresSourceWidget.IsVisible = () => !installed && !downloadEnabled;
if (!isSourceAvailable)
{
var manualInstall = TranslationProvider.GetString(ManualInstall);
var manualInstall = FluentProvider.GetString(ManualInstall);
requiresSourceWidget.GetText = () => manualInstall;
}