mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-28 11:44:48 +03:00
Add GPL modules
This commit is contained in:
52
MediaBrowser.Model/Globalization/CultureDto.cs
Normal file
52
MediaBrowser.Model/Globalization/CultureDto.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using global::System;
|
||||
|
||||
namespace MediaBrowser.Model.Globalization
|
||||
{
|
||||
/// <summary>
|
||||
/// Class CultureDto
|
||||
/// </summary>
|
||||
public class CultureDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the display name.
|
||||
/// </summary>
|
||||
/// <value>The display name.</value>
|
||||
public string DisplayName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the two letter ISO language.
|
||||
/// </summary>
|
||||
/// <value>The name of the two letter ISO language.</value>
|
||||
public string TwoLetterISOLanguageName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the three letter ISO language.
|
||||
/// </summary>
|
||||
/// <value>The name of the three letter ISO language.</value>
|
||||
public string ThreeLetterISOLanguageName
|
||||
{
|
||||
get
|
||||
{
|
||||
var vals = ThreeLetterISOLanguageNames;
|
||||
if (vals.Length > 0)
|
||||
{
|
||||
return vals[0];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public string[] ThreeLetterISOLanguageNames { get; set; }
|
||||
|
||||
public CultureDto()
|
||||
{
|
||||
ThreeLetterISOLanguageNames = new string[] {};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user