sourcegit/src/Models/Locales.cs

22 lines
484 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"),
new Locale("简体中文", "zh_CN"),
};
public Locale(string name, string key)
{
Name = name;
Key = key;
}
}
}