Localization of encryption keys (#30172)

* Localization of encryption keys

* Localization of encryption keys update
This commit is contained in:
chavonadelal
2024-07-20 19:14:41 +03:00
committed by GitHub
parent 297baaca23
commit c89186a26f
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ public sealed partial class RadioChannelPrototype : IPrototype
/// Human-readable name for the channel.
/// </summary>
[DataField("name")]
public string Name { get; private set; } = string.Empty;
public LocId Name { get; private set; } = string.Empty;
[ViewVariables(VVAccess.ReadOnly)]
public string LocalizedName => Loc.GetString(Name);