Files
mixtape/Finch/Localization/Models/Translation.cs
T
2026-04-07 14:23:29 +02:00

26 lines
433 B
C#

namespace Finch.Localization;
public record Translation
{
/// <summary>
/// Key of the translation
/// </summary>
public string Key { get; set; }
/// <summary>
/// Value of the translation
/// </summary>
public string Value { get; set; }
/// <summary>
/// Display + input type
/// </summary>
public TranslationDisplay Display { get; set; }
}
public enum TranslationDisplay
{
Text = 0,
Html = 1
}