2023-09-04 16:30:28 -04:00
|
|
|
namespace SabreTools.RedumpLib.Attributes
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Attribute specifc to Language values
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <remarks>
|
|
|
|
|
/// Some languages have multiple proper names. Should all be supported?
|
|
|
|
|
/// </remarks>
|
|
|
|
|
public class LanguageAttribute : HumanReadableAttribute
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ISO 639-1 Code
|
|
|
|
|
/// </summary>
|
2023-09-04 17:34:51 -04:00
|
|
|
public string? TwoLetterCode { get; set; }
|
2023-09-04 16:30:28 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ISO 639-2 Code (Standard or Bibliographic)
|
|
|
|
|
/// </summary>
|
2023-09-04 17:34:51 -04:00
|
|
|
public string? ThreeLetterCode { get; set; }
|
2023-09-04 16:30:28 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ISO 639-2 Code (Terminology)
|
|
|
|
|
/// </summary>
|
2023-09-04 17:34:51 -04:00
|
|
|
public string? ThreeLetterCodeAlt { get; set; }
|
2023-09-04 16:30:28 -04:00
|
|
|
}
|
|
|
|
|
}
|