sourcegit/src/Models/Locales.cs

25 lines
632 B
C#
Raw Normal View History

using System.Collections.Generic;
namespace SourceGit.Models
{
public class Locale
{
public string Name { get; set; }
public string Key { get; set; }
public static readonly List<Locale> Supported = new List<Locale>() {
new Locale("English", "en_US"),
2024-07-31 06:08:59 -07:00
new Locale("Português (Brasil)", "pt_BR"),
new Locale("简体中文", "zh_CN"),
new Locale("繁體中文", "zh_TW"),
2024-07-31 14:28:58 -07:00
new Locale("Deutsch", "de_DE")
};
public Locale(string name, string key)
{
Name = name;
Key = key;
}
}
}