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,19 +22,19 @@ namespace OpenRA.Mods.Common.Widgets.Logic
sealed class GameInfoLogic : ChromeLogic
{
[TranslationReference]
[FluentReference]
const string Objectives = "menu-game-info.objectives";
[TranslationReference]
[FluentReference]
const string Briefing = "menu-game-info.briefing";
[TranslationReference]
[FluentReference]
const string Options = "menu-game-info.options";
[TranslationReference]
[FluentReference]
const string Debug = "menu-game-info.debug";
[TranslationReference]
[FluentReference]
const string Chat = "menu-game-info.chat";
readonly World world;
@@ -108,7 +108,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
if (tabButton != null)
{
var tabButtonText = TranslationProvider.GetString(label);
var tabButtonText = FluentProvider.GetString(label);
tabButton.GetText = () => tabButtonText;
tabButton.OnClick = () =>
{