CultureInfo zur Culture hinzugefügt und die Benutzeroberfläche aktualisiert, um den NativeName für eine verbesserte Lokalisierung anzuzeigen.
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
namespace EnvelopeGenerator.Web.Models
|
||||
using System.Globalization;
|
||||
|
||||
namespace EnvelopeGenerator.Web.Models
|
||||
{
|
||||
public class Culture
|
||||
{
|
||||
public string Language { get; init; } = string.Empty;
|
||||
private string _language = string.Empty;
|
||||
public string Language { get => _language;
|
||||
init {
|
||||
_language = value;
|
||||
Info = new(value);
|
||||
}
|
||||
}
|
||||
public string FIClass { get; init; } = string.Empty;
|
||||
|
||||
public CultureInfo? Info { get; init; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user