♻️ Refactored localization service
This commit is contained in:
12
DysonNetwork.Shared/Localization/LocalizationEntry.cs
Normal file
12
DysonNetwork.Shared/Localization/LocalizationEntry.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace DysonNetwork.Shared.Localization;
|
||||
|
||||
public class LocalizationEntry
|
||||
{
|
||||
public string Value { get; set; } = string.Empty;
|
||||
|
||||
public string? One { get; set; }
|
||||
|
||||
public string? Other { get; set; }
|
||||
|
||||
public bool IsPlural => One != null || Other != null;
|
||||
}
|
||||
Reference in New Issue
Block a user