Rename Localized to Fluent.

This commit is contained in:
Paul Chote
2024-10-02 22:43:57 +01:00
committed by Gustas
parent d6285affec
commit 464e0dc7d2
11 changed files with 98 additions and 98 deletions

View File

@@ -586,11 +586,11 @@ namespace OpenRA.Traits
IReadOnlyDictionary<string, string> values, string defaultValue, bool locked)
{
Id = id;
Name = map.GetLocalisedString(name);
Description = description != null ? map.GetLocalisedString(description).Replace(@"\n", "\n") : null;
Name = map.GetString(name);
Description = description != null ? map.GetString(description).Replace(@"\n", "\n") : null;
IsVisible = visible;
DisplayOrder = displayorder;
Values = values.ToDictionary(v => v.Key, v => map.GetLocalisedString(v.Value));
Values = values.ToDictionary(v => v.Key, v => map.GetString(v.Value));
DefaultValue = defaultValue;
IsLocked = locked;
}