mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-10 23:47:21 -08:00
22 lines
533 B
C#
22 lines
533 B
C#
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"),
|
|
new Locale("繁體中文", "zh_TW"),
|
|
};
|
|
|
|
public Locale(string name, string key)
|
|
{
|
|
Name = name;
|
|
Key = key;
|
|
}
|
|
}
|
|
}
|